diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2020-03-02 10:49:46 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-03-04 09:28:34 +0000 |
commit | 567e562a96f2ccd425c4b11a792dde60369af4c4 (patch) | |
tree | 066ae0b651a30f30d8f8bc320a262772909da9fa /src | |
parent | 1c2002a317f05bd911b221d185c60aa0ba8f6ae5 (diff) |
lldp: coverity fix, uninitialized array
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Ia6095a91904693225e53a85f35dfebf0757b3971
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/lldp/lldp_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/lldp/lldp_api.c b/src/vnet/lldp/lldp_api.c index 615f03b2050..a6d7fb84bb7 100644 --- a/src/vnet/lldp/lldp_api.c +++ b/src/vnet/lldp/lldp_api.c @@ -76,7 +76,7 @@ vl_api_sw_interface_set_lldp_t_handler (vl_api_sw_interface_set_lldp_t * mp) int rv = 0; u8 *mgmt_oid = 0, *mgmt_ip4 = 0, *mgmt_ip6 = 0; char *port_desc = 0; - u8 no_data[128]; + u8 no_data[128] = { 0 }; ip4_address_t ip4; ip6_address_t ip6; |