]> git.sur5r.net Git - openldap/commitdiff
Entry *e could be freed uninitialized after goto return_results;
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 2 May 2003 13:24:44 +0000 (13:24 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 2 May 2003 13:24:44 +0000 (13:24 +0000)
servers/slapd/back-bdb/compare.c

index 3c650cae32136ba5483b726c5dac311617b0d262..e3323b4d3a7c294a14b559200f213809a25b0825 100644 (file)
@@ -17,7 +17,7 @@ int
 bdb_compare( Operation *op, SlapReply *rs )
 {
        struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
-       Entry           *e;
+       Entry           *e = NULL;
        EntryInfo       *ei;
        Attribute       *a;
        int             manageDSAit = get_manageDSAit( op );