Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/lldpad-1.0.1+git20200210.2022b0c/clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/config.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/dcb_rule_chk.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/eloop.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/event_iface.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/clif_msgs.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/clif_sock.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/config.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/ctrl_iface.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/dcb_driver_interface.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/dcb_events.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/dcb_persist_store.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/dcb_protocol.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/dcb_rule_chk.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/dcb_types.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/dcbtool.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/eloop.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/event_iface.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/dcbnl.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if_bonding.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if_bridge.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if_link.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if_vlan.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/netlink.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/linux/rtnetlink.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/list.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8021qaz.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8021qaz_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8021qaz_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8023.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8023_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8023_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_basman.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_basman_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_basman_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_cisco_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_dcbx.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_dcbx_cfg.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_dcbx_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_dcbx_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_dcbx_nl.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_evb.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_evb22.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_evb22_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_evb_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_evb_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_mand.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_mand_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_mand_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_med.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_med_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_med_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_orgspec_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_rtnl.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_tlv.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_util.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_shm.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_status.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldptool_cli.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/messages.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/parse_cli.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg22.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_ecp.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_utils.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22def.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp_clif.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp_cmds.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/tlv_dcbx.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/vdp_cisco.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdpnl.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_mod.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/lldptool.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_ecp22.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/list.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/agent.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/agent.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/mibdata.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/rx.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/states.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_cisco_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_orgspec_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_tlv.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/log.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_oui.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22br.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_clif.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22sm.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/qbg_utils.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/lldp_clif_test.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.h
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/1.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/10.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/11.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/2.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/3.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/30.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/4.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/5.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/ecp22/defines.ecp
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/vdp22/ns_unshare.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/vdptool_cisco_oui.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/weak_readline.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c
Examining data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c

FINAL RESULTS:

data/lldpad-1.0.1+git20200210.2022b0c/clif.c:170:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s%s","A",tlvs_hex);
data/lldpad-1.0.1+git20200210.2022b0c/config.c:222:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access(cfg_file_name, R_OK | W_OK)) {
data/lldpad-1.0.1+git20200210.2022b0c/config.c:223:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access(cfg_file_name, F_OK)) {
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:123:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry->ifname, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:165:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry->ifname, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:209:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry->ifname, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:255:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry->ifname, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:301:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry->ifname, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:343:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry->ifname, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:408:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(sTmp, MAX_DESCRIPTION_LEN, DEF_CFG_STORE);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:672:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(sTmp, MAX_DESCRIPTION_LEN, DEF_CFG_STORE);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1363:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(sTmp, MAX_DESCRIPTION_LEN, DEF_CFG_STORE);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1396:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(sTmp, MAX_DESCRIPTION_LEN, DEF_CFG_STORE);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1424:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(sTmp, MAX_DESCRIPTION_LEN, DEF_CFG_STORE);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1470:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(sTmp, MAX_DESCRIPTION_LEN, DEF_CFG_STORE);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:342:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(rbuf, "%01x%02x%s", pgid,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:373:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(t, VAL_EVB_CAPA_RTE);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:379:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(t, VAL_EVB_CAPA_ECP);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:385:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(t, VAL_EVB_CAPA_VDP);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:205:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(ifr.ifr_name, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:243:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(ifr.ifr_name, bond_port->ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:282:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(ifr.ifr_name, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1255:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(ifr.ifr_name, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/log.c:64:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vprintf(format, vb);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/vdp22/ns_unshare.c:52:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp(argv[optind], &argv[optind]);  
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:655:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd, "cpp %s", cfgfile);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:656:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ((fp = popen(cmd, "r")) == NULL) {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1735:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(profile->key, value);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1865:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(uuid, (char *)found->mgrid2);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2372:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		rc |= system(cmdp->text);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2488:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(mgrid, (char *)vdp->mgrid2);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2534:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy((char *)p->mgrid2, token);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:419:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env = getenv("LISTEN_PID");
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:432:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env = getenv("LISTEN_FDS");
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c:503:7:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt(argc, argv, "hvrR");
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:241:7:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt(argc, argv, "hdksptvf:RV:");
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:463:7:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt_long(argc, argv, "Si:tTlLhcdnvrRpqV:g:",
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22/vdp22/ns_unshare.c:34:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((opt = getopt(argc, argv, "imnpuU")) != -1) {
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1391:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((ch = getopt(argc, argv, ":d:t:T:v")) != EOF)
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2744:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((ch = getopt(argc, argv, ":A:C:D:F:S::a:d:e:E:g:p:r:s::i:vn"))
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1062:7:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt_long(argc, argv, "i:tTWhcnvrRpqV:",
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:161:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char rbuf[10];
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:246:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:357:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmd2[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:70:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(ifkey, "if%d", index);
data/lldpad-1.0.1+git20200210.2022b0c/config.c:147:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(port->ifname, p->if_name, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/config.c:179:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(port->ifname, ifname, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/config.c:226:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			fd = open(cfg_file_name,
data/lldpad-1.0.1+git20200210.2022b0c/config.c:469:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char p[1024], ifkey[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:494:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char p[1024], ifkey[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:590:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char p[1024], ifkey[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:640:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:707:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:728:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[bsize];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:775:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg[64];
data/lldpad-1.0.1+git20200210.2022b0c/config.c:788:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg[64];
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:163:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&dst->addr, from, sizeof(struct sockaddr_un));
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:339:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:344:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cred_msg[CMSG_SPACE(sizeof(struct ucred))];
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:376:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf,"R%02x", cmd_bad_params);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:383:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf,"R%02x", cmd_no_access);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:549:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char levelstr[10] = "";
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:550:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char modulestr[10] = "";
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:102:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:144:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:185:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:231:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:276:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:321:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:374:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(Store, Attrib, sizeof (*Attrib));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:397:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(it->second->rx), &(Attrib->rx), sizeof(Attrib->rx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:398:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(it->second->tx), &(Attrib->tx), sizeof(Attrib->tx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:405:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sTmp[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:414:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(Attrib->rx), &(itpg->second->rx), sizeof(Attrib->rx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:415:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(Attrib->tx), &(itpg->second->tx), sizeof(Attrib->tx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:465:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(Store, Attrib, sizeof (*Attrib));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:526:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(it->second->AppData, Attrib->AppData, Attrib->Length);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:539:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&Store->AppData, &itapp->second->AppData, Store->Length);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:640:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(Store, Attrib, sizeof(*Attrib));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:661:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(it->second->admin, Attrib->admin,
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:669:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sTmp[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:678:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(Attrib->admin), &(itpfc->second->admin), sizeof(Attrib->admin));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:723:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(Store, Attrib, sizeof(*Attrib));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:752:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(Store, Attrib, sizeof(*Attrib));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:773:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(it->second->llink), &(Attrib->llink),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:787:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(Attrib->llink), &(itllink->second->llink),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:858:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(store, (void *)&dcb_support, sizeof(*store));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:878:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dcb_support, it->second, sizeof(*dcb_support));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:892:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dcb_support, it->second, sizeof(*dcb_support));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1095:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char devName[MAX_DEVICE_NAME_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1313:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sTmp[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1375:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char        sTmp[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1407:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char        sTmp[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1452:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sTmp[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1489:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pg_data, it->second, sizeof(*pg_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1493:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(pg_data, &attribs.pg, sizeof(*pg_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1508:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pg_data, it->second, sizeof(*pg_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1524:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pg_data, it->second, sizeof(*pg_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1612:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(it->second->rx), &(pg_data->rx), sizeof(pg_data->rx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1613:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(it->second->tx), &(pg_data->tx), sizeof(pg_data->tx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1676:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(peer_it->second->rx), &(peer_pg_data->rx),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1678:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(peer_it->second->tx), &(peer_pg_data->tx),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1697:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pfc_data, it->second, sizeof(*pfc_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1701:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(pfc_data, &attribs.pfc, sizeof(*pfc_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1716:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pfc_data, it->second, sizeof(*pfc_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1731:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pfc_data, it->second, sizeof(*pfc_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1778:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(it->second->admin, pfc_data->admin,
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1836:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(peer_it->second->admin, &peer_pfc_data->admin,
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1854:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(app_data, it->second, sizeof(*app_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1858:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(app_data, &attribs.app[subtype],
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1872:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(app_data, it->second, sizeof(*app_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1885:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(app_data, it->second, sizeof(*app_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1948:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&(it->second->AppData), &(app_data->AppData),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2006:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(peer_it->second->AppData), &(peer_app_data->AppData),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2054:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(it->second->llink), &(llink_data->llink),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2114:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(peer_it->second->llink), &(peer_llink_data->llink),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2131:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(llink_data, it->second, sizeof(*llink_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2135:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(llink_data, &attribs.llink[subtype],
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2153:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(llink_data, it->second, sizeof(*llink_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2170:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(llink_data, it->second, sizeof(*llink_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2187:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy( control_data, it->second, sizeof(*control_data));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2204:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(peer_control_data, it->second,
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2277:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(*name, attribs.descript.pgid_desc[bwgid], size); /* Localization OK */
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2311:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(it->second->pgid_desc[bwgid], name, size);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2326:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(attribs.descript.pgid_desc[bwgid],
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2463:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&Oper->second->admin, &Src->second->admin,
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2495:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(Oper->second->AppData, Src->second->AppData,
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2531:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy( &Oper->second->llink, &Src->second->llink,
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2697:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(pg_data.rx), &(Oper->second->rx), sizeof(pg_data.rx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2698:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(pg_data.tx), &(Oper->second->tx), sizeof(pg_data.tx));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2905:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&(old_pg_opcfg.rx), &(Oper->second->rx),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2907:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&(old_pg_opcfg.tx), &(Oper->second->tx),
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2984:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&old_app_opcfg.AppData[0],
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c:285:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c:408:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c:426:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *cmd, *argv[max_args], *pos;
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:97:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[8];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:112:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[8];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:127:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_DESCRIPTION_LEN + 8];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:133:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf+j, "%01x", get_desc_id());
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:139:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf+j, "%02x", (unsigned int) strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:141:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buf+j, p, strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:153:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:218:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:247:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:258:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf+j, "%02x", (unsigned int)strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:260:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf+j, p, strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:271:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[8];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:356:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cbuf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:357:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/event_iface.c:234:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/event_iface.c:362:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[MAX_PAYLOAD];
data/lldpad-1.0.1+git20200210.2022b0c/event_iface.c:394:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_PAYLOAD];
data/lldpad-1.0.1+git20200210.2022b0c/include/clif_msgs.h:110:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ+1];
data/lldpad-1.0.1+git20200210.2022b0c/include/clif_msgs.h:111:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char obuf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/include/dcb_types.h:235:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef char dcb_descript[MAX_DESCRIPTION_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	driver[32];	/* driver short name, "tulip", "eepro100" */
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h:58:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	version[32];	/* driver version string */
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h:59:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	fw_version[ETHTOOL_FWVERS_LEN];	/* firmware version string */
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	bus_info[ETHTOOL_BUSINFO_LEN];	/* Bus info for this IF. */
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h:62:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	reserved1[32];
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h:63:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	reserved2[12];
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/ethtool.h:436:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	data[ETHTOOL_FLASH_MAX_FILENAME];
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if.h:170:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char	ifrn_name[IFNAMSIZ];		/* if name, e.g. "en0" */
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if.h:183:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char	ifru_slave[IFNAMSIZ];	/* Just fits the size */
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if.h:184:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char	ifru_newname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if_bonding.h:100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char slave_name[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if_vlan.h:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device1[24];
data/lldpad-1.0.1+git20200210.2022b0c/include/linux/if_vlan.h:51:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char device2[24];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8021qaz.h:204:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_8023.h:36:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_basman.h:37:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_dcbx.h:52:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_evb.h:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_evb22.h:266:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_mand.h:74:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp_med.h:37:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_shm.h:58:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ+1];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_shm.h:59:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char chassisid[SHM_CHASSISID_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_shm.h:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char portid[SHM_PORTID_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_shm.h:69:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ+1];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_shm.h:70:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char chassisid[SHM_CHASSISID_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/lldpad_shm.h:72:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char portid[SHM_PORTID_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_ecp.h:72:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];		/* Interface name */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_ecp22.h:68:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char frame[ETH_FRAME_LEN];	/* Payload buffer */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_ecp22.h:82:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char mac[ETH_ALEN];	/* Destination MAC address */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_ecp22.h:107:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];		/* Interface name */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp.h:128:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22.h:112:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char mac[ETH_ALEN];	/* MAC address */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22.h:131:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char mgrid[VDP22_MGRIDSZ];	/* Manager identifier */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22.h:140:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char vsi[VDP22_IDSZ];	/* VSI identifier */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22.h:153:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ + 1];	/* Interface name */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22.h:163:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char input[ETH_DATA_LEN];	/* Input data from ECP */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:42:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char oui_type[VDP22_OUI_TYPE_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:43:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oui_name[VDP22_OUI_MAX_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oui_name[VDP22_OUI_MAX_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:50:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[MAX_OUI_DATA_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:60:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char oui_type[VDP22_OUI_TYPE_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oui_name[VDP22_OUI_MAX_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:63:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[MAX_OUI_DATA_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:72:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char oui_type[VDP22_OUI_TYPE_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oui_name[VDP22_OUI_MAX_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:78:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char oui_type[VDP22_OUI_TYPE_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:79:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oui_name[VDP22_OUI_MAX_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdp22_oui.h:143:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(cp, data, nlen);
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdpnl.h:44:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char mac[ETH_ALEN];	/* Mac address */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdpnl.h:51:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ + 1];	/* Interface name */
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdpnl.h:60:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char vsi_uuid[PORT_UUID_MAX];
data/lldpad-1.0.1+git20200210.2022b0c/include/qbg_vdpnl.h:61:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char vsi_mgrid2[PORT_UUID_MAX];
data/lldpad-1.0.1+git20200210.2022b0c/include/vdp_cisco.h:97:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[KEYLEN];       /* Profile name */
data/lldpad-1.0.1+git20200210.2022b0c/include/vdp_cisco.h:101:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char vm_name[MAX_VM_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/agent.c:50:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *agent_sections[AGENT_MAX] = {
data/lldpad-1.0.1+git20200210.2022b0c/lldp/agent.c:83:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char macstring[30];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/agent.c:87:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&agent->mac_addr, agent_groupmacs[type], ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/agent.c:157:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char macstring[30];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ + 1];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:64:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(addr, l2->san_mac_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(addr, l2->curr_mac_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:92:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(port->l2->remote_mac_addr, &agent->rx.framein[offset], ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:97:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(addr, l2->remote_mac_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:102:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(addr, l2->perm_mac_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:124:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(ll.sll_addr, dst_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:213:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(l2->curr_mac_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:216:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(l2->perm_mac_addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:227:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(mr.mr_address, &nearest_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:237:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(mr.mr_address, &nearest_customer_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/l2_packet_linux.c:242:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(mr.mr_address, &nearest_nontpmr_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.c:60:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)stats, (void *)&agent->stats, sizeof(struct agentstats));
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.c:81:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)tlvs,
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.c:105:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)tlvs,
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.c:148:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(port->ifname, ifname, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.h:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dst[6];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.h:68:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char src[6];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.h:91:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/rx.c:86:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(ex->h_dest, agent->mac_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/rx.c:117:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(agent->rx.framein, buf, len);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/rx.c:223:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(tlv->info, info, tlv_length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/rx.c:256:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(agent->msap.msap1, tlv->info,
data/lldpad-1.0.1+git20200210.2022b0c/lldp/rx.c:288:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(agent->msap.msap2, tlv->info, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char macstring[30];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:59:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(eth.h_dest, agent->mac_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:61:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(eth.h_source, &own_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:70:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(agent->tx.frameout, (void *)&eth, sizeof(struct l2_ethhdr));
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:82:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(agent->tx.frameout+fb_offset,
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:94:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(agent->tx.frameout + fb_offset, ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:120:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[512] = { 0 };
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:186:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char macstring[30];
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:196:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(eth.h_dest, agent->mac_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:198:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(eth.h_source, &own_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:206:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(agent->tx.frameout, (void *)&eth, sizeof(struct l2_ethhdr));
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:220:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(agent->tx.frameout + fb_offset, ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/lldp/tx.c:230:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(agent->tx.frameout + fb_offset, ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:169:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			prio = 0x7 & atoi(tokens);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:170:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tc = 0x7 & atoi(&tokens[2]);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:189:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tc = atoi(tokens);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:209:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:224:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:281:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tlvs->ets->cfgl->tc_bw[i] = atoi(tokens);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:303:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tlvs->ets->recl->tc_bw[i] = atoi(tokens);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:379:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		prio = atoi(app_tuple);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:383:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		sel = atoi(app_tuple);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:925:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(*ets, nl_ets, sizeof(struct ieee_ets));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:934:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(*pfc, nl_pfc, sizeof(struct ieee_pfc));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1150:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_tx_bw, cfg->tc_bw, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1151:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_rx_bw, cfg->tc_bw, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1152:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_tsa, cfg->tsa_map, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1157:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_reco_bw, cfg->tc_bw, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1158:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_reco_tsa, cfg->tsa_map, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1170:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_tx_bw, rec->tc_bw, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1171:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_rx_bw, rec->tc_bw, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1172:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_tsa, rec->tsa_map, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1177:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_reco_bw, rec->tc_bw, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1178:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ieee->tc_reco_tsa, rec->tsa_map, MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1458:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ptr, data, sizeof(*data) * cnt);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:135:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[250] = "";
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:233:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:272:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:354:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:399:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256] = "";
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:437:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:576:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[250] = "";
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:615:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:648:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		percent[i] = atoi(toked_bw);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:663:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tcbw, percent, sizeof(*tcbw) * MAX_TCS);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:668:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char cat[6];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:701:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[250] = "";
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:739:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:780:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tc = atoi(toked_maps);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:816:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char cnt[3];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:870:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:906:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:964:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char val[3];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1008:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1042:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1043:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	unsigned int delay = atoi(arg_value);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1119:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char app_buf[2048] = "(prio,sel,proto)\n";
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1120:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char new_app[80] = "";
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1139:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1159:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		prio = atoi(app_tuple);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1163:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		sel = atoi(app_tuple);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1233:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1234:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_parent[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1235:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_name[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1236:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char new_argval[16];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1265:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	prio = atoi(app_tuple);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1270:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	sel = atoi(app_tuple);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1371:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char new_app[80];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1430:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1477:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023.c:147:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &maccfg, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023.c:197:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &maxfs, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023.c:251:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &linkagg, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023.c:306:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &powvmdi, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_cmds.c:63:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_cmds.c:101:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:116:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char desc[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:155:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, desc, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:173:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char desc[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:220:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, desc, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:241:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char desc[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:289:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, desc, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:345:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &syscaps, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:369:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char maddr[128];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:470:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &manaddr, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_clif.c:190:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[132];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:84:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:122:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:180:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:268:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:293:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:319:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:362:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx.c:498:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char abuf[32];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:51:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(abuf, "app_%d", subtype);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char abuf[32];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:102:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name_sanitized[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:272:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(abuf, "llink_%d", i);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:340:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char abuf[2*DCB_MAX_TLV_LENGTH + 1];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:351:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(abuf, "app_%d", i);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:375:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char abuf[2*DCB_MAX_TLV_LENGTH + 1];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:377:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char device_name_sanitized[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:624:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(abuf, "app_%d", app_subtype);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:663:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(abuf+2*i, "%02x", app->AppData[i]);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:673:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(abuf, "llink_%d", link_subtype);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:790:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char abuf[32], device_name_sanitized[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:973:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(abuf, "app_%d", i);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:1028:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(abuf, "llink_%d", i);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:1080:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[sizeof(DCBX_SETTING) + IFNAMSIZ + 16];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:1081:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifkey[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:98:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:175:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:245:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf, "%01x", state);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:289:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf, "%01x", dcbx_version);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:484:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf, "%1x%1x%1x",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:490:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf, "%02x%02x%02x%1x%1x",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:499:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(rbuf, "%1x%1x%02x%02x%1x%1x",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:521:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(rbuf , "%*.*s", DCBX_CFG_OFF, DCBX_CFG_OFF, ibuf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:551:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char port_id[MAX_U8_BUF];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:588:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(port_id, ibuf+DCB_PORT_OFF, plen);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:786:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PG_UP2TC(i), "%1x", pg_data->tx.up[i].pgid);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:788:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PG_PG_PCNT(i), "%02x", pg_data->tx.pg_percent[i]);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:794:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PG_UP_PGID(i), "%1X", value);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:799:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(rbuf+PG_UP_PCNT(i), "%02x",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:802:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(rbuf+PG_UP_PCNT(i), "%c%c",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:812:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(rbuf+PG_UP_STRICT(i), "%1x", value);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:814:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(rbuf+PG_UP_STRICT(i), "%c", CLIF_NOT_SUPPLIED);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:820:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PG_UP_NUM_TC, "%c", CLIF_NOT_SUPPLIED);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:822:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PG_UP_NUM_TC, "%1x", pg_data->num_tcs);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:856:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PFC_UP(i), "%1x", pfc_data->admin[i]);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:861:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PFC_NUM_TC, "%c", CLIF_NOT_SUPPLIED);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:863:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+PFC_NUM_TC, "%1x", pfc_data->num_tcs);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:896:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(rbuf+APP_LEN, "%02x", 2*app_data->Length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:899:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(rbuf+APP_DATA+2*i, "%02x", *(app_data->AppData+i));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:931:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(rbuf+LLINK_STATUS, "%1x", llink_data->llink.llink_status);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1189:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf[512];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1200:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf[512];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1211:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf[512];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1223:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf[512];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:144:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(NLA_DATA(rta), attr, rta_len);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:556:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb.c:69:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb.c:169:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv.info, &ed->tie, tlv.length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb.c:239:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&ed->last, tlv->info, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char bridge_txt[32], station_txt[32];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:65:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(bridge_txt, "bgid");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:71:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(bridge_txt, "rrcap");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:77:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(bridge_txt, "rrctr");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:83:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(station_txt, "sgid");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:89:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(station_txt, "rrreq");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:95:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(station_txt, "rrstat");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:109:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:118:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:264:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv.info, &ed->out, tlv.length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:334:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&ed->last, tlv->info, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:40:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char bridge_txt[32], station_txt[32];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:44:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(bridge_txt, "bgid");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:50:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(bridge_txt, "rrcap");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:56:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(bridge_txt, "rrctr");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:62:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(station_txt, "sgid");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:68:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(station_txt, "rrreq");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:74:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(station_txt, "rrstat");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:95:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:77:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:266:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:370:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:556:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:591:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:599:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	if (sprintf(s, "%i", (*fct)(ed)) <= 0)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:105:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		svsi = atoi(value);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:151:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		rte = atoi(value);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:189:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *s, arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:215:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:304:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:363:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char t[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:429:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:480:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:489:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	if (sprintf(s, "%i", rte) <= 0)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:501:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:508:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = atoi(argvalue);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:551:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:560:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	if (sprintf(s, "%04i", svsi) <= 0)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:570:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[EVB_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:577:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	value = atoi(argvalue);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:175:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[512] = { 0 };
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:260:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &chassis, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:313:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[512] = { 0 };
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:418:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &portid, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:459:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &ttl, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_clif.c:112:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_clif.c:205:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:95:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *string, arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:188:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:291:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[8], arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:323:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:698:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(tlvs+moff, tlvs+off, sizeof(u16)+len);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:771:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(cmd.ifname, ibuf+CMD_IF, len);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:215:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &medcaps, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:241:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:280:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
 	f = fopen(path, "r");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:343:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&tlv->info[OUI_SUB_SIZE], desc, length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:479:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &extpvm, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:558:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &locid, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:674:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &netpoli, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_cmds.c:71:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_cmds.c:117:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_orgspec_clif.c:172:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char vlan_name[VNAME_SIZE] = {0};
data/lldpad-1.0.1+git20200210.2022b0c/lldp_orgspec_clif.c:196:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char protoid[PROTOID_SIZE] = {0};
data/lldpad-1.0.1+git20200210.2022b0c/lldp_orgspec_clif.c:220:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char vlan_name[VNAME_SIZE] = {0};
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[8192];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:106:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(RTA_DATA(rta), data, alen);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:116:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char attrbuf[
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char attrbuf[
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:222:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(operstate, RTA_DATA(rta), sizeof(__u8));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:276:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char attrbuf[RTA_SPACE(2 * IFNAMSIZ)];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:323:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf_perm, RTA_DATA(rta), ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:324:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf_san, RTA_DATA(rta) + ETH_ALEN, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_tlv.c:83:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pkd_tlv->tlv, &tl, sizeof(tl));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_tlv.c:85:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&pkd_tlv->tlv[sizeof(tl)], tlv->info,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_tlv.c:119:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&mtlv->tlv[mtlv->size], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_tlv.c:147:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(upkd_tlv->info, &tlv->tlv[sizeof(tl)],
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:150:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%02x:%02x:%02x:%02x:%02x:%02x",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:232:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char act_ifname[IFNAMSIZ];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:233:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char bond_mac[ETH_ALEN], san_mac[ETH_ALEN];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:249:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(bond_mac, ifr.ifr_hwaddr.sa_data, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:284:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:343:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:344:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *f = fopen(path, "r");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:348:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			rc = atoi(buf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:390:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(ifname, ifr.ifr_name, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:414:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:422:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:431:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:534:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifcbuf[sizeof(struct ifreq) * 32];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:569:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:602:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:721:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		ifname = (char *)RTA_DATA(tb[IFLA_IFNAME]);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:755:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:990:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(mac, (char*)(RTA_DATA(tb[IFLA_ADDRESS])), 6);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1011:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(mac, nla_data(tb3), nla_len(tb3));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1069:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(saddr, &ifr.ifr_addr, sizeof(*saddr));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1083:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(in, &sa.sin_addr, sizeof(struct in_addr));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1113:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(saddr, ifa->ifa_addr, sizeof(*saddr));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1130:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(in6, &sa.sin6_addr, sizeof(struct in6_addr));
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:209:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *oom_file = fopen(oom_adjust[i].path, "r+");
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:231:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[32];
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:274:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			loglvl = atoi(optarg);
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:377:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(PID_FILE, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:389:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "%u\n", getpid());
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:66:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&new_ent[i].chassisid[0],
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:72:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&new_ent[i].portid[0],
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:77:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *)&new_ent[i].st, (void *)&shmold->ent[i].st,
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:82:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)&shmold->ent[0], (void *)&new_ent[0],
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:144:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(info, p, *len);
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:199:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&shmaddr->ent[i].chassisid[0], info, len);
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:203:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&shmaddr->ent[i].portid[0], info, len);
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:210:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(shmaddr->ent[i].ifname, "%.*s",
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:335:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(shmaddr->ent[i].ifname, "%.*s", IFNAMSIZ, device_name);
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:509:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(shmaddr->ent[i].ifname, "%.*s",
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:512:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *)&shmaddr->ent[i].st, state, sizeof(dcbx_state));
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:561:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(state, (void *)&shmaddr->ent[i].st,
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:296:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:637:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:656:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *cmd, *argv[max_args], *pos;
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:712:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char attach_str[9] = "";
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:768:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char attach_str[9] = "";
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:540:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(cmd.ifname, ibuf+CMD_IF, len);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:638:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		int cmd = atoi(&buf[EV_GENMSG_OFF]);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:237:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer + *pos, data, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:264:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(eth.h_dest, nearest_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:266:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(eth.h_source, &own_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:588:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(vd->ecp.tx.frame, vd->ecp.rx.frame, vd->ecp.rx.frame_len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:594:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(hdr->h_source, &own_addr, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:669:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(vd->ecp.rx.frame, buf, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:673:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ex->h_dest, nearest_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp.c:944:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(tlv->info, info, tlv_length);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c:113:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer + *pos, data, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c:151:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(eth.h_dest, p->mac, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c:452:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ack_frame[ETH_HLEN + sizeof(struct ecp22_hdr)];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c:461:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ethdst->h_dest, nearest_customer_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c:686:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ecp->rx.frame, buf, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c:897:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ptlv->tlv, from->tlv, from->size);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/ecp22.c:955:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(payda->mac, mac, sizeof payda->mac);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:81:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char instance[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char macbuf[MAC_ADDR_STRLEN + 1];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1071:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&new->instance, &vdp->instance, sizeof new->instance);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1081:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char macbuf[MAC_ADDR_STRLEN + 1];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1087:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&mac_vlan->mac, pos, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1090:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&vlan, pos, 2);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1127:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&vdp, tlv->info, sizeof vdp);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1249:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&vdp->instance, &profile->instance, 16);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1256:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(mv_p->mac, mv->mac, MAC_ADDR_LEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1279:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, vdp, tlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1573:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char config_path[16];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1778:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&mac_vlan->mac, vsi->maclist->mac, sizeof mac_vlan->mac);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1791:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(profile->instance, vsi->vsi_uuid, sizeof vsi->vsi_uuid);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1837:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(vsi->vsi_uuid, p->instance, sizeof vsi->vsi_uuid);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1856:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(macp->mac, mv1->mac, sizeof macp->mac);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1890:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(vsi.ifname, profile->port->ifname, sizeof vsi.ifname);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp.c:1910:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(vsi.vsi_uuid, profile->instance, sizeof vsi.vsi_uuid);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:118:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char idbuf[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:176:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "%d", p->mgrid[0]);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:196:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char idbuf[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:197:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mgridbuf[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:216:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(idbuf, "unsupported format");
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:721:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(vdp->input, ptr->data, ptr->len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:1242:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(vdp22_oui_list[g_oui_index]), handler_ptr,
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:215:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(cmd.ifname, ibuf+CMD_IF, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:282:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:283:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:431:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:513:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:563:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char vsi_str[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22br.c:53:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char deassoc_buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22br.c:54:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char ifname_buf[16];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22br.c:72:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(deassoc_buf, vdp->input, vdp->input_len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:178:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(to->data, from->data, to->len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:211:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(to_oui->l3_addr), &(from_oui->l3_addr),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:224:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_out_buf[MAX_OUI_DATA_LEN];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:225:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char uuid_str[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:306:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(to->data, from->data, to->len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22sm.c:271:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, cp, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22sm.c:314:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(cp, data, nlen);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22sm.c:559:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[len];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22sm.c:1569:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[len];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:136:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char x[ETH_ALEN];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:187:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->maclist[idx].mac, x, sizeof(p->maclist[0].mac));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:209:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(p->vsi_mgrid2, s_old, cnt);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:234:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oui_name[VDP22_OUI_MAX_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:535:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_buf[MAX_GID_MAC_VID_STR];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:596:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(to, p->vsi_mgrid2, sizeof(p->vsi_mgrid2));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:609:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char instance[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:66:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char instance[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char macbuf[MAC_ADDR_STRLEN + 1];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:113:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[VDP_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:140:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[VDP_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:183:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mode_str[VDP_BUF_SIZE], *t = mode_str;
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:239:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			profile->mode = atoi(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:242:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			profile->mgrid = atoi(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:245:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			profile->id = atoi(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:248:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			profile->version = atoi(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:254:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			profile->format = atoi(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:311:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		mac_vlan->vlan = atoi(parsed);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:380:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[VDP_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:402:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg_path[VDP_BUF_SIZE];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:499:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pdu, vdp->vdp->info + 4, size);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:542:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char pdu[VDP_BUF_SIZE];	/* Buffer for unpacked TLV */
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:598:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(cmd.ifname, ibuf + CMD_IF, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char instance[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:102:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char instance[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:128:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				   (char *)RTA_DATA(tb3[IFLA_PORT_PROFILE]));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:132:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			uuid = (unsigned char *)
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:152:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char *uuid = (unsigned char *)
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:154:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(vsi->vsi_uuid, uuid, sizeof vsi->vsi_uuid);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:196:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(vsi->maclist->mac, mac->mac, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:236:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		STRNCPY_TERMINATED(vsi->ifname, (char *)RTA_DATA(tb[IFLA_IFNAME]),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:274:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(NLMSG_DATA(from), &nlmsgerr, sizeof nlmsgerr);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:284:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char instance[VDP_UUID_STRLEN + 2];
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:444:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((unsigned char *)nlh, nlh_new, rc);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdpnl.c:519:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ifla_vf_mac.mac, mac->mac, sizeof mac->mac);
data/lldpad-1.0.1+git20200210.2022b0c/qbg_utils.c:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[ETH_FRAME_LEN * 3];
data/lldpad-1.0.1+git20200210.2022b0c/test/lldp_clif_test.c:96:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	output = fopen("test_mgmt_printing.txt", "r");
data/lldpad-1.0.1+git20200210.2022b0c/test/lldp_clif_test.c:101:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024];
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:135:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(RTA_DATA(rta), data, alen);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:180:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(NLA_DATA(rta), attr, rta_len);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:554:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf_perm, NLA_DATA(rta), ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:555:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf_san, NLA_DATA(rta + ETH_ALEN*sizeof(__u8)), ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:825:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)&bcn_data->rp_alpha, (__u32 *)NLA_DATA(rta_child),
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:830:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)&bcn_data->rp_beta, (__u32 *)NLA_DATA(rta_child),
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:835:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)&bcn_data->rp_gd, (__u32 *)NLA_DATA(rta_child),
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:840:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)&bcn_data->rp_gi, (__u32 *)NLA_DATA(rta_child),
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:1284:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		printf("\tifname %s\n", (char *)RTA_DATA(tb[DCB_ATTR_IFNAME]));
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:72:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char eth_p_lldp[2] = { 0x88, 0xcc };
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:73:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char eth_p_ecp[2] = { ETH_P_ECP >> 8, ETH_P_ECP & 0xff };
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:76:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *tokens[1024];	/* Used to parse command line params */
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:80:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char my_mac[ETH_ALEN];	/* My source MAC address */
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:136:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char vsi_uuid[16];	/* VSI UUID */
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:293:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[512], *cp = buf;
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:305:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(cp, my_mac, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:537:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char ecp_str[8];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:539:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(ecp_str, "%02x:%02x", eth_p_ecp[0], eth_p_ecp[1]);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:651:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1024 * 5];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:652:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmd[128];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:684:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char nearest_bridge[ETH_ALEN] = {
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:688:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char nearest_nontpmr_bridge[ETH_ALEN] = {
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:692:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char nearest_customer_bridge[ETH_ALEN] = {
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:732:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(my_mac, ifr.ifr_hwaddr.sa_data, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:739:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(mr.mr_address, &nearest_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:747:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(mr.mr_address, &nearest_customer_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:751:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(mr.mr_address, &nearest_nontpmr_bridge, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:798:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char out[2300];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:799:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tracebuf[128];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:810:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ehdr->h_dest, p->dst, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:811:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ehdr->h_source, p->src, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:812:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&ehdr->h_proto, p->ether, 2);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:814:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(outp, dup->data, dup->len);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:818:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(tracebuf, "sendout time(%ld)", p->time);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:881:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char txt[32];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:884:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(txt, "tlv id:%d len:%d",
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:907:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txt[32];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:914:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(txt, "tlv-id:%d len:%d", tlv_id(dup->data),
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:954:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[2300];
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1029:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(vdp->vsi_uuid, vdpdata + 6, sizeof vdp->vsi_uuid);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1077:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ack->dst, ethhdr->h_source, sizeof ethhdr->h_source);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1079:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ack->src, my_mac, sizeof ethhdr->h_source);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1081:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ack->ether, eth_p_ecp, sizeof ethhdr->h_proto);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1137:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ack->dst, ethhdr->h_source, sizeof ethhdr->h_source);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1139:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ack->src, my_mac, sizeof ethhdr->h_source);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1141:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ack->ether, eth_p_ecp, sizeof ethhdr->h_proto);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:1241:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[2300];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:163:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ap + 1, data, len);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:184:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, mynla_data(nla), len);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:367:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(vf_mac.mac, vsip->maclist[i].mac, ETH_ALEN);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:450:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(NLMSG_DATA(nlh), &ifinfo, sizeof(ifinfo));
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:791:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char mac[ETH_ALEN];	/* MAC address */
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:800:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[KEYLEN];	/* Profile name */
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:806:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char uuid[PORT_UUID_MAX];	/* Instance ID */
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:807:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char mgrid2[PORT_UUID_MAX];	/* Manager ID VDP22 */
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:815:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char uuid[PORT_UUID_MAX];	/* Instance ID */
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:822:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[KEYLEN];	/* Name of profile to use */
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:840:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *tokens[256];	/* Used to parse command line params */
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:849:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:935:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char uuidbuf[64];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1021:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char uuid[64];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1042:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char rcvbuf[2 * 1024];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1069:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msgbuf[256];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1096:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(NLMSG_DATA(nlh), &ifinfo, sizeof(ifinfo));
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1129:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char rcvbuf[2 * 1024];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1196:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char msgbuf[2 * 1024];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1860:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char uuid[64];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1863:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(uuid, "%d", found->mgrid);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1886:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(change->addr, alter->addr, sizeof alter->addr);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1897:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(change->uuid, alter->uuid, sizeof change->uuid);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1959:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(buf, "map");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1965:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(buf, "mgrid");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1971:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(buf, "typeid");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1977:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(buf, "typeidver");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1983:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(buf, "uuid");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1988:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(buf, "hints");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1994:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2148:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1024];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2152:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((fp = fopen(cfgfile, "r")) == NULL) {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2310:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(cmds[cmdidx].key, "---");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2482:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char uuidbuf[64], mgrid[64];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2486:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(mgrid, "%d", vdp->mgrid);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2619:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmd[MAX_CLIF_MSGBUF], ok[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2660:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ok[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2741:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *slash, mybuf[32];
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:146:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &oui, DCB_OUI_LEN);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:148:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&tlv->info[offset], &subtype, OUI_SUBTYPE_LEN);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:155:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:163:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:171:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:179:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:188:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:246:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tlv->info, &oui, DCB_OUI_LEN);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:248:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&tlv->info[offset], &subtype, OUI_SUBTYPE_LEN);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:255:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:263:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:271:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:279:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&tlv->info[offset], ptlv->tlv, ptlv->size);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:325:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tlv->info, &oper_version, sizeof(oper_version));
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:327:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tlv->info + i, &max_version, sizeof(max_version));
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:329:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tlv->info + i, &seqno, sizeof(seqno));
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:331:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tlv->info + i, &ackno ,sizeof(ackno));
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:737:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (&app_data->up_map, &(app_cfg.AppData[0]),
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:854:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dcbtlv->info, offset, dcbtlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:990:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dcbtlv->info, offset, dcbtlv->length);
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:1178:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&tmp32, &tlvs->manifest->dcbx_ctrl->info
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:1182:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&tmp32,&tlvs->manifest->dcbx_ctrl->info
data/lldpad-1.0.1+git20200210.2022b0c/tlv_dcbx.c:1538:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (&(peer_app.AppData[0]), 
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:517:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oui_name[VDP22_OUI_MAX_NAME];
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:591:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_ibuf[strlen(ibuf)];
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:628:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(cmd.ifname, ibuf + CMD_IF, len);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:894:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:898:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char reply[MAX_CLIF_MSGBUF];
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1050:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char attach_str[9] = "";
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1199:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[256];
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1234:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *cmd, *argv[max_args], *pos;
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1285:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char attach_str[9] = "";
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1337:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char attach_str[9] = "";
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:67:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	addrlen = sizeof(sa_family_t) + strlen(clif->local.sun_path + 1) + 1;
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:79:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	addrlen = sizeof(sa_family_t) + strlen(clif->dest.sun_path + 1) + 1;
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:167:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		buf = malloc(sizeof(char)*(strlen(tlvs_hex) + 2));
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:175:3:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
		sprintf(buf, "A");
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:180:3:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
		sprintf(buf, "D");
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:183:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = clif_request(clif, buf, strlen(buf), rbuf, &len, NULL);
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:327:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(ifname), ifname, NEAREST_CUSTOMER_BRIDGE, tlvid,
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:360:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	rc = hdr_set(ifname, cmd2, sizeof(cmd2), tlvid, cmd, strlen(cmd));
data/lldpad-1.0.1+git20200210.2022b0c/clif.c:363:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	rc = tool_send(connp, cmd2, strlen(cmd2), reply, reply_len, &resp);
data/lldpad-1.0.1+git20200210.2022b0c/config.c:549:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for (i = strlen(p); i > 0; i--)
data/lldpad-1.0.1+git20200210.2022b0c/config.c:561:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			for (i = strlen(p); i > 0; i--)
data/lldpad-1.0.1+git20200210.2022b0c/config.c:596:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(ifname)){
data/lldpad-1.0.1+git20200210.2022b0c/config.c:686:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(value, str, size);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:122:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 cmd_start, cmd_len, rbuf+strlen(rbuf), rlen);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:325:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:326:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 rsize - strlen(rbuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:331:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*rlen = strlen(rbuf);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:478:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	addrlen = sizeof(sa_family_t) + strlen(addr.sun_path + 1) + 1;
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:560:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		io[0].iov_len = strlen(modulestr);
data/lldpad-1.0.1+git20200210.2022b0c/ctrl_iface.c:566:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	io[1].iov_len = strlen(levelstr);
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1102:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(DEF_CFG_STORE));
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:1297:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(DEF_CFG_STORE))) {
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2260:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size = (int)strlen(it->second->pgid_desc[bwgid]) +
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2264:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(*name, it->second->pgid_desc[bwgid],
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2272:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			size = (int)strlen(
data/lldpad-1.0.1+git20200210.2022b0c/dcb_protocol.c:2300:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size = (unsigned int)strlen(name);  /* Localization OK */
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c:296:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = clif_request(clif, cmd, strlen(cmd), buf, &len,
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c:373:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncasecmp(cmd->cmd, argv[0], strlen(argv[0])) == 0) {
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool.c:384:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strncasecmp(cmd->cmd, argv[0], strlen(argv[0])) ==
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:138:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (p != NULL && strlen(p) < MAX_DESCRIPTION_LEN - 1) {
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:139:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			sprintf(buf+j, "%02x", (unsigned int) strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:141:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			memcpy(buf+j, p, strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:142:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			j += strlen(p);
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:257:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (p != NULL && strlen(p) < sizeof(buf)-5) {
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:258:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sprintf(buf+j, "%02x", (unsigned int)strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:260:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memcpy(buf+j, p, strlen(p));
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:261:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		j += strlen(p);
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:364:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(buf + strlen(buf), sizeof(buf)-strlen(buf),
data/lldpad-1.0.1+git20200210.2022b0c/dcbtool_cmds.c:364:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(buf + strlen(buf), sizeof(buf)-strlen(buf),
data/lldpad-1.0.1+git20200210.2022b0c/include/lldp.h:57:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (DEST, SRC, N - 1); \
data/lldpad-1.0.1+git20200210.2022b0c/include/vdp_cisco.h:138:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((key_len <= strlen(token)) &&
data/lldpad-1.0.1+git20200210.2022b0c/lldp/ports.c:267:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(newport->ifname, ifname, sizeof(newport->ifname) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:473:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	err = nla_put(nlm, DCB_ATTR_IFNAME, strlen(ifname)+1, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:836:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	err = nla_put(nlm, DCB_ATTR_IFNAME, strlen(ifname)+1, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:997:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	err = nla_put(nlm, DCB_ATTR_IFNAME, strlen(ifname)+1, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz.c:1095:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	err = nla_put(nlm, DCB_ATTR_IFNAME, strlen(ifname)+1, ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_clif.c:86:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_clif.c:88:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:165:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int) strlen(args), args,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:166:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int) strlen(buf), buf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:256:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:259:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:260:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			willing ? (unsigned int)strlen(VAL_YES) :
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:261:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				  (unsigned int)strlen(VAL_NO),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:380:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int) strlen(args), args, 1, max_tcs);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:383:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int) strlen(args), args, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:423:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:424:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(buf), buf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:427:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:601:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int) strlen(args), args,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:602:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int) strlen(buf), buf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:605:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int) strlen(args), args, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:666:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
	strncat(obuf, "tcbw = ", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:666:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(obuf, "tcbw = ", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:671:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(obuf, cat, obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:671:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncat(obuf, cat, obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:673:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
	strncat(obuf, "\n", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:673:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(obuf, "\n", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:725:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:726:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(buf), buf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:729:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:814:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
	strncat(obuf, "TSA = ", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:814:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(obuf, "TSA = ", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:820:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(obuf, cnt, obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:820:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncat(obuf, cnt, obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:822:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		space_left = obuf_len - strlen(obuf) - 1;
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:826:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
				strncat(obuf, "strict ", space_left);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:829:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
				strncat(obuf, "cb_shaper ", space_left);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:832:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
				strncat(obuf, "ets ", space_left);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:835:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
				strncat(obuf, "vendor ", space_left);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:838:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
				strncat(obuf, "unknown ", space_left);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:843:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
	strncat(obuf, "\n", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:843:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(obuf, "\n", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:892:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args, 2, pfc);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:895:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:961:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
	strncat(obuf, "prio = ", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:961:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(obuf, "prio = ", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:972:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(obuf, val, obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:972:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strncat(obuf, val, obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:975:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
	strncat(obuf, "\n", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:975:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(obuf, "\n", obuf_len - strlen(obuf) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1030:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args, 2, delay);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1033:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(unsigned int) strlen(args), args, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1096:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
			strncat(new_app, "hw (pending set)\n",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1097:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				sizeof(new_app) - strlen(new_app) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1100:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
			strncat(new_app, "hw (pending delete)\n",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1101:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				sizeof(new_app) - strlen(new_app) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1104:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
			strncat(new_app, "hw (set)\n",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1105:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				sizeof(new_app) - strlen(new_app) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1108:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
			strncat(new_app, " hw (unknown)\n",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1109:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				sizeof(new_app) - strlen(new_app) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1193:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(app_buf, new_app, sizeof(app_buf) - strlen(app_buf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1193:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncat(app_buf, new_app, sizeof(app_buf) - strlen(app_buf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1216:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(app_buf, new_app,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1217:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				sizeof(app_buf) - strlen(app_buf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1222:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int) strlen(args), args,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1223:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int) strlen(app_buf), app_buf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1289:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
		strncat(obuf, ": priority out of range",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1290:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			obuf_len - strlen(obuf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1294:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
		strncat(obuf, ": selector out of range",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1295:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			obuf_len - strlen(obuf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1299:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
		strncat(obuf, ": pid out of range",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1300:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			obuf_len - strlen(obuf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1304:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
		strncat(obuf, ": Ethertype < 1536",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1305:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			obuf_len - strlen(obuf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1309:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
		strncat(obuf, ": DSCP > 63",
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1310:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			obuf_len - strlen(obuf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1389:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(obuf, new_app, obuf_len - strlen(obuf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1389:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncat(obuf, new_app, obuf_len - strlen(obuf) - 2);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1467:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(obuf, obuf_len, "%02x%s%04x%s", (unsigned int)strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8021qaz_cmds.c:1468:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_clif.c:77:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_clif.c:79:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_cmds.c:91:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(obuf, obuf_len, "%02x%s%04x%s", (unsigned int)strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_8023_cmds.c:92:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:133:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen(desc);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:200:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(desc, node_name, sizeof(desc));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:204:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = strlen(desc);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman.c:260:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen(desc);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_clif.c:77:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_clif.c:79:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:113:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:113:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:205:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int)strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:206:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int)strlen(info_str), info_str);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:230:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(argvalue) < 1)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:282:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 strlen(arg), arg, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:285:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 strlen(arg), arg, strlen(p), p);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:285:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 strlen(arg), arg, strlen(p), p);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:307:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 strlen(arg), arg, 0);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:310:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 strlen(arg), arg, strlen(p), p);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_basman_cmds.c:310:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 strlen(arg), arg, strlen(p), p);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_cisco_clif.c:61:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_cisco_clif.c:63:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:804:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(DEF_CFG_STORE)));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:964:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(attribs->descript.pgid_desc[i],
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cfg.c:1012:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(app_cfg_hex);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_clif.c:68:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_clif.c:70:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:124:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(obuf, obuf_len, "%02zx%s%04zx%s", strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:125:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:257:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	plen=strlen(port_id);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:330:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	plen = strlen(port_id);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:343:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					(unsigned int) strlen(desc_str),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:360:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	plen = strlen(port_id);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:528:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			status = get_dcbx_config(cmd, rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:605:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			status = get_dcb_state(port_id, rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:635:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:639:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:668:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				cmd, rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:672:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:700:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:703:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					subtype, rbuf + strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:733:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				cmd, rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:736:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					port_id, subtype, rbuf + strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:743:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					      rbuf+strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:954:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	plen=strlen(port_id);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1101:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	plen=strlen(port_id);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1135:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	plen=strlen(port_id);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1165:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	off = DCB_PORT_OFF + strlen(port_id) + CFG_LEN;
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1192:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		CLIF_EV_VERSION, (unsigned int)strlen(dn), dn, FEATURE_PFC,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1203:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		CLIF_EV_VERSION, (unsigned int)strlen(dn), dn, FEATURE_PG,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1214:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		CLIF_EV_VERSION, (unsigned int)strlen(dn), dn, FEATURE_APP,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_cmds.c:1226:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		CLIF_EV_VERSION, (unsigned int)strlen(dn), dn, FEATURE_LLINK,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:267:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:304:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:330:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:358:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:384:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:449:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:478:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:565:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)name, strlen(name) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:783:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_dcbx_nl.c:816:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:70:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(bridge_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:76:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(bridge_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:88:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(station_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22.c:94:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(station_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:49:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(bridge_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:55:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(bridge_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:67:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(station_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:73:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(station_txt, ",");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:129:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_clif.c:131:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:259:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:259:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:419:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:419:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:602:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb22_cmds.c:602:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_clif.c:57:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_clif.c:59:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:206:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:206:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:297:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:297:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:378:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(t, " ");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:384:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(t, " ");
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:388:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(arg), arg, (unsigned int) strlen(t), t);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:388:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(arg), arg, (unsigned int) strlen(t), t);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:493:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(arg), arg, (unsigned int) strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:493:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(arg), arg, (unsigned int) strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:563:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_evb_cmds.c:563:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:135:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy((char *)chassis->id.ifname, md->ifname, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:137:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return strlen(md->ifname) + sizeof(chassis->sub);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:401:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy((char *)portid.id.ifname, md->ifname, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand.c:402:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen(md->ifname) + sizeof(portid.sub);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_clif.c:74:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_clif.c:76:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:177:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:178:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(string), string);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:312:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:313:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(string), string);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:419:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(obuf, obuf_len, "%02x%s%04x%s", (unsigned int)strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:420:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:451:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(obuf, obuf_len, "%02x%s%04x%s", (unsigned int)strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:452:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:483:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				nbuf_len -= strlen(nbuf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:484:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				nbuf = nbuf + strlen(nbuf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:708:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(rbuf + 2*i, rlen - strlen(rbuf), "%02x", tlvs[i]);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:722:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(rbuf+offset, rlen - strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:725:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(rbuf+offset, rlen - strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:728:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(rbuf+offset, rlen - strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:731:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(rbuf+offset, rlen - strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:734:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(rbuf+offset, rlen - strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:737:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(rbuf+offset, rlen - strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:740:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(rbuf+offset, rlen - strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:824:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int)strlen(cmd.ifname), cmd.ifname);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:825:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	roff = strlen(rbuf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:848:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							 rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:849:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							 rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:856:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							 rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:857:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							 rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:865:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						  rbuf+strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:866:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						  rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:877:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:878:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:883:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:884:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:889:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldp_mand_cmds.c:890:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						 rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:249:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, PATH_INV_HWREV, sizeof(path) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:252:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, PATH_INV_FWREV, sizeof(path) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:256:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(buf, uts.release, size - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:261:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, PATH_INV_SWREV, sizeof(path) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:264:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, PATH_INV_SERIAL, sizeof(path) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:267:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, PATH_INV_MANUFACTURER, sizeof(path) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:270:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, PATH_INV_MODELNAME, sizeof(path) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:273:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, PATH_INV_ASSETID, sizeof(path) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:293:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return strlen(buf);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med.c:533:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = strlen(locstr) / 2;
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_clif.c:98:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_clif.c:100:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_cmds.c:108:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(arg), arg, strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_cmds.c:108:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(arg), arg, strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_cmds.c:230:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	snprintf(obuf, obuf_len, "%02x%s%04x%s", (unsigned int)strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_med_cmds.c:231:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int)strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_orgspec_clif.c:88:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/lldp_orgspec_clif.c:90:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:131:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		add_rtattr(&req.nh, IFLA_IFNAME, ifname, strlen(ifname));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:175:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		add_rtattr(&req.nh, IFLA_IFNAME, ifname, strlen(ifname));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:206:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		add_rtattr(nlh, IFLA_IFNAME, ifname, strlen(ifname));
data/lldpad-1.0.1+git20200210.2022b0c/lldp_rtnl.c:298:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rtattr(&req.nh, DCB_ATTR_IFNAME, ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:268:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(act_ifname, ifs.slave_name,
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1095:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(ipaddr, inet_ntoa(sa.sin_addr), size);
data/lldpad-1.0.1+git20200210.2022b0c/lldp_util.c:1191:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(src) != MAC_ADDR_STRLEN)
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:159:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		ctrl_iface_send(cd, level, moduleid, msg, strlen(msg));
data/lldpad-1.0.1+git20200210.2022b0c/lldpad.c:325:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
				usleep(10000);
data/lldpad-1.0.1+git20200210.2022b0c/lldpad_shm.c:459:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(shmaddr->ent[i].ifname))
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:307:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = clif_request(clif, cmd, strlen(cmd), buf, &len,
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:476:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(command.ifname, optarg, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:588:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    strlen(argv[optind])) == 0) {
data/lldpad-1.0.1+git20200210.2022b0c/lldptool.c:603:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    strlen(argv[optind])) == 0)
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:54:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		cmd->cmd, cmd->ops, (unsigned int) strlen(cmd->ifname),
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:59:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(cmd->obuf+strlen(cmd->obuf), len-strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:59:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(cmd->obuf+strlen(cmd->obuf), len-strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:65:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(cmd->obuf+strlen(cmd->obuf), len-strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:65:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(cmd->obuf+strlen(cmd->obuf), len-strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:66:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				"%02x%s", (unsigned int)strlen(args[i]), args[i]);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:68:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(cmd->obuf+strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:69:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 len-strlen(cmd->obuf), "%04x%s",
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:70:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 (unsigned int)strlen(argvals[i]), argvals[i]);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:73:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return strlen(cmd->obuf);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:85:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen(str); i++)
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:89:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen(str); i++)
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:93:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (i < strlen(str)) {
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:383:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int ilen = strlen(ibuf);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:433:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ilen = strlen(ibuf);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:438:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ilen = strlen(ibuf + offset);
data/lldpad-1.0.1+git20200210.2022b0c/lldptool_cmds.c:513:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for(i = 0; strlen(stat_names[i]); i++) {
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22.c:186:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, (char *)p->mgrid, len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_clif.c:72:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_clif.c:74:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(tn->key) + 3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:93:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncasecmp(ah->arg, arg, strlen(ah->arg))) {
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:247:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(unsigned int)strlen(cmd.ifname), cmd.ifname);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:248:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	roff = strlen(rbuf);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:259:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:260:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:264:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:265:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:271:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						rbuf + strlen(rbuf),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:272:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						rlen - strlen(rbuf));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:287:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(tmp_buf);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:294:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		   p->ifname, p, p->vsi_uuid[0], strlen(msg), msg);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:441:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(tmp_buf);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:449:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			used = strlen(out);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:536:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(tmp_buf);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:544:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				used = strlen(out);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22_cmds.c:580:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(vsi.ifname, cmd->ifname, sizeof(vsi.ifname));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:66:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(token);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:93:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(vdp_cisco_oui_p->vm_name, token, data_len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:106:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(uuid, token, data_len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:132:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(v4_addr_str, token, data_len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:174:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(to->oui_name, from->oui_name, sizeof(to->oui_name));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:200:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(to_oui->vm_name, from_oui->vm_name,
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:238:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen("cisco"), "cisco");
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:244:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			     (unsigned int)strlen(CISCO_OUI_NAME_ARG_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:258:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			     (unsigned int)strlen(CISCO_OUI_NAME_UUID_ARG_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:260:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			     (unsigned int)strlen(uuid_str), uuid_str);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:271:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			     (unsigned int)strlen(CISCO_OUI_L3V4ADDR_ARG_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:280:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(tmp_out_buf),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp22cisco_oui.c:304:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(to->oui_name, from->oui_name, sizeof(to->oui_name));
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:67:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t buffer_len = strlen(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:198:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t cnt = 0, i, slen = strlen(s);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:242:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(oui_name, temp_argval, oui_name_len);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:251:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(vsi->oui_list[idx].oui_name, oui_name,
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:271:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(s) == 1) {
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:348:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int ilen = strlen(orig_argvalue);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:485:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(vsi->ifname, ifname, sizeof(vsi->ifname) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:538:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(VSI22_ARG_FILTER_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:574:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	c = snprintf(s, length, "%04x%s", (unsigned int)strlen(tmp_buf),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:618:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(VSI22_ARG_MODE_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:620:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(mode2str(p->request)),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:622:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(VSI22_ARG_MGRID_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:624:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(instance), instance,
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:625:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(VSI22_ARG_TYPEID_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:628:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(VSI22_ARG_TYPEIDVER_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:637:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(VSI22_ARG_VSIID_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:638:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     VSI22_ARG_VSIID_STR, (unsigned int)strlen(instance),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:640:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(VSI22_ARG_HINTS_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_ascii.c:664:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				     (unsigned int)strlen(VSI22_ARG_OUI_STR),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_clif.c:124:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               if (tn->key && strlen(tn->key) && tn->name) {
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_clif.c:126:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                       if (strlen(tn->key)+3 < 8)
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:130:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 strlen(arg), arg, strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:130:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 strlen(arg), arg, strlen(s), s);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:212:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(mode_str),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:212:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(arg), arg, (unsigned int)strlen(mode_str),
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:221:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i <= strlen(buffer); i++) {
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:392:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(arg), arg,
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:393:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int) strlen(p), p);
data/lldpad-1.0.1+git20200210.2022b0c/qbg/vdp_cmds.c:607:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (unsigned int)strlen(cmd.ifname), cmd.ifname);
data/lldpad-1.0.1+git20200210.2022b0c/test/lldp_clif_test.c:92:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	print_mng_addr(strlen(mgmt_info_test), mgmt_info_test);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:285:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:304:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:346:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:402:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:440:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:527:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:571:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:666:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:689:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:768:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:900:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:1042:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:1119:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_rta(nlh, DCB_ATTR_IFNAME, (void *)ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:1207:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	addattr_l(nlh, DCB_ATTR_IFNAME, ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/nltest.c:1247:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	addattr_l(nlh, DCB_ATTR_IFNAME, ifname, strlen(ifname) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:326:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pos = (strlen((const char *)buf) + 1) / 2;
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:634:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		else if (*(cp + strlen(cp) - 1) == '\\') {
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:636:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			*(cp + strlen(cp) - 1) = '\0';
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:637:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			off = strlen(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:641:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memmove(buffer, cp, strlen(cp) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:710:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
data/lldpad-1.0.1+git20200210.2022b0c/test/qbg22sim.c:857:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(timerfd, &expired, sizeof expired) != sizeof expired) {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:451:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	mynla_put(nlh, IFLA_IFNAME, 1 + strlen(vsip->ifname), vsip->ifname);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1097:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	mynla_put(nlh, IFLA_IFNAME, 1 + strlen(ifname), ifname);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1132:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(cp->delay * 1000);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1266:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(p->ifname, ifname, sizeof(p->ifname) - 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1437:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(vsidata[i].key, name, strlen(name)))
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1723:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(value) >= DIM(profile->key) - 1) {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1763:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(keytable[i], word, strlen(keytable[i])))
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1964:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(buf, ",");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1970:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(buf, ",");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1976:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(buf, ",");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1982:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(buf, ",");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:1987:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(buf, ",");
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2050:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(vdp->key, newkey, sizeof vdp->key);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2076:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp(profile, COPY_OP, strlen(COPY_OP))) {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2080:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	newkey = profile + strlen(COPY_OP);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2095:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp(buf, COPY_OP, strlen(COPY_OP)) == 0)
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2134:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		else if (*(cp + strlen(cp) - 1) == '\\') {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2136:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			*(cp + strlen(cp) - 1) = '\0';
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2137:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			off = strlen(buffer);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2141:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memmove(buffer, cp, strlen(cp) + 1);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2239:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (!equal) {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2307:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(cmds[cmdidx].key, tokens[i], strlen(tokens[i]));
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2307:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncpy(cmds[cmdidx].key, tokens[i], strlen(tokens[i]));
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2315:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (!equal) {
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2495:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(cmd);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2500:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(cmd);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2509:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(cmd);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2514:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return strlen(cmd);
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2667:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	else if (cmdp->rc == 0 && !strncmp(ok, "deassoc", strlen("deassoc")))
data/lldpad-1.0.1+git20200210.2022b0c/test/vdptest.c:2787:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
				strncpy(mybuf, "w=1", sizeof mybuf);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:154:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen(str); i++)
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:158:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen(str); i++)
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:162:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (i < strlen(str)) {
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:184:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (unsigned int)strlen(oui_data->oui_name), oui_data->oui_name);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:197:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(oui_data->data);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:287:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (!strncasecmp(args[i], "filter", strlen("filter")))
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:289:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			else if (!strncasecmp(args[i], "oui", strlen("oui"))) {
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:307:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		cmd->cmd, cmd->ops, (unsigned int) strlen(cmd->ifname),
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:312:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(cmd->obuf + strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:313:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 len - strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:314:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 "%02x%s", (unsigned int)strlen(args[i]),
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:317:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(cmd->obuf + strlen(cmd->obuf),
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:318:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 len - strlen(cmd->obuf), "%04x%s",
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:319:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 (unsigned int)strlen(argvals[i]), argvals[i]);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:326:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return strlen(cmd->obuf);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:528:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(oui_name, temp_argval, oui_name_len);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:563:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int ilen = strlen(ibuf);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:588:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t ilen = strlen(ibuf);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:591:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char tmp_ibuf[strlen(ibuf)];
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:599:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(tmp_ibuf, ibuf + offset, vsi_len);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:908:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret = clif_request(clif, cmd, strlen(cmd), buf, &len, cli_msg_cb);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1073:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(command.ifname, optarg, IFNAMSIZ);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1156:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    strlen(argv[optind])) == 0) {
data/lldpad-1.0.1+git20200210.2022b0c/vdptool.c:1171:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    strlen(argv[optind])) == 0)
data/lldpad-1.0.1+git20200210.2022b0c/vdptool_cisco_oui.c:51:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int)strlen(key), key,
data/lldpad-1.0.1+git20200210.2022b0c/vdptool_cisco_oui.c:52:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 (unsigned int)strlen(data), data);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool_cisco_oui.c:72:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(token);
data/lldpad-1.0.1+git20200210.2022b0c/vdptool_cisco_oui.c:99:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(v4_addr_str, token, data_len);

ANALYSIS SUMMARY:

Hits = 1167
Lines analyzed = 65021 in approximately 1.86 seconds (34955 lines/second)
Physical Source Lines of Code (SLOC) = 47308
Hits@level = [0] 1452 [1] 443 [2] 683 [3]   9 [4]  32 [5]   0
Hits@level+ = [0+] 2619 [1+] 1167 [2+] 724 [3+]  41 [4+]  32 [5+]   0
Hits/KSLOC@level+ = [0+] 55.3606 [1+] 24.6681 [2+] 15.304 [3+] 0.866661 [4+] 0.676418 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.