]> git.sur5r.net Git - openldap/commitdiff
set o_callback to NULL for read entry callback, avoids crash in replog callback
authorLuke Howard <lukeh@openldap.org>
Sat, 23 Jul 2005 11:55:09 +0000 (11:55 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 23 Jul 2005 11:55:09 +0000 (11:55 +0000)
servers/slapd/result.c

index 9262bfccafdbf5e76b2228490d3b17aad5d23016..9535211c8a7f0a2bc6a2a2068afdb1df9ecf8cd6 100644 (file)
@@ -1431,6 +1431,7 @@ int slap_read_controls(
        myop = *op;
        myop.o_bd = NULL;
        myop.o_res_ber = ber;
+       myop.o_callback = NULL;
 
        rc = slap_send_search_entry( &myop, rs );
        if( rc ) return rc;