lb: keep AddressSanitizer happy 48/38048/2
authorBenoît Ganne <bganne@cisco.com>
Thu, 26 Jan 2023 15:04:43 +0000 (16:04 +0100)
committerDamjan Marion <dmarion@0xa5.net>
Mon, 6 Mar 2023 17:55:08 +0000 (17:55 +0000)
commit064ff151504453220ae377f6092cd706d2e317e2
tree9b55b516af107fc33111862324d48cef5bc78aaf
parent22460d6a873187d2130441958093808d23969a1f
lb: keep AddressSanitizer happy

vec_alloc() does not mark vector as accessible contrary to
vec_validate().
Also removes redundant memset(0) as vector allocation always zeroed
new memory.

Type: fix

Change-Id: I8309831b964a618454ed0bebbcdec7ec21149414
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/lb/lb.c
src/plugins/lb/lbhash.h