From: Pierangelo Masarati Date: Tue, 8 Jan 2008 14:58:24 +0000 (+0000) Subject: fix zeroing out attribute values (should fix ITS#5311) X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~241 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ebb7ee175e3a167def5b2b55784642ea9a277a6;p=openldap fix zeroing out attribute values (should fix ITS#5311) --- diff --git a/servers/slapd/back-monitor/thread.c b/servers/slapd/back-monitor/thread.c index 4c90f05210..5fdbd071e9 100644 --- a/servers/slapd/back-monitor/thread.c +++ b/servers/slapd/back-monitor/thread.c @@ -260,6 +260,7 @@ monitor_subsys_thread_update( ber_bvarray_free( a->a_vals ); a->a_vals = NULL; a->a_nvals = NULL; + a->a_numvals = 0; } i = 0; @@ -292,6 +293,7 @@ monitor_subsys_thread_update( ber_bvarray_free( a->a_vals ); a->a_vals = NULL; a->a_nvals = NULL; + a->a_numvals = 0; } i = 0;