mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
ITS#7029 fix uninit'd nvalue
This commit is contained in:
parent
4b9d680f55
commit
ab69775dd0
1 changed files with 2 additions and 0 deletions
|
|
@ -1845,6 +1845,8 @@ static Modifications *mods_dup( Operation *op, Modifications *modlist, int match
|
|||
for (i=0; i<mod->sml_numvals; i++)
|
||||
mod->sml_nvalues[i] = modlist->sml_nvalues[i];
|
||||
BER_BVZERO(&mod->sml_nvalues[i]);
|
||||
} else {
|
||||
mod->sml_nvalues = NULL;
|
||||
}
|
||||
}
|
||||
if ( match < 0 && modlist->sml_op == LDAP_MOD_REPLACE )
|
||||
|
|
|
|||
Loading…
Reference in a new issue