From: Ralf Haferkamp Date: Wed, 30 Jan 2008 14:45:35 +0000 (+0000) Subject: error out if modify_delete_vindex() fails (ITS#5343) X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~200 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1af03ee2c73f8d984a99b1525c5737b025cb0816;p=openldap error out if modify_delete_vindex() fails (ITS#5343) --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 457bcfd3f6..7a15d42177 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -4705,6 +4705,7 @@ config_modify_internal( CfEntryInfo *ce, Operation *op, SlapReply *rs, rc = modify_delete_vindex(e, &ml->sml_mod, get_permissiveModify(op), &rs->sr_text, ca->cr_msg, sizeof(ca->cr_msg), idx ); + if ( rc ) goto out_noop; if ( ml->sml_op == LDAP_MOD_REPLACE ) { ml->sml_values = vals; ml->sml_nvalues = nvals;