From: Howard Chu Date: Wed, 26 Feb 2003 09:24:01 +0000 (+0000) Subject: In slap_mods_check, must null-terminate sm_nvalues array X-Git-Tag: NO_SLAP_OP_BLOCKS~289 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=284ef10e6e36eea1458a2ed85a43cbda721fb159;p=openldap In slap_mods_check, must null-terminate sm_nvalues array --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 1896fb9011..94d642c2b5 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -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