]> git.sur5r.net Git - openldap/commitdiff
Fix to avoid freeing an uninitialized pointer
authorHoward Chu <hyc@openldap.org>
Fri, 5 Nov 1999 22:45:43 +0000 (22:45 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 5 Nov 1999 22:45:43 +0000 (22:45 +0000)
servers/slapd/bind.c

index 3be31a9ad39820a85e8eb43c24929a641548f2aa..449c820b8ff315fc9cbfc346086f5c73709dbf8a 100644 (file)
@@ -283,7 +283,7 @@ do_bind(
 
        if ( be->be_bind ) {
                /* alias suffix */
-               char *edn;
+               char *edn = NULL;
 
                /* deref suffix alias if appropriate */
                ndn = suffix_alias( be, ndn );