From: Howard Chu Date: Wed, 26 Feb 2003 09:11:56 +0000 (+0000) Subject: In entry_decode, must null-terminate a_nvals array X-Git-Tag: NO_SLAP_OP_BLOCKS~290 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=01c56e0044b54557e85bcb6ed83dbaf88dc1c205;p=openldap In entry_decode, must null-terminate a_nvals array --- 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