From 1800fbb307966818a5b297a31d66dddd24408f28 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 4 Sep 2007 05:40:41 +0000 Subject: [PATCH] ITS#5119 fix uninit'd nval after normalization failure --- servers/slapd/modify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 4a0a87eb90..e6ba1dfe4b 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -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; } } -- 2.39.5