diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-07-10 15:40:33 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-07-10 19:07:53 +0000 |
commit | adbaf7bc2e301e591d63fae47f0a9bbb1577494e (patch) | |
tree | 2103281466594b7954982966b208995c6a05f1b3 /src/vnet/ip/format.c | |
parent | 6a3a4f7340bdc687814d7905ef1e4ca1a3b02d57 (diff) |
ip: fix show ip neigh vector read overflow
Both format_ethernet_arp_ip4_entry() and format_ip6_neighbor_ip6_entry()
used %s to format flags which is a vector and not a null-terminated
C-string.
Introduce format_ip_neighbor_flags() instead.
Type: fix
Fixes: 102ec52bc4
Change-Id: I0c9349fefbeb76471933de358acceb50512a21aa
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/ip/format.c')
0 files changed, 0 insertions, 0 deletions