From 284ef10e6e36eea1458a2ed85a43cbda721fb159 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 26 Feb 2003 09:24:01 +0000 Subject: [PATCH] In slap_mods_check, must null-terminate sm_nvalues array --- servers/slapd/modify.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5