diff options
author | Vladimir Isaev <visaev@netgate.com> | 2020-09-18 14:43:29 +0300 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2020-09-18 14:57:04 +0000 |
commit | 84f3d9fba4e1715237a41f0978430193363187c7 (patch) | |
tree | 3aa189575c01c4a37c3ea26137f49e703f2edaec /src/vnet/devices/af_packet/cli.c | |
parent | b8b6fe4fcc9202b6811b90af8ac8f361dfff26bf (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
Diffstat (limited to 'src/vnet/devices/af_packet/cli.c')
0 files changed, 0 insertions, 0 deletions