From 01c56e0044b54557e85bcb6ed83dbaf88dc1c205 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 26 Feb 2003 09:11:56 +0000 Subject: [PATCH] In entry_decode, must null-terminate a_nvals array --- servers/slapd/entry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index 566fd63262..f4dba0124b 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -707,6 +707,8 @@ int entry_decode(struct berval *bv, Entry **e) return rc; } } + a->a_nvals[j].bv_val = NULL; + a->a_nvals[j].bv_len = 0; } #endif -- 2.39.5