From 4ea68d5e8dd506c9fa773bd078229759b2b7fd6e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 12 Dec 2004 07:00:58 +0000 Subject: [PATCH] Fix playlog uninit'd fields --- servers/slapd/overlays/syncprov.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index a746c2602e..1b4e0654b7 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1194,6 +1194,10 @@ syncprov_playlog( Operation *op, SlapReply *rs, sessionlog *sl, ndel = i; + /* Zero out unused slots */ + for ( i=ndel; i < num - nmods; i++ ) + uuids[i].bv_len = 0; + /* Mods must be validated to see if they belong in this delete set. */ -- 2.39.5