From fcedf5bf83da6aacb46ab0a64b7ed03c0544c007 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 4 Sep 2008 16:05:55 +0000 Subject: [PATCH] don't dereference NULL pointer --- servers/slapd/bconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index fe8347478e..63d2b0ec90 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -5245,7 +5245,7 @@ config_back_delete( Operation *op, SlapReply *rs ) if ( last ) rs->sr_matched = last->ce_entry->e_name.bv_val; rs->sr_err = LDAP_NO_SUCH_OBJECT; - } if ( ce->ce_kids ) { + } else if ( ce->ce_kids ) { rs->sr_err = LDAP_UNWILLING_TO_PERFORM; } else if ( ce->ce_type == Cft_Overlay ){ char *iptr; -- 2.39.5