mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
In slap_mods_check, must null-terminate sm_nvalues array
This commit is contained in:
parent
01c56e0044
commit
284ef10e6e
1 changed files with 2 additions and 0 deletions
|
|
@ -634,6 +634,8 @@ int slap_mods_check(
|
|||
return rc;
|
||||
}
|
||||
}
|
||||
ml->sml_nvalues[nvals].bv_val = NULL;
|
||||
ml->sml_nvalues[nvals].bv_len = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue