diff options
author | Benoît Ganne <bganne@cisco.com> | 2023-01-26 16:04:43 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-03-06 17:55:08 +0000 |
commit | 064ff151504453220ae377f6092cd706d2e317e2 (patch) | |
tree | 9b55b516af107fc33111862324d48cef5bc78aaf /src/vppinfra/test_pmalloc.c | |
parent | 22460d6a873187d2130441958093808d23969a1f (diff) |
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>
Diffstat (limited to 'src/vppinfra/test_pmalloc.c')
0 files changed, 0 insertions, 0 deletions