mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#7065 fix cn=config modify replace/delete crash
This commit is contained in:
parent
4045cd1dc0
commit
ddaea1cf73
@ -5818,6 +5818,8 @@ config_modify_internal( CfEntryInfo *ce, Operation *op, SlapReply *rs,
|
||||
/* FALLTHRU: LDAP_MOD_REPLACE && vals */
|
||||
|
||||
case LDAP_MOD_ADD:
|
||||
if ( !a )
|
||||
break;
|
||||
for (i=0; ml->sml_values[i].bv_val; i++) {
|
||||
ca->line = ml->sml_values[i].bv_val;
|
||||
ca->valx = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user