mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 01:58:33 -05:00
ITS#5119 fix uninit'd nval after normalization failure
This commit is contained in:
parent
3a4fe0ff0d
commit
1800fbb307
1 changed files with 1 additions and 0 deletions
|
|
@ -628,6 +628,7 @@ int slap_mods_check(
|
|||
"%s: value #%ld normalization failed",
|
||||
ml->sml_type.bv_val, (long) nvals );
|
||||
*text = textbuf;
|
||||
BER_BVZERO( &ml->sml_nvalues[nvals] );
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue