diff options
author | Vladimir Isaev <visaev@netgate.com> | 2020-09-18 14:43:29 +0300 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-09-30 11:30:55 +0000 |
commit | ddb070e8b1481cf9db77bc269d9d9754958a213b (patch) | |
tree | 30657c2c166a4bac702eb49e69c323d690720c81 /src/vnet/interface.h | |
parent | 36e657032c4d77c2657cf5c14d3b5dfa3c13d48c (diff) |
tap: do not use strlen on vector
sanitizer complains about strlen on hi->name in tap_dump_ifs.
hi->name is a vector which is not null-terminated, so use vec_len.
Type: fix
Signed-off-by: Vladimir Isaev <visaev@netgate.com>
Change-Id: Icdd5f65369bb51b0c4a9cd86c24899e6febd837c
(cherry picked from commit 84f3d9fba4e1715237a41f0978430193363187c7)
Diffstat (limited to 'src/vnet/interface.h')
0 files changed, 0 insertions, 0 deletions