From 5ebb7ee175e3a167def5b2b55784642ea9a277a6 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 8 Jan 2008 14:58:24 +0000 Subject: [PATCH] fix zeroing out attribute values (should fix ITS#5311) --- servers/slapd/back-monitor/thread.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5