From: Ralf Haferkamp Date: Thu, 4 Sep 2008 16:05:55 +0000 (+0000) Subject: don't dereference NULL pointer X-Git-Tag: ACLCHECK_0~1381 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fcedf5bf83da6aacb46ab0a64b7ed03c0544c007;p=openldap don't dereference NULL pointer --- 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;