]> git.sur5r.net Git - openldap/commitdiff
fix use of uninitialized var
authorPierangelo Masarati <ando@openldap.org>
Wed, 12 Jan 2005 15:11:17 +0000 (15:11 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 12 Jan 2005 15:11:17 +0000 (15:11 +0000)
servers/slapd/back-bdb/search.c

index 58370ac4b16d02e2cf00ed07497f98e7f73ce127..59f9646ed05cb6e3233badb32c997db4448519ab 100644 (file)
@@ -835,7 +835,7 @@ dn2entry_retry:
                struct berval matched_dn = BER_BVNULL;
 
                if ( matched != NULL ) {
-                       BerVarray erefs;
+                       BerVarray erefs = NULL;
 
                        if ( ! access_allowed( op, matched,
                                                slap_schema.si_ad_entry,