From 32c2dee3f891e24559e239cd13f12ad713fb7842 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 13 Aug 2007 16:27:56 +0000 Subject: [PATCH] fix hot startup commit (read of uninitialized memory; ITS#5081) --- servers/slapd/overlays/pcache.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5