diff options
author | Dmitry Valter <d-valter@yandex-team.ru> | 2023-01-22 13:09:15 +0000 |
---|---|---|
committer | Dmitry Valter <dvalter@protonmail.com> | 2023-01-22 13:09:15 +0000 |
commit | 3b5ab65bd3a821dd82acfc34069293ff39dc1ef7 (patch) | |
tree | 0be23d83bd55895409a2b0db8d23d2a979ff2ebd /src/vnet/interface_api.c | |
parent | 6a782ca3b0782116c5f34d1c958998e9a0af41ca (diff) |
vppinfra: fix random buffer OOB crash with ASAN
Don't truncate with vec_set_len bytes before they can be used. When
built with ASAN, it these bytes are poisoned and trigger SIGSEGV when
read.
Type: fix
Signed-off-by: Dmitry Valter <d-valter@yandex-team.ru>
Change-Id: I912dbbd83822b884f214b3ddcde02e3527848592
Diffstat (limited to 'src/vnet/interface_api.c')
0 files changed, 0 insertions, 0 deletions