From: Howard Chu Date: Tue, 4 Sep 2007 05:40:41 +0000 (+0000) Subject: ITS#5119 fix uninit'd nval after normalization failure X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1800fbb307966818a5b297a31d66dddd24408f28;p=openldap ITS#5119 fix uninit'd nval after normalization failure --- 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; } }