]> git.sur5r.net Git - openldap/commitdiff
detect problems in saslauthz
authorPierangelo Masarati <ando@openldap.org>
Mon, 1 Dec 2003 07:59:30 +0000 (07:59 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 1 Dec 2003 07:59:30 +0000 (07:59 +0000)
servers/slapd/back-bdb/search.c

index 76f0dbec4ba4afff7f0a40ad10e603523182ef48..701b04918dfc0caaf4ebf29840b4691b77dff474 100644 (file)
@@ -1547,6 +1547,8 @@ static int oc_filter(
 {
        int rc = 0;
 
+       assert( f );
+
        if( cur > *max ) *max = cur;
 
        switch(f->f_choice) {