From: Pierangelo Masarati Date: Mon, 13 Aug 2007 16:27:56 +0000 (+0000) Subject: fix hot startup commit (read of uninitialized memory; ITS#5081) X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~227 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32c2dee3f891e24559e239cd13f12ad713fb7842;p=openldap fix hot startup commit (read of uninitialized memory; ITS#5081) --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 215bd00fcf..8c6564707a 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -2539,6 +2539,7 @@ pcache_db_init( cm->max_entries = 0; cm->cur_entries = 0; cm->max_queries = 10000; + cm->save_queries = 0; cm->response_cb = PCACHE_RESPONSE_CB_TAIL; cm->cc_period = 1000; cm->cc_paused = 0;