int rv = 0;
u8 *sys_name = 0;
- sys_name = vl_api_from_api_to_new_vec (&mp->system_name);
+ sys_name = vl_api_from_api_to_new_vec (mp, &mp->system_name);
if (lldp_cfg_set (&sys_name, ntohl (mp->tx_hold), ntohl (mp->tx_interval))
!= lldp_ok)
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;