]> git.sur5r.net Git - openldap/commitdiff
Fix uninitialized pointer bug.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 23 Oct 1998 21:51:32 +0000 (21:51 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 23 Oct 1998 21:51:32 +0000 (21:51 +0000)
servers/slapd/str2filter.c

index aca9674fd846519207cd3e26d05a867f00419c45..cf95d922e8a081e832ae01ebd72c7b7a7af2a09c 100644 (file)
@@ -14,7 +14,7 @@ static int    str2subvals();
 Filter *
 str2filter( char *str )
 {
-       Filter  *f;
+       Filter  *f = NULL;
        char    *end;
 
        Debug( LDAP_DEBUG_FILTER, "str2filter \"%s\"\n", str, 0, 0 );