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/iptables-1.8.6/libipq/libipq.c
Examining data/iptables-1.8.6/libxtables/xtoptions.c
Examining data/iptables-1.8.6/libxtables/xtables.c
Examining data/iptables-1.8.6/libxtables/getethertype.c
Examining data/iptables-1.8.6/libiptc/linux_stddef.h
Examining data/iptables-1.8.6/libiptc/libip6tc.c
Examining data/iptables-1.8.6/libiptc/libiptc.c
Examining data/iptables-1.8.6/libiptc/linux_list.h
Examining data/iptables-1.8.6/libiptc/libip4tc.c
Examining data/iptables-1.8.6/utils/nfnl_osf.c
Examining data/iptables-1.8.6/utils/nfsynproxy.c
Examining data/iptables-1.8.6/utils/nfbpf_compile.c
Examining data/iptables-1.8.6/iptables/ip6tables-multi.h
Examining data/iptables-1.8.6/iptables/xtables-save.c
Examining data/iptables-1.8.6/iptables/xtables-standalone.c
Examining data/iptables-1.8.6/iptables/nft-cmd.h
Examining data/iptables-1.8.6/iptables/xtables-arp.c
Examining data/iptables-1.8.6/iptables/nft-cache.h
Examining data/iptables-1.8.6/iptables/xtables-multi.h
Examining data/iptables-1.8.6/iptables/nft-arp.h
Examining data/iptables-1.8.6/iptables/xtables-eb-standalone.c
Examining data/iptables-1.8.6/iptables/iptables-multi.h
Examining data/iptables-1.8.6/iptables/nft-cache.c
Examining data/iptables-1.8.6/iptables/xtables-eb.c
Examining data/iptables-1.8.6/iptables/iptables-standalone.c
Examining data/iptables-1.8.6/iptables/nft-arp.c
Examining data/iptables-1.8.6/iptables/xtables-nft-multi.c
Examining data/iptables-1.8.6/iptables/xtables.c
Examining data/iptables-1.8.6/iptables/ip6tables.c
Examining data/iptables-1.8.6/iptables/nft-shared.c
Examining data/iptables-1.8.6/iptables/xshared.h
Examining data/iptables-1.8.6/iptables/xtables-arp-standalone.c
Examining data/iptables-1.8.6/iptables/nft-ipv6.c
Examining data/iptables-1.8.6/iptables/xshared.c
Examining data/iptables-1.8.6/iptables/iptables-xml.c
Examining data/iptables-1.8.6/iptables/nft-cmd.c
Examining data/iptables-1.8.6/iptables/nft.c
Examining data/iptables-1.8.6/iptables/nft-bridge.c
Examining data/iptables-1.8.6/iptables/iptables-save.c
Examining data/iptables-1.8.6/iptables/nft-shared.h
Examining data/iptables-1.8.6/iptables/nft-ipv4.c
Examining data/iptables-1.8.6/iptables/iptables.c
Examining data/iptables-1.8.6/iptables/nft.h
Examining data/iptables-1.8.6/iptables/xtables-monitor.c
Examining data/iptables-1.8.6/iptables/xtables-legacy-multi.c
Examining data/iptables-1.8.6/iptables/nft-bridge.h
Examining data/iptables-1.8.6/iptables/xtables-restore.c
Examining data/iptables-1.8.6/iptables/ip6tables-standalone.c
Examining data/iptables-1.8.6/iptables/xtables-translate.c
Examining data/iptables-1.8.6/iptables/iptables-restore.c
Examining data/iptables-1.8.6/iptables/xtables-eb-translate.c
Examining data/iptables-1.8.6/include/libipq/libipq.h
Examining data/iptables-1.8.6/include/libipulog/libipulog.h
Examining data/iptables-1.8.6/include/libiptc/libxtc.h
Examining data/iptables-1.8.6/include/libiptc/libiptc.h
Examining data/iptables-1.8.6/include/libiptc/xtcshared.h
Examining data/iptables-1.8.6/include/libiptc/ipt_kernel_headers.h
Examining data/iptables-1.8.6/include/libiptc/libip6tc.h
Examining data/iptables-1.8.6/include/ip6tables.h
Examining data/iptables-1.8.6/include/iptables.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_frag.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_REJECT.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_opts.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6_tables.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_rt.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_LOG.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_mh.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_hl.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_ah.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_NPT.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_ipv6header.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_srh.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_HL.h
Examining data/iptables-1.8.6/include/linux/netfilter_bridge.h
Examining data/iptables-1.8.6/include/linux/netfilter_arp/arpt_mangle.h
Examining data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_iprange.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_osf.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_socket.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_limit.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_cluster.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_addrtype.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_quota.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_set.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_devgroup.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_connlabel.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_cgroup.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_TPROXY.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_sctp.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_pkttype.h
Examining data/iptables-1.8.6/include/linux/netfilter/ipset/ip_set.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_ecn.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_SECMARK.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_dscp.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_esp.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_policy.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_connlimit.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_rpfilter.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_cpu.h
Examining data/iptables-1.8.6/include/linux/netfilter/x_tables.h
Examining data/iptables-1.8.6/include/linux/netfilter/nf_conntrack_common.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_connbytes.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_length.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_physdev.h
Examining data/iptables-1.8.6/include/linux/netfilter/nfnetlink.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_LED.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_multiport.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_connmark.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_CT.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_HMARK.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_nfacct.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_NFQUEUE.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_TCPMSS.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_u32.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_statistic.h
Examining data/iptables-1.8.6/include/linux/netfilter/nf_conntrack_tuple_common.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_time.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_RATEEST.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_tcpudp.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_TCPOPTSTRIP.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_state.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_SYNPROXY.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_ipvs.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_NFLOG.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_owner.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_mark.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_rateest.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_dccp.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_hashlimit.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_AUDIT.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_conntrack.h
Examining data/iptables-1.8.6/include/linux/netfilter/nf_nat.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_mac.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_CLASSIFY.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_bpf.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_DSCP.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_comment.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_realm.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_tcpmss.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_recent.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_string.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_CONNSECMARK.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_MARK.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_ipcomp.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_TEE.h
Examining data/iptables-1.8.6/include/linux/netfilter/nf_tables_compat.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_IDLETIMER.h
Examining data/iptables-1.8.6/include/linux/netfilter/nf_tables.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_CHECKSUM.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_CONNMARK.h
Examining data/iptables-1.8.6/include/linux/netfilter/xt_helper.h
Examining data/iptables-1.8.6/include/linux/kernel.h
Examining data/iptables-1.8.6/include/linux/filter.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4.h
Examining data/iptables-1.8.6/include/linux/netfilter_arp.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ECN.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_REJECT.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_tables.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_realm.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_queue.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ULOG.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_addrtype.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ttl.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_TTL.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_LOG.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ah.h
Examining data/iptables-1.8.6/include/linux/netfilter_bridge/ebt_802_3.h
Examining data/iptables-1.8.6/include/linux/netfilter_bridge/ebt_mark_t.h
Examining data/iptables-1.8.6/include/linux/netfilter_bridge/ebt_ip.h
Examining data/iptables-1.8.6/include/linux/netfilter_bridge/ebt_mark_m.h
Examining data/iptables-1.8.6/include/linux/netfilter.h
Examining data/iptables-1.8.6/include/linux/netfilter_ipv6.h
Examining data/iptables-1.8.6/include/linux/types.h
Examining data/iptables-1.8.6/include/xtables.h
Examining data/iptables-1.8.6/include/iptables/internal.h
Examining data/iptables-1.8.6/extensions/libxt_tcp.c
Examining data/iptables-1.8.6/extensions/libebt_redirect.c
Examining data/iptables-1.8.6/extensions/libebt_arpreply.c
Examining data/iptables-1.8.6/extensions/libxt_devgroup.c
Examining data/iptables-1.8.6/extensions/libxt_hashlimit.c
Examining data/iptables-1.8.6/extensions/libxt_SYNPROXY.c
Examining data/iptables-1.8.6/extensions/libipt_CLUSTERIP.c
Examining data/iptables-1.8.6/extensions/libebt_mark_m.c
Examining data/iptables-1.8.6/extensions/libipt_ttl.c
Examining data/iptables-1.8.6/extensions/libxt_iprange.c
Examining data/iptables-1.8.6/extensions/libxt_set.c
Examining data/iptables-1.8.6/extensions/libxt_CONNSECMARK.c
Examining data/iptables-1.8.6/extensions/libxt_connlabel.c
Examining data/iptables-1.8.6/extensions/libebt_802_3.c
Examining data/iptables-1.8.6/extensions/libxt_tos.c
Examining data/iptables-1.8.6/extensions/libxt_SECMARK.c
Examining data/iptables-1.8.6/extensions/libxt_dscp.c
Examining data/iptables-1.8.6/extensions/libxt_CLASSIFY.c
Examining data/iptables-1.8.6/extensions/libxt_pkttype.c
Examining data/iptables-1.8.6/extensions/libxt_standard.c
Examining data/iptables-1.8.6/extensions/libxt_helper.c
Examining data/iptables-1.8.6/extensions/libipt_REDIRECT.c
Examining data/iptables-1.8.6/extensions/libxt_TRACE.c
Examining data/iptables-1.8.6/extensions/libxt_time.c
Examining data/iptables-1.8.6/extensions/libebt_log.c
Examining data/iptables-1.8.6/extensions/libxt_conntrack.c
Parsing failed to find end of parameter list; semicolon terminated it in ((r), (l), offsetof(typeof(*(l)), sizeof(*info));

	struct xt_conntrack_mtinfo2 *info = cb->data;
	struct xt_conntrack_mtinfo3 up;

	memset(&up, 0, sizeof(up));
	memcpy(&up, info, sizeof(*info));
	up.
Examining data/iptables-1.8.6/extensions/libxt_dccp.c
Examining data/iptables-1.8.6/extensions/libip6t_HL.c
Examining data/iptables-1.8.6/extensions/libxt_TPROXY.c
Examining data/iptables-1.8.6/extensions/libipt_DNAT.c
Examining data/iptables-1.8.6/extensions/libxt_ecn.c
Examining data/iptables-1.8.6/extensions/libipt_REJECT.c
Examining data/iptables-1.8.6/extensions/libipt_MASQUERADE.c
Examining data/iptables-1.8.6/extensions/libebt_ip6.c
Examining data/iptables-1.8.6/extensions/libxt_multiport.c
Examining data/iptables-1.8.6/extensions/libxt_connlimit.c
Examining data/iptables-1.8.6/extensions/libip6t_icmp6.c
Examining data/iptables-1.8.6/extensions/libxt_TCPOPTSTRIP.c
Examining data/iptables-1.8.6/extensions/libip6t_rt.c
Examining data/iptables-1.8.6/extensions/libip6t_SNAT.c
Examining data/iptables-1.8.6/extensions/libxt_addrtype.c
Examining data/iptables-1.8.6/extensions/libxt_IDLETIMER.c
Examining data/iptables-1.8.6/extensions/libip6t_srh.c
Examining data/iptables-1.8.6/extensions/libebt_dnat.c
Examining data/iptables-1.8.6/extensions/libip6t_DNAT.c
Examining data/iptables-1.8.6/extensions/libipt_icmp.c
Examining data/iptables-1.8.6/extensions/libip6t_ah.c
Examining data/iptables-1.8.6/extensions/libebt_vlan.c
Examining data/iptables-1.8.6/extensions/libebt_nflog.c
Examining data/iptables-1.8.6/extensions/libip6t_hbh.c
Examining data/iptables-1.8.6/extensions/libxt_set.h
Examining data/iptables-1.8.6/extensions/libxt_connmark.c
Examining data/iptables-1.8.6/extensions/libxt_mark.c
Examining data/iptables-1.8.6/extensions/libxt_RATEEST.c
Examining data/iptables-1.8.6/extensions/libip6t_MASQUERADE.c
Examining data/iptables-1.8.6/extensions/libxt_DSCP.c
Examining data/iptables-1.8.6/extensions/libxt_connbytes.c
Examining data/iptables-1.8.6/extensions/libxt_TCPMSS.c
Examining data/iptables-1.8.6/extensions/libxt_physdev.c
Examining data/iptables-1.8.6/extensions/libxt_TEE.c
Examining data/iptables-1.8.6/extensions/libxt_quota.c
Examining data/iptables-1.8.6/extensions/libxt_NFQUEUE.c
Examining data/iptables-1.8.6/extensions/libxt_rateest.c
Examining data/iptables-1.8.6/extensions/libxt_nfacct.c
Examining data/iptables-1.8.6/extensions/libip6t_DNPT.c
Examining data/iptables-1.8.6/extensions/libxt_cluster.c
Examining data/iptables-1.8.6/extensions/libxt_recent.c
Examining data/iptables-1.8.6/extensions/libip6t_REDIRECT.c
Examining data/iptables-1.8.6/extensions/libxt_string.c
Examining data/iptables-1.8.6/extensions/libxt_CONNMARK.c
Examining data/iptables-1.8.6/extensions/libxt_tcpmss.c
Examining data/iptables-1.8.6/extensions/libxt_udp.c
Examining data/iptables-1.8.6/extensions/libxt_statistic.c
Examining data/iptables-1.8.6/extensions/libip6t_eui64.c
Examining data/iptables-1.8.6/extensions/libxt_HMARK.c
Examining data/iptables-1.8.6/extensions/libxt_ipvs.c
Examining data/iptables-1.8.6/extensions/libxt_socket.c
Examining data/iptables-1.8.6/extensions/libipt_realm.c
Examining data/iptables-1.8.6/extensions/libxt_u32.c
Examining data/iptables-1.8.6/extensions/libxt_CHECKSUM.c
Examining data/iptables-1.8.6/extensions/libipt_ULOG.c
Examining data/iptables-1.8.6/extensions/libxt_sctp.c
Examining data/iptables-1.8.6/extensions/libxt_owner.c
Examining data/iptables-1.8.6/extensions/tos_values.c
Examining data/iptables-1.8.6/extensions/libebt_ip.c
Examining data/iptables-1.8.6/extensions/libxt_cpu.c
Examining data/iptables-1.8.6/extensions/libxt_esp.c
Examining data/iptables-1.8.6/extensions/libxt_limit.c
Examining data/iptables-1.8.6/extensions/libarpt_mangle.c
Examining data/iptables-1.8.6/extensions/libxt_comment.c
Examining data/iptables-1.8.6/extensions/libip6t_frag.c
Examining data/iptables-1.8.6/extensions/libxt_MARK.c
Examining data/iptables-1.8.6/extensions/libip6t_mh.c
Examining data/iptables-1.8.6/extensions/libipt_SNAT.c
Examining data/iptables-1.8.6/extensions/libipt_NETMAP.c
Examining data/iptables-1.8.6/extensions/libxt_policy.c
Examining data/iptables-1.8.6/extensions/libipt_ECN.c
Examining data/iptables-1.8.6/extensions/libebt_arp.c
Examining data/iptables-1.8.6/extensions/libebt_mark.c
Examining data/iptables-1.8.6/extensions/libxt_length.c
Examining data/iptables-1.8.6/extensions/libxt_ipcomp.c
Examining data/iptables-1.8.6/extensions/libxt_osf.c
Examining data/iptables-1.8.6/extensions/libxt_CT.c
Examining data/iptables-1.8.6/extensions/libip6t_SNPT.c
Examining data/iptables-1.8.6/extensions/libipt_ah.c
Examining data/iptables-1.8.6/extensions/libxt_SET.c
Examining data/iptables-1.8.6/extensions/dscp_helper.c
Examining data/iptables-1.8.6/extensions/libebt_pkttype.c
Examining data/iptables-1.8.6/extensions/libebt_stp.c
Examining data/iptables-1.8.6/extensions/libxt_icmp.h
Examining data/iptables-1.8.6/extensions/libxt_NFLOG.c
Examining data/iptables-1.8.6/extensions/libxt_AUDIT.c
Examining data/iptables-1.8.6/extensions/libxt_bpf.c
Examining data/iptables-1.8.6/extensions/libip6t_LOG.c
Examining data/iptables-1.8.6/extensions/libip6t_NETMAP.c
Examining data/iptables-1.8.6/extensions/libxt_LED.c
Examining data/iptables-1.8.6/extensions/libip6t_hl.c
Examining data/iptables-1.8.6/extensions/libebt_among.c
Examining data/iptables-1.8.6/extensions/libip6t_ipv6header.c
Examining data/iptables-1.8.6/extensions/libxt_cgroup.c
Examining data/iptables-1.8.6/extensions/libipt_LOG.c
Examining data/iptables-1.8.6/extensions/libip6t_REJECT.c
Examining data/iptables-1.8.6/extensions/libxt_TOS.c
Examining data/iptables-1.8.6/extensions/libxt_mac.c
Examining data/iptables-1.8.6/extensions/libxt_rpfilter.c
Examining data/iptables-1.8.6/extensions/libebt_snat.c
Examining data/iptables-1.8.6/extensions/libipt_TTL.c
Examining data/iptables-1.8.6/extensions/libip6t_dst.c

FINAL RESULTS:

data/iptables-1.8.6/extensions/libebt_ip.c:363:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf("%"PRIu8 ":%" PRIu8, type[0], type[1]);
data/iptables-1.8.6/extensions/libebt_ip.c:378:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf("%"PRIu8, type[0]);
data/iptables-1.8.6/extensions/libebt_ip6.c:204:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf("%"PRIu8 ":%" PRIu8, type[0], type[1]);
data/iptables-1.8.6/extensions/libebt_ip6.c:219:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf("%"PRIu8, type[0]);
data/iptables-1.8.6/extensions/libebt_log.c:122: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((char *)loginfo->prefix, (char *)optarg);
data/iptables-1.8.6/extensions/libip6t_NETMAP.c:31:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(MODULENAME" target options:\n"
data/iptables-1.8.6/extensions/libip6t_icmp6.c:103: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(buffer, icmpv6type);
data/iptables-1.8.6/extensions/libipt_NETMAP.c:26:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(MODULENAME" target options:\n"
data/iptables-1.8.6/extensions/libipt_icmp.c:123: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(buffer, icmptype);
data/iptables-1.8.6/extensions/libxt_CT.c:148: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(str, events);
data/iptables-1.8.6/extensions/libxt_dccp.c:20:34:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUGP(format, first...) printf(format, ##first)
data/iptables-1.8.6/extensions/libxt_sctp.c:24:34:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUGP(format, first...) printf(format, ##first)
data/iptables-1.8.6/include/libipq/libipq.h:38:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LDEBUG(x...) fprintf(stderr, ## x)
data/iptables-1.8.6/include/xtables.h:425:103:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	void (*exit_err)(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
data/iptables-1.8.6/include/xtables.h:631:84:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void xt_xlate_add(struct xt_xlate *xl, const char *fmt, ...) __attribute__((format(printf,2,3)));
data/iptables-1.8.6/iptables/ip6tables.c:94:111:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void ip6tables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
data/iptables-1.8.6/iptables/ip6tables.c:254:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, args);
data/iptables-1.8.6/iptables/ip6tables.c:403:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-4s ", "%s "), "num");
data/iptables-1.8.6/iptables/ip6tables.c:406:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%5s ","%s "), "pkts");
data/iptables-1.8.6/iptables/ip6tables.c:407:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%5s ","%s "), "bytes");
data/iptables-1.8.6/iptables/ip6tables.c:409:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%8s ","%s "), "pkts");
data/iptables-1.8.6/iptables/ip6tables.c:410:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%10s ","%s "), "bytes");
data/iptables-1.8.6/iptables/ip6tables.c:414:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-9s ","%s "), "target");
data/iptables-1.8.6/iptables/ip6tables.c:419:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT(" %-6s ","%s "), "in");
data/iptables-1.8.6/iptables/ip6tables.c:420:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-6s ","%s "), "out");
data/iptables-1.8.6/iptables/ip6tables.c:422:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT(" %-19s ","%s "), "source");
data/iptables-1.8.6/iptables/ip6tables.c:423:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT(" %-19s "," %s "), "destination");
data/iptables-1.8.6/iptables/ip6tables.c:475:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-4u ", "%u "), num);
data/iptables-1.8.6/iptables/ip6tables.c:483:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-9s ", "%s "), targname);
data/iptables-1.8.6/iptables/ip6tables.c:489:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%-5s", "%s "), pname);
data/iptables-1.8.6/iptables/ip6tables.c:491:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%-5hu", "%hu "), fw->ipv6.proto);
data/iptables-1.8.6/iptables/ip6tables.c:743: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(chains + i*sizeof(xt_chainlabel), chain);
data/iptables-1.8.6/iptables/ip6tables.c:922:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(unsupported_rev);
data/iptables-1.8.6/iptables/ip6tables.c:1032:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(unsupported_rev);
data/iptables-1.8.6/iptables/ip6tables.c:1660:4:  [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(cs.target->t->u.user.name, cs.jumpto);
data/iptables-1.8.6/iptables/iptables.c:92:110:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void iptables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
data/iptables-1.8.6/iptables/iptables.c:253:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, args);
data/iptables-1.8.6/iptables/iptables.c:394:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-4s ", "%s "), "num");
data/iptables-1.8.6/iptables/iptables.c:397:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%5s ","%s "), "pkts");
data/iptables-1.8.6/iptables/iptables.c:398:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%5s ","%s "), "bytes");
data/iptables-1.8.6/iptables/iptables.c:400:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%8s ","%s "), "pkts");
data/iptables-1.8.6/iptables/iptables.c:401:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%10s ","%s "), "bytes");
data/iptables-1.8.6/iptables/iptables.c:405:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-9s ","%s "), "target");
data/iptables-1.8.6/iptables/iptables.c:410:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT(" %-6s ","%s "), "in");
data/iptables-1.8.6/iptables/iptables.c:411:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-6s ","%s "), "out");
data/iptables-1.8.6/iptables/iptables.c:413:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT(" %-19s ","%s "), "source");
data/iptables-1.8.6/iptables/iptables.c:414:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT(" %-19s "," %s "), "destination");
data/iptables-1.8.6/iptables/iptables.c:468:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-4u ", "%u "), num);
data/iptables-1.8.6/iptables/iptables.c:476:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-9s ", "%s "), targname);
data/iptables-1.8.6/iptables/iptables.c:482:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%-5s", "%s "), pname);
data/iptables-1.8.6/iptables/iptables.c:484:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%-5hu", "%hu "), fw->ip.proto);
data/iptables-1.8.6/iptables/iptables.c:735: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(chains + i*sizeof(xt_chainlabel), chain);
data/iptables-1.8.6/iptables/iptables.c:920:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(unsupported_rev);
data/iptables-1.8.6/iptables/iptables.c:1029:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(unsupported_rev);
data/iptables-1.8.6/iptables/iptables.c:1649:4:  [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(cs.target->t->u.user.name, cs.jumpto);
data/iptables-1.8.6/iptables/nft-arp.c:433: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(iface, fw->arp.iniface);
data/iptables-1.8.6/iptables/nft-arp.c:451: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(iface, fw->arp.outiface);
data/iptables-1.8.6/iptables/nft-arp.c:469:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf, "%s", addr_to_dotted(&(fw->arp.src)));
data/iptables-1.8.6/iptables/nft-arp.c:471:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf, "%s", addr_to_anyname(&(fw->arp.src)));
data/iptables-1.8.6/iptables/nft-arp.c:495:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf, "%s", addr_to_dotted(&(fw->arp.tgt)));
data/iptables-1.8.6/iptables/nft-arp.c:497:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf, "%s", addr_to_anyname(&(fw->arp.tgt)));
data/iptables-1.8.6/iptables/nft-bridge.c:488: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(match->m->u.user.name, match->name);
data/iptables-1.8.6/iptables/nft-ipv4.c:156:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(mask_str, "%s", inet_ntoa(mask_addr));
data/iptables-1.8.6/iptables/nft-shared.c:325: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(t->u.user.name, target->name);
data/iptables-1.8.6/iptables/nft-shared.c:361: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(m->u.user.name, match->name);
data/iptables-1.8.6/iptables/nft-shared.c:423: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(t->u.user.name, targname);
data/iptables-1.8.6/iptables/nft-shared.c:579: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(match->m->u.user.name, match->name);
data/iptables-1.8.6/iptables/nft-shared.c:669:4:  [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(m->u.user.name, match->name);
data/iptables-1.8.6/iptables/nft-shared.c:689: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(t->u.user.name, cs->jumpto);
data/iptables-1.8.6/iptables/nft-shared.c:730:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-4s ", "%s "), "num");
data/iptables-1.8.6/iptables/nft-shared.c:733:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%5s ","%s "), "pkts");
data/iptables-1.8.6/iptables/nft-shared.c:734:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%5s ","%s "), "bytes");
data/iptables-1.8.6/iptables/nft-shared.c:736:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%8s ","%s "), "pkts");
data/iptables-1.8.6/iptables/nft-shared.c:737:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%10s ","%s "), "bytes");
data/iptables-1.8.6/iptables/nft-shared.c:741:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-9s ","%s "), "target");
data/iptables-1.8.6/iptables/nft-shared.c:746:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT(" %-6s ","%s "), "in");
data/iptables-1.8.6/iptables/nft-shared.c:747:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-6s ","%s "), "out");
data/iptables-1.8.6/iptables/nft-shared.c:749:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT(" %-19s ","%s "), "source");
data/iptables-1.8.6/iptables/nft-shared.c:750:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT(" %-19s "," %s "), "destination");
data/iptables-1.8.6/iptables/nft-shared.c:760:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-4u ", "%u "), num);
data/iptables-1.8.6/iptables/nft-shared.c:768:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%-9s ", "%s "), targname ? targname : "");
data/iptables-1.8.6/iptables/nft-shared.c:775:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%-5s", "%s "), pname);
data/iptables-1.8.6/iptables/nft-shared.c:777:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			printf(FMT("%-5hu", "%hu "), proto);
data/iptables-1.8.6/iptables/nft.c:2436:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(" -c %"PRIu64" %"PRIu64,
data/iptables-1.8.6/iptables/xshared.c:156: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(m->m->u.user.name, m->name);
data/iptables-1.8.6/iptables/xshared.c:577:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT("%-19s ", "%s "),
data/iptables-1.8.6/iptables/xshared.c:581:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT("%-19s ", "-> %s"),
data/iptables-1.8.6/iptables/xshared.c:609:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT("%-19s ", "%s "),
data/iptables-1.8.6/iptables/xshared.c:614:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT("%-19s ", "-> %s"),
data/iptables-1.8.6/iptables/xshared.c:635:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT(" %-6s ", "in %s "), iface);
data/iptables-1.8.6/iptables/xshared.c:641:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT("%-6s ", "out %s "), iface);
data/iptables-1.8.6/iptables/xshared.c:659: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(m->m->u.user.name, m->name);
data/iptables-1.8.6/iptables/xshared.c:661: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(m->m->u.user.name, m->real_name);
data/iptables-1.8.6/iptables/xshared.c:719: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(cs->target->t->u.user.name, cs->jumpto);
data/iptables-1.8.6/iptables/xshared.c:722: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(cs->target->t->u.user.name, cs->target->real_name);
data/iptables-1.8.6/iptables/xshared.h:15:28:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUGP(x, args...) fprintf(stderr, x, ## args)
data/iptables-1.8.6/iptables/xtables-arp.c:103:116:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern void xtables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
data/iptables-1.8.6/iptables/xtables-eb.c:274:116:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern void xtables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
data/iptables-1.8.6/iptables/xtables-eb.c:538: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(m->m->u.user.name, m->name);
data/iptables-1.8.6/iptables/xtables.c:92:109:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void xtables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
data/iptables-1.8.6/iptables/xtables.c:252:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, args);
data/iptables-1.8.6/libiptc/libiptc.c:46:28:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUGP(x, args...)	fprintf(stderr, "%s: " x, __FUNCTION__, ## args)
data/iptables-1.8.6/libiptc/libiptc.c:47:30:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUGP_C(x, args...)	fprintf(stderr, x, ## args)
data/iptables-1.8.6/libiptc/libiptc.c:54:27:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define debug(x, args...)	fprintf(stderr, x, ## args)
data/iptables-1.8.6/libiptc/libiptc.c:1111: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(t->target.u.user.name, STANDARD_TARGET);
data/iptables-1.8.6/libiptc/libiptc.c:1142: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(head->name.target.u.user.name, ERROR_TARGET);
data/iptables-1.8.6/libiptc/libiptc.c:1163: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(foot->target.target.u.user.name, STANDARD_TARGET);
data/iptables-1.8.6/libiptc/libiptc.c:1254: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((char *)&error->target.target.u.user.name, ERROR_TARGET);
data/iptables-1.8.6/libiptc/libiptc.c:1277: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(h->info.name, infop->name);
data/iptables-1.8.6/libiptc/libiptc.c:1283: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(h->entries->name, infop->name);
data/iptables-1.8.6/libiptc/libiptc.c:1324: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(info.name, tablename);
data/iptables-1.8.6/libiptc/libiptc.c:1671: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(t->target.u.user.name, STANDARD_TARGET);
data/iptables-1.8.6/libiptc/libiptc.c:2562: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(repl->name, handle->info.name);
data/iptables-1.8.6/libiptc/libiptc.c:2596: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(newcounters->name, handle->info.name);
data/iptables-1.8.6/libxtables/xtables.c:79:105:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void basic_exit_err(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
data/iptables-1.8.6/libxtables/xtables.c:89:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, args);
data/iptables-1.8.6/libxtables/xtables.c:574: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(vianame, arg);
data/iptables-1.8.6/libxtables/xtables.c:1456:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "/%s", xtables_ipaddr_to_numeric(mask));
data/iptables-1.8.6/libxtables/xtables.c:1801: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(buf, xtables_ip6addr_to_numeric(addrp));
data/iptables-1.8.6/libxtables/xtables.c:2114:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%8llu ","%llu "), (unsigned long long)number);
data/iptables-1.8.6/libxtables/xtables.c:2118:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%5llu ","%llu "), (unsigned long long)number);
data/iptables-1.8.6/libxtables/xtables.c:2123:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%4lluK ","%lluK "), (unsigned long long)number);
data/iptables-1.8.6/libxtables/xtables.c:2128:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%4lluM ","%lluM "), (unsigned long long)number);
data/iptables-1.8.6/libxtables/xtables.c:2133:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(FMT("%4lluG ","%lluG "), (unsigned long long)number);
data/iptables-1.8.6/libxtables/xtables.c:2137:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(FMT("%4lluT ","%lluT "), (unsigned long long)number);
data/iptables-1.8.6/libxtables/xtables.c:2296:8:  [4] (format) vsnprintf:
  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.
	len = vsnprintf(xl->buf.data + xl->buf.off, xl->buf.rem, fmt, ap);
data/iptables-1.8.6/utils/nfnl_osf.c:105:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(osf_log_stream, f, ap);
data/iptables-1.8.6/utils/nfnl_osf.c:128:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(osf_log_stream, f, ap);
data/iptables-1.8.6/extensions/libxt_statistic.c:69:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		info->u.random.probability = lround(0x80000000 * cb->val.dbl);
data/iptables-1.8.6/extensions/libxt_statistic.c:107:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		       1.0 * info->u.random.probability / 0x80000000);
data/iptables-1.8.6/include/linux/netfilter/xt_statistic.h:26:5:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		} random;
data/iptables-1.8.6/iptables/ip6tables.c:1185:17:  [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.
	while ((cs.c = getopt_long(argc, argv,
data/iptables-1.8.6/iptables/iptables-restore.c:108:14:  [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.
	while ((c = getopt_long(argc, argv, "bcvVthnwWM:T:", options, NULL)) != -1) {
data/iptables-1.8.6/iptables/iptables-save.c:141:14:  [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.
	while ((c = getopt_long(argc, argv, "bcdt:M:f:V", options, NULL)) != -1) {
data/iptables-1.8.6/iptables/iptables-xml.c:552:14:  [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.
	while ((c = getopt_long(argc, argv, "cvh", options, NULL)) != -1) {
data/iptables-1.8.6/iptables/iptables.c:1180:17:  [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.
	while ((cs.c = getopt_long(argc, argv,
data/iptables-1.8.6/iptables/xshared.c:258:14:  [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.
	lock_file = getenv("XTABLES_LOCKFILE");
data/iptables-1.8.6/iptables/xtables-arp.c:549:14:  [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.
	while ((c = getopt_long(argc, argv,
data/iptables-1.8.6/iptables/xtables-eb-translate.c:220:14:  [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.
	while ((c = getopt_long(argc, argv,
data/iptables-1.8.6/iptables/xtables-eb.c:802:14:  [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.
	while ((c = getopt_long(argc, argv,
data/iptables-1.8.6/iptables/xtables-monitor.c:629:14:  [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.
	while ((c = getopt_long(argc, argv, "ceht46V", options, NULL)) != -1) {
data/iptables-1.8.6/iptables/xtables-restore.c:304:14:  [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.
	while ((c = getopt_long(argc, argv, "bcvVthnM:T:wW", options, NULL)) != -1) {
data/iptables-1.8.6/iptables/xtables-restore.c:433:14:  [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.
	while ((c = getopt_long(argc, argv, "n",
data/iptables-1.8.6/iptables/xtables-save.c:154:14:  [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.
	while ((c = getopt_long(argc, argv, optstring, longopts, NULL)) != -1) {
data/iptables-1.8.6/iptables/xtables-save.c:218:21:  [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.
		const char *ctr = getenv("EBTABLES_SAVE_COUNTER");
data/iptables-1.8.6/iptables/xtables-translate.c:538:14:  [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.
	while ((c = getopt_long(argc, argv, "hf:V", options, NULL)) != -1) {
data/iptables-1.8.6/iptables/xtables.c:574:18:  [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.
	while ((cs->c = getopt_long(argc, argv,
data/iptables-1.8.6/libxtables/xtables.c:247:19:  [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.
	xtables_libdir = getenv("XTABLES_LIBDIR");
data/iptables-1.8.6/libxtables/xtables.c:250:19:  [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.
	xtables_libdir = getenv("IPTABLES_LIB_DIR");
data/iptables-1.8.6/libxtables/xtables.c:263:19:  [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.
	xtables_libdir = getenv("IP6TABLES_LIB_DIR");
data/iptables-1.8.6/utils/nfnl_osf.c:437: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, "f:dh")) != -1) {
data/iptables-1.8.6/utils/nfsynproxy.c:197: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, "hi:p:c:", options, &optidx);
data/iptables-1.8.6/extensions/libarpt_mangle.c:92: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(mangle->src_devaddr, macaddr, e->arp.arhln);
data/iptables-1.8.6/extensions/libarpt_mangle.c:108: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(mangle->tgt_devaddr, macaddr, e->arp.arhln);
data/iptables-1.8.6/extensions/libebt_among.c:77: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(&pair->ether, ether, sizeof(*ether));
data/iptables-1.8.6/extensions/libebt_among.c:134:13:  [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).
		if ((fd = open(optarg, O_RDONLY)) == -1)
data/iptables-1.8.6/extensions/libebt_among.c:175: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_match, *match, (*match)->u.match_size);
data/iptables-1.8.6/extensions/libebt_arp.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[20];
data/iptables-1.8.6/extensions/libebt_arp.c:132: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(mask2, &mask22, 4);
data/iptables-1.8.6/extensions/libebt_arp.c:135: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(mask2, &mask22, 4);
data/iptables-1.8.6/extensions/libebt_arp.c:170:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_unicast[ETH_ALEN];
data/iptables-1.8.6/extensions/libebt_arp.c:171:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 msk_type_unicast[ETH_ALEN] =   {1,0,0,0,0,0};
data/iptables-1.8.6/extensions/libebt_arp.c:172:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_multicast[ETH_ALEN] = {1,0,0,0,0,0};
data/iptables-1.8.6/extensions/libebt_arp.c:173:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_broadcast[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/extensions/libebt_arp.c:174:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_bridge_group[ETH_ALEN] = {0x01,0x80,0xc2,0,0,0};
data/iptables-1.8.6/extensions/libebt_arp.c:175:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 msk_type_bridge_group[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/extensions/libebt_arp.c:178: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, mac_type_unicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.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(mask, msk_type_unicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.c:183: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, mac_type_multicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.c:184: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(mask, mac_type_multicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.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(to, mac_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.c:189: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(mask, mac_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.c:193: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, mac_type_bridge_group, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.c:194: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(mask, msk_type_bridge_group, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.c:201: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(mask, addr, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arp.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(to, addr, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_arpreply.c:60: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(replyinfo->mac, addr, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_dnat.c:57: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(natinfo->mac, addr, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_ip.c:201: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[20];
data/iptables-1.8.6/extensions/libebt_ip.c:238: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(mask2, &mask22, 4);
data/iptables-1.8.6/extensions/libebt_ip.c:241: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(mask2, &mask22, 4);
data/iptables-1.8.6/extensions/libebt_ip6.c:292: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/iptables-1.8.6/extensions/libebt_ip6.c:310: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(buf, "::");
data/iptables-1.8.6/extensions/libebt_snat.c:61: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(natinfo->mac, addr, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:159:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_unicast[ETH_ALEN];
data/iptables-1.8.6/extensions/libebt_stp.c:160:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 msk_type_unicast[ETH_ALEN] =   {1,0,0,0,0,0};
data/iptables-1.8.6/extensions/libebt_stp.c:161:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_multicast[ETH_ALEN] = {1,0,0,0,0,0};
data/iptables-1.8.6/extensions/libebt_stp.c:162:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_broadcast[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/extensions/libebt_stp.c:163:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 mac_type_bridge_group[ETH_ALEN] = {0x01,0x80,0xc2,0,0,0};
data/iptables-1.8.6/extensions/libebt_stp.c:164:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 msk_type_bridge_group[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/extensions/libebt_stp.c:167: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, mac_type_unicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:168: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(mask, msk_type_unicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:172: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, mac_type_multicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:173: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(mask, mac_type_multicast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:177: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, mac_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:178: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(mask, mac_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:182: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, mac_type_bridge_group, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:183: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(mask, msk_type_bridge_group, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:190: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(mask, addr, ETH_ALEN);
data/iptables-1.8.6/extensions/libebt_stp.c:195: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, addr, ETH_ALEN);
data/iptables-1.8.6/extensions/libip6t_DNAT.c:93: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).
		port = atoi(colon+1);
data/iptables-1.8.6/extensions/libip6t_DNAT.c:111:14:  [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).
			maxport = atoi(dash + 1);
data/iptables-1.8.6/extensions/libip6t_DNAT.c:127: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).
					baseport = atoi(slash + 1);
data/iptables-1.8.6/extensions/libip6t_DNAT.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(&range, range_v1, sizeof(*range_v1));
data/iptables-1.8.6/extensions/libip6t_DNAT.c:208: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(range_v1, &range, sizeof(*range_v1));
data/iptables-1.8.6/extensions/libip6t_DNAT.c:272: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(&range, range_v1, sizeof(*range_v1));
data/iptables-1.8.6/extensions/libip6t_DNAT.c:297: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(&range, range_v1, sizeof(*range_v1));
data/iptables-1.8.6/extensions/libip6t_DNAT.c:361: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(&range, range_v1, sizeof(*range_v1));
data/iptables-1.8.6/extensions/libip6t_SNAT.c:87: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).
		port = atoi(colon+1);
data/iptables-1.8.6/extensions/libip6t_SNAT.c:105:14:  [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).
			maxport = atoi(dash + 1);
data/iptables-1.8.6/extensions/libip6t_icmp6.c:100: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 buffer[strlen(icmpv6type) + 1];
data/iptables-1.8.6/extensions/libip6t_rt.c:50: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.
	static char buf[50+1];
data/iptables-1.8.6/extensions/libip6t_rt.c:84: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(&(addrp[i]), numeric_to_addr(cp), sizeof(struct in6_addr));
data/iptables-1.8.6/extensions/libipt_CLUSTERIP.c:133: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 *mac2str(const uint8_t mac[ETH_ALEN])
data/iptables-1.8.6/extensions/libipt_CLUSTERIP.c:135: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.
	static char buf[ETH_ALEN*3];
data/iptables-1.8.6/extensions/libipt_CLUSTERIP.c:136: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/iptables-1.8.6/extensions/libipt_DNAT.c:97: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).
		port = atoi(colon+1);
data/iptables-1.8.6/extensions/libipt_DNAT.c:115:14:  [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).
			maxport = atoi(dash + 1);
data/iptables-1.8.6/extensions/libipt_DNAT.c:319: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).
		port = atoi(colon+1);
data/iptables-1.8.6/extensions/libipt_DNAT.c:338:14:  [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).
			maxport = atoi(dash + 1);
data/iptables-1.8.6/extensions/libipt_DNAT.c:353: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).
				baseport = atoi(slash + 1);
data/iptables-1.8.6/extensions/libipt_SNAT.c:91: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).
		port = atoi(colon+1);
data/iptables-1.8.6/extensions/libipt_SNAT.c:109:14:  [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).
			maxport = atoi(dash + 1);
data/iptables-1.8.6/extensions/libipt_icmp.c:120: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 buffer[strlen(icmptype) + 1];
data/iptables-1.8.6/extensions/libxt_CT.c:145: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[strlen(events) + 1], *e = str, *t;
data/iptables-1.8.6/extensions/libxt_SET.c: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 setname[IPSET_MAXNAMELEN];
data/iptables-1.8.6/extensions/libxt_SET.c:212: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 setname[IPSET_MAXNAMELEN];
data/iptables-1.8.6/extensions/libxt_comment.c:55: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 comment[XT_MAX_COMMENT_LEN + sizeof("\\\"\\\"")];
data/iptables-1.8.6/extensions/libxt_conntrack.c:510: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((r), (l), offsetof(typeof(*(l)), state_mask)); \
data/iptables-1.8.6/extensions/libxt_conntrack.c:541: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((r), (l), offsetof(typeof(*(l)), sizeof(*info));
data/iptables-1.8.6/extensions/libxt_conntrack.c:547: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(&up, info, sizeof(*info));
data/iptables-1.8.6/extensions/libxt_conntrack.c:560: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(info, &up, sizeof(*info));
data/iptables-1.8.6/extensions/libxt_hashlimit.c:272: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, from, sizeof(struct hashlimit_cfg3));
data/iptables-1.8.6/extensions/libxt_hashlimit.c:422: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).
	int r = atoi(rate);
data/iptables-1.8.6/extensions/libxt_iprange.c:47: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.
	const char *spec[2] = {from, to};
data/iptables-1.8.6/extensions/libxt_ipvs.c:73: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(&data->vaddr, &cb->val.haddr, sizeof(cb->val.haddr));
data/iptables-1.8.6/extensions/libxt_ipvs.c:74: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(&data->vmask, &cb->val.hmask, sizeof(cb->val.hmask));
data/iptables-1.8.6/extensions/libxt_limit.c:70:6:  [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).
	r = atoi(rate);
data/iptables-1.8.6/extensions/libxt_owner.c:34: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 comm[16];
data/iptables-1.8.6/extensions/libxt_owner.c: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 comm[16];
data/iptables-1.8.6/extensions/libxt_policy.c:133: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(&e->saddr, &cb->val.haddr, sizeof(cb->val.haddr));
data/iptables-1.8.6/extensions/libxt_policy.c:134: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(&e->smask, &cb->val.hmask, sizeof(cb->val.hmask));
data/iptables-1.8.6/extensions/libxt_policy.c:142: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(&e->daddr, &cb->val.haddr, sizeof(cb->val.haddr));
data/iptables-1.8.6/extensions/libxt_policy.c:143: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(&e->dmask, &cb->val.hmask, sizeof(cb->val.hmask));
data/iptables-1.8.6/extensions/libxt_set.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 setname[IPSET_MAXNAMELEN];
data/iptables-1.8.6/extensions/libxt_set.c:179: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 setname[IPSET_MAXNAMELEN];
data/iptables-1.8.6/extensions/libxt_string.c:96: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 hextmp[3];
data/iptables-1.8.6/extensions/libxt_time.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 day[3], *err = NULL;
data/iptables-1.8.6/extensions/libxt_time.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 day[4], *err = NULL;
data/iptables-1.8.6/include/libiptc/xtcshared.h:4: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 xt_chainlabel[32];
data/iptables-1.8.6/include/linux/kernel.h:26: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 _f[20-2*sizeof(long)-sizeof(int)];	/* Padding: libc5 uses this.. */
data/iptables-1.8.6/include/linux/netfilter/ipset/ip_set.h:255: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[IPSET_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter/x_tables.h:16: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 name[XT_EXTENSION_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter/x_tables.h:30: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 data[0];
data/iptables-1.8.6/include/linux/netfilter/x_tables.h:39: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 name[XT_EXTENSION_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter/x_tables.h:53: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 data[0];
data/iptables-1.8.6/include/linux/netfilter/x_tables.h: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 errorname[XT_FUNCTION_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter/x_tables.h: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 name[XT_EXTENSION_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter/x_tables.h: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 name[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter/xt_CT.h:19: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 helper[16];
data/iptables-1.8.6/include/linux/netfilter/xt_CT.h:30: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 helper[16];
data/iptables-1.8.6/include/linux/netfilter/xt_CT.h:31: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 timeout[32];
data/iptables-1.8.6/include/linux/netfilter/xt_IDLETIMER.h: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 label[MAX_IDLETIMER_LABEL_SIZE];
data/iptables-1.8.6/include/linux/netfilter/xt_IDLETIMER.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 label[MAX_IDLETIMER_LABEL_SIZE];
data/iptables-1.8.6/include/linux/netfilter/xt_LED.h:7: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 id[27];        /* Unique ID for this trigger in the LED class */
data/iptables-1.8.6/include/linux/netfilter/xt_NFLOG.h:21: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		prefix[64];
data/iptables-1.8.6/include/linux/netfilter/xt_RATEEST.h:7: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/iptables-1.8.6/include/linux/netfilter/xt_SECMARK.h:19: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 secctx[SECMARK_SECCTX_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_TEE.h:6: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 oif[16];
data/iptables-1.8.6/include/linux/netfilter/xt_bpf.h:33: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 path[XT_BPF_PATH_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_cgroup.h:18: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[PATH_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_cgroup.h:33: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	path[XT_CGROUP_PATH_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_comment.h:7: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 comment[XT_MAX_COMMENT_LEN];
data/iptables-1.8.6/include/linux/netfilter/xt_hashlimit.h:42: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];		/* name */
data/iptables-1.8.6/include/linux/netfilter/xt_hashlimit.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 name[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter/xt_hashlimit.h:105: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[NAME_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_hashlimit.h: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 name[NAME_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_helper.h:6: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[30];
data/iptables-1.8.6/include/linux/netfilter/xt_mac.h:5: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.
    unsigned char srcaddr[ETH_ALEN];
data/iptables-1.8.6/include/linux/netfilter/xt_nfacct.h:13: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[NFACCT_NAME_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_nfacct.h:18: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[NFACCT_NAME_MAX];
data/iptables-1.8.6/include/linux/netfilter/xt_osf.h:41: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			genre[MAXGENRELEN];
data/iptables-1.8.6/include/linux/netfilter/xt_osf.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			genre[MAXGENRELEN];
data/iptables-1.8.6/include/linux/netfilter/xt_osf.h:75: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[MAXGENRELEN];
data/iptables-1.8.6/include/linux/netfilter/xt_osf.h:76: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			subtype[MAXGENRELEN];
data/iptables-1.8.6/include/linux/netfilter/xt_physdev.h:15: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 physindev[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter/xt_physdev.h:16: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 in_mask[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter/xt_physdev.h:17: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 physoutdev[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter/xt_physdev.h:18: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 out_mask[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter/xt_rateest.h:23: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			name1[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter/xt_rateest.h:24: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			name2[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter/xt_recent.h:31: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[XT_RECENT_NAME_LEN];
data/iptables-1.8.6/include/linux/netfilter/xt_recent.h: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 name[XT_RECENT_NAME_LEN];
data/iptables-1.8.6/include/linux/netfilter/xt_sctp.h:65: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((destmap), (srcmap), sizeof(srcmap))
data/iptables-1.8.6/include/linux/netfilter/xt_string.h:17: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	  algo[XT_STRING_MAX_ALGO_NAME_SIZE];
data/iptables-1.8.6/include/linux/netfilter/xt_string.h:18: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 	  pattern[XT_STRING_MAX_PATTERN_SIZE];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.h:35: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 addr[ARPT_DEV_ADDR_LEN_MAX];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.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 mask[ARPT_DEV_ADDR_LEN_MAX];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.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 iniface[IFNAMSIZ], outiface[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.h:63: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 iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.h:108: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 elems[0];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.h:133: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.h:155: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_arp/arp_tables.h: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 name[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_arp/arpt_mangle.h:8: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_devaddr[ARPT_DEV_ADDR_LEN_MAX];
data/iptables-1.8.6/include/linux/netfilter_arp/arpt_mangle.h:9: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 tgt_devaddr[ARPT_DEV_ADDR_LEN_MAX];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_queue.h:27: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 indev_name[IFNAMSIZ];	/* Name of incoming interface */
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_queue.h:28: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 outdev_name[IFNAMSIZ];	/* Name of outgoing interface */
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_queue.h:32: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 hw_addr[8];	/* Hardware address */
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_queue.h:34: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 payload[0];	/* Optional packet data */
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_queue.h:47: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 payload[0];	/* Optional replacement packet */
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_tables.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 iniface[IFNAMSIZ], outiface[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_tables.h:73: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 iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_tables.h:120: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 elems[0];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_tables.h:155: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_tables.h:177: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ip_tables.h:208: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_LOG.h:16: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 prefix[30];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ULOG.h:31: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 prefix[ULOG_PREFIX_LEN];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ULOG.h: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 indev_name[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ULOG.h:41: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 outdev_name[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ULOG.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 prefix[ULOG_PREFIX_LEN];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ULOG.h:45: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[ULOG_MAC_LEN];
data/iptables-1.8.6/include/linux/netfilter_ipv4/ipt_ULOG.h:46: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 payload[0];
data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6_tables.h:65: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 iniface[IFNAMSIZ], outiface[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6_tables.h:66: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 iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6_tables.h:124: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 elems[0];
data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6_tables.h:195: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6_tables.h:217: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6_tables.h:248: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[XT_TABLE_MAXNAMELEN];
data/iptables-1.8.6/include/linux/netfilter_ipv6/ip6t_LOG.h:16: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 prefix[30];
data/iptables-1.8.6/iptables/ip6tables.c:112: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 commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] =
data/iptables-1.8.6/iptables/ip6tables.c:938: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[51];
data/iptables-1.8.6/iptables/ip6tables.c:1128: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(e->elems + size, matchp->match->m, matchp->match->m->u.match_size);
data/iptables-1.8.6/iptables/ip6tables.c:1131: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(e->elems + size, target, target->u.target_size);
data/iptables-1.8.6/iptables/iptables-restore.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 buffer[10240];
data/iptables-1.8.6/iptables/iptables-restore.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 curtable[XT_TABLE_MAXNAMELEN + 1] = {};
data/iptables-1.8.6/iptables/iptables-restore.c:155:8:  [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).
		in = fopen(argv[optind], "re");
data/iptables-1.8.6/iptables/iptables-save.c: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 tablename[XT_TABLE_MAXNAMELEN+1];
data/iptables-1.8.6/iptables/iptables-save.c:52: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).
	procfile = fopen(afinfo->proc_exists, "re");
data/iptables-1.8.6/iptables/iptables-save.c:158: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).
			file = fopen(optarg, "w");
data/iptables-1.8.6/iptables/iptables-xml.c:54: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 closeActionTag[XT_TABLE_MAXNAMELEN + 1];
data/iptables-1.8.6/iptables/iptables-xml.c:55: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 closeRuleTag[XT_TABLE_MAXNAMELEN + 1];
data/iptables-1.8.6/iptables/iptables-xml.c:56: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 curTable[XT_TABLE_MAXNAMELEN + 1];
data/iptables-1.8.6/iptables/iptables-xml.c:57: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 curChain[XT_CHAIN_MAXNAMELEN + 1];
data/iptables-1.8.6/iptables/iptables-xml.c:545: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[10240];
data/iptables-1.8.6/iptables/iptables-xml.c:568:8:  [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).
		in = fopen(argv[optind], "re");
data/iptables-1.8.6/iptables/iptables.c:111: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 commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] =
data/iptables-1.8.6/iptables/iptables.c:1125: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(e->elems + size, matchp->match->m, matchp->match->m->u.match_size);
data/iptables-1.8.6/iptables/iptables.c:1128: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(e->elems + size, target, target->u.target_size);
data/iptables-1.8.6/iptables/nft-arp.c:48: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.
	static char buf[20];
data/iptables-1.8.6/iptables/nft-arp.c:52: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, "%d.%d.%d.%d", bytep[0], bytep[1], bytep[2], bytep[3]);
data/iptables-1.8.6/iptables/nft-arp.c:95: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.
	static char buf[22];
data/iptables-1.8.6/iptables/nft-arp.c:109: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", i);
data/iptables-1.8.6/iptables/nft-arp.c:303: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->mask, ctx->bitwise.mask, ETH_ALEN);
data/iptables-1.8.6/iptables/nft-arp.c:419: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[BUFSIZ];
data/iptables-1.8.6/iptables/nft-arp.c:420: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 iface[IFNAMSIZ+2];
data/iptables-1.8.6/iptables/nft-arp.c:439:8:  [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.
		else strcat(iface, "any");
data/iptables-1.8.6/iptables/nft-arp.c:457:8:  [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.
		else strcat(iface, "any");
data/iptables-1.8.6/iptables/nft-bridge.c:71:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 hlpmsk[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
data/iptables-1.8.6/iptables/nft-bridge.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 iifname[IFNAMSIZ] = {}, oifname[IFNAMSIZ] = {};
data/iptables-1.8.6/iptables/nft-bridge.c:244: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 addr[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.c:258:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(fw->destmsk, ctx->bitwise.mask, ETH_ALEN);
data/iptables-1.8.6/iptables/nft-bridge.c:272:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(fw->sourcemsk, ctx->bitwise.mask, ETH_ALEN);
data/iptables-1.8.6/iptables/nft-bridge.c:844: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 one_msk[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
data/iptables-1.8.6/iptables/nft-bridge.h:18: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.
extern unsigned char eb_mac_type_unicast[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:19: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.
extern unsigned char eb_msk_type_unicast[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:20: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.
extern unsigned char eb_mac_type_multicast[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:21: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.
extern unsigned char eb_msk_type_multicast[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:22: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.
extern unsigned char eb_mac_type_broadcast[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:23: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.
extern unsigned char eb_msk_type_broadcast[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:24: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.
extern unsigned char eb_mac_type_bridge_group[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:25: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.
extern unsigned char eb_msk_type_bridge_group[ETH_ALEN];
data/iptables-1.8.6/iptables/nft-bridge.h:72: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 *ebt_standard_targets[NUM_STANDARD_TARGETS] = {
data/iptables-1.8.6/iptables/nft-bridge.h:177: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(&pairs[i], new, sizeof(*new));
data/iptables-1.8.6/iptables/nft-cache.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[MNL_SOCKET_BUFFER_SIZE];
data/iptables-1.8.6/iptables/nft-cache.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 buf[16536];
data/iptables-1.8.6/iptables/nft-cache.c:274: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[MNL_SOCKET_BUFFER_SIZE];
data/iptables-1.8.6/iptables/nft-cache.c:298: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[16536];
data/iptables-1.8.6/iptables/nft-cache.c:353: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[16536];
data/iptables-1.8.6/iptables/nft-cache.c:420: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[16536];
data/iptables-1.8.6/iptables/nft-ipv4.c:137: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.
	static char mask_str[sizeof("255.255.255.255")];
data/iptables-1.8.6/iptables/nft-ipv4.c:145: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(mask_str, "32");
data/iptables-1.8.6/iptables/nft-ipv4.c:154: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(mask_str, "%u", i);
data/iptables-1.8.6/iptables/nft-ipv4.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(cs->fw.ip.iniface_mask,
data/iptables-1.8.6/iptables/nft-ipv4.c:349: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(cs->fw.ip.outiface_mask,
data/iptables-1.8.6/iptables/nft-ipv4.c:401: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 protonum[sizeof("65535")];
data/iptables-1.8.6/iptables/nft-ipv6.c:130: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(mask, ctx->bitwise.mask, sizeof(struct in6_addr));
data/iptables-1.8.6/iptables/nft-ipv6.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(cs->fw6.ipv6.src.s6_addr, &addr, sizeof(addr));
data/iptables-1.8.6/iptables/nft-ipv6.c:157: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(cs->fw6.ipv6.dst.s6_addr, &addr, sizeof(addr));
data/iptables-1.8.6/iptables/nft-ipv6.c:227: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 addr_str[INET6_ADDRSTRLEN];
data/iptables-1.8.6/iptables/nft-ipv6.c:293: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(cs->fw6.ipv6.iniface_mask,
data/iptables-1.8.6/iptables/nft-ipv6.c:297: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(cs->fw6.ipv6.outiface_mask,
data/iptables-1.8.6/iptables/nft-ipv6.c:336: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 addr_str[INET6_ADDRSTRLEN];
data/iptables-1.8.6/iptables/nft-ipv6.c:360: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 protonum[sizeof("65535")];
data/iptables-1.8.6/iptables/nft-shared.c:236: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, name, len);
data/iptables-1.8.6/iptables/nft-shared.c:322: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(&t->data, targinfo, tg_len);
data/iptables-1.8.6/iptables/nft-shared.c:358: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(&m->data, mt_info, mt_len);
data/iptables-1.8.6/iptables/nft-shared.c:389: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, nftnl_expr_get(e, NFTNL_EXPR_CMP_DATA, &len), dlen);
data/iptables-1.8.6/iptables/nft-shared.c:471: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(ctx->bitwise.xor, data, len);
data/iptables-1.8.6/iptables/nft-shared.c:473: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(ctx->bitwise.mask, data, len);
data/iptables-1.8.6/iptables/nft-shared.c:520: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(ctx->immediate.data, imm_data, len);
data/iptables-1.8.6/iptables/nft-shared.c:990: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[1024];
data/iptables-1.8.6/iptables/nft-shared.c:994:8:  [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).
		fp = fopen(tables4, "r");
data/iptables-1.8.6/iptables/nft-shared.c:997:8:  [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).
		fp = fopen(tables6, "r");
data/iptables-1.8.6/iptables/nft-shared.h:193: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		iniface[IFNAMSIZ], outiface[IFNAMSIZ];
data/iptables-1.8.6/iptables/nft-shared.h:194: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	iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
data/iptables-1.8.6/iptables/nft.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 buf[32768];
data/iptables-1.8.6/iptables/nft.c:214: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 rcv_buf[MNL_SOCKET_BUFFER_SIZE];
data/iptables-1.8.6/iptables/nft.c:303: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 errmsg[256];
data/iptables-1.8.6/iptables/nft.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 tcr[128];
data/iptables-1.8.6/iptables/nft.c:856: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[1024];
data/iptables-1.8.6/iptables/nft.c:941: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(info, m->data, m->u.match_size - sizeof(*m));
data/iptables-1.8.6/iptables/nft.c:1189: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(info, t->data, t->u.target_size - sizeof(*t));
data/iptables-1.8.6/iptables/nft.c:1295: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[1024];
data/iptables-1.8.6/iptables/nft.c:1541: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 *policy_name[NF_ACCEPT+1] = {
data/iptables-1.8.6/iptables/nft.c:2711: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 errmsg[1024];
data/iptables-1.8.6/iptables/nft.c:3117: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[16536];
data/iptables-1.8.6/iptables/xshared.c:262:7:  [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(lock_file, O_CREAT, 0600);
data/iptables-1.8.6/iptables/xshared.c:470: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/iptables-1.8.6/iptables/xshared.c:557: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.
	static char buf[BUFSIZ];
data/iptables-1.8.6/iptables/xshared.c:589: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.
	static char buf[BUFSIZ];
data/iptables-1.8.6/iptables/xshared.c:626: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 iface[IFNAMSIZ + 2];
data/iptables-1.8.6/iptables/xshared.h:103: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 in[IFNAMSIZ];
data/iptables-1.8.6/iptables/xshared.h:105: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 logical_in[IFNAMSIZ];
data/iptables-1.8.6/iptables/xshared.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 out[IFNAMSIZ];
data/iptables-1.8.6/iptables/xshared.h: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 logical_out[IFNAMSIZ];
data/iptables-1.8.6/iptables/xshared.h:110: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 sourcemac[6];
data/iptables-1.8.6/iptables/xshared.h:111: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 sourcemsk[6];
data/iptables-1.8.6/iptables/xshared.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 destmac[6];
data/iptables-1.8.6/iptables/xshared.h:113: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 destmsk[6];
data/iptables-1.8.6/iptables/xshared.h: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 *argv[MAX_ARGC];
data/iptables-1.8.6/iptables/xtables-arp.c:57: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 optflags[NUMBER_OF_OPT]
data/iptables-1.8.6/iptables/xtables-arp.c:138: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 mac_type_unicast[ETH_ALEN] =   {0,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-arp.c:139: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 msk_type_unicast[ETH_ALEN] =   {1,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-arp.c:140: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 mac_type_multicast[ETH_ALEN] = {1,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-arp.c:141: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 msk_type_multicast[ETH_ALEN] = {1,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-arp.c:142: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 mac_type_broadcast[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/iptables/xtables-arp.c:143: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 msk_type_broadcast[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/iptables/xtables-arp.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(to, mac_type_unicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-arp.c:156: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(mask, msk_type_unicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-arp.c:160: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, mac_type_multicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-arp.c:161: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(mask, msk_type_multicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-arp.c:165: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, mac_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-arp.c:166: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(mask, msk_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-arp.c:173: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(mask, addr, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-arp.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, addr, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb-translate.c:149: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 mask[IFNAMSIZ];
data/iptables-1.8.6/iptables/xtables-eb.c:58:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_mac_type_unicast[ETH_ALEN] =   {0,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-eb.c:59:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_msk_type_unicast[ETH_ALEN] =   {1,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-eb.c:60:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_mac_type_multicast[ETH_ALEN] = {1,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-eb.c:61:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_msk_type_multicast[ETH_ALEN] = {1,0,0,0,0,0};
data/iptables-1.8.6/iptables/xtables-eb.c:62:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_mac_type_broadcast[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/iptables/xtables-eb.c:63:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_msk_type_broadcast[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/iptables/xtables-eb.c:64:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_mac_type_bridge_group[ETH_ALEN] = {0x01,0x80,0xc2,0,0,0};
data/iptables-1.8.6/iptables/xtables-eb.c:65:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 eb_msk_type_bridge_group[ETH_ALEN] = {255,255,255,255,255,255};
data/iptables-1.8.6/iptables/xtables-eb.c:75: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, eb_mac_type_unicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:76: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(mask, eb_msk_type_unicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:80: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, eb_mac_type_multicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:81: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(mask, eb_msk_type_multicast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:85: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, eb_mac_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.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(mask, eb_msk_type_broadcast, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:90: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, eb_mac_type_bridge_group, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:91: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(mask, eb_msk_type_bridge_group, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:98: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(mask, addr, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:103: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, addr, ETH_ALEN);
data/iptables-1.8.6/iptables/xtables-eb.c:335: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(merge, oldopts, num_old * sizeof(struct option));
data/iptables-1.8.6/iptables/xtables-eb.c:511: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 mask[IFNAMSIZ];
data/iptables-1.8.6/iptables/xtables-eb.c:624: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(m2, newm->m, newm->m->u.match_size);
data/iptables-1.8.6/iptables/xtables-eb.c:652: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(clone, watcher, sizeof(struct xtables_target));
data/iptables-1.8.6/iptables/xtables-eb.c:658: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(clone->t, watcher->t, watcher->t->u.target_size);
data/iptables-1.8.6/iptables/xtables-monitor.c:53: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[4096];
data/iptables-1.8.6/iptables/xtables-monitor.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[4096];
data/iptables-1.8.6/iptables/xtables-monitor.c:221: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[16536];
data/iptables-1.8.6/iptables/xtables-monitor.c:277: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/iptables-1.8.6/iptables/xtables-monitor.c:330: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 addrbuf[INET_ADDRSTRLEN];
data/iptables-1.8.6/iptables/xtables-monitor.c:371: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 addrbuf[INET6_ADDRSTRLEN];
data/iptables-1.8.6/iptables/xtables-monitor.c:598: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[MNL_SOCKET_BUFFER_SIZE];
data/iptables-1.8.6/iptables/xtables-restore.c:260: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[10240] = {};
data/iptables-1.8.6/iptables/xtables-restore.c:347:10:  [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).
		p.in = fopen(argv[optind], "re");
data/iptables-1.8.6/iptables/xtables-save.c:171: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).
			file = fopen(optarg, "w");
data/iptables-1.8.6/iptables/xtables-translate.c: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 iface[IFNAMSIZ * 2];
data/iptables-1.8.6/iptables/xtables-translate.c:61: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(iface, "INVAL/D");
data/iptables-1.8.6/iptables/xtables-translate.c:201: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(&cs->fw6.ipv6.src,
data/iptables-1.8.6/iptables/xtables-translate.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(&cs->fw6.ipv6.smsk,
data/iptables-1.8.6/iptables/xtables-translate.c:206: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(&cs->fw6.ipv6.dst,
data/iptables-1.8.6/iptables/xtables-translate.c:209: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(&cs->fw6.ipv6.dmsk,
data/iptables-1.8.6/iptables/xtables-translate.c:558:9:  [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).
	p.in = fopen(file, "r");
data/iptables-1.8.6/iptables/xtables.c:111: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 commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] =
data/iptables-1.8.6/iptables/xtables.c:373: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(&cs->fw6.ipv6.src,
data/iptables-1.8.6/iptables/xtables.c:375: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(&cs->fw6.ipv6.smsk,
data/iptables-1.8.6/iptables/xtables.c:378: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(&cs->fw6.ipv6.dst,
data/iptables-1.8.6/iptables/xtables.c:380: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(&cs->fw6.ipv6.dmsk,
data/iptables-1.8.6/iptables/xtables.c:413: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(&cs->fw6.ipv6.src, s.addr.v6, sizeof(struct in6_addr));
data/iptables-1.8.6/iptables/xtables.c:414: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(&cs->fw6.ipv6.dst, d.addr.v6, sizeof(struct in6_addr));
data/iptables-1.8.6/iptables/xtables.c:415: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(&cs->fw6.ipv6.smsk, s.mask.v6, sizeof(struct in6_addr));
data/iptables-1.8.6/iptables/xtables.c:416: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(&cs->fw6.ipv6.dmsk, d.mask.v6, sizeof(struct in6_addr));
data/iptables-1.8.6/iptables/xtables.c:446: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(&cs->fw6.ipv6.src,
data/iptables-1.8.6/iptables/xtables.c:448: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(&cs->fw6.ipv6.smsk,
data/iptables-1.8.6/iptables/xtables.c:451: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(&cs->fw6.ipv6.dst,
data/iptables-1.8.6/iptables/xtables.c:453: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(&cs->fw6.ipv6.dmsk,
data/iptables-1.8.6/iptables/xtables.c:486: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(&cs->fw6.ipv6.src,
data/iptables-1.8.6/iptables/xtables.c:488: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(&cs->fw6.ipv6.smsk,
data/iptables-1.8.6/iptables/xtables.c:491: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(&cs->fw6.ipv6.dst,
data/iptables-1.8.6/iptables/xtables.c:493: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(&cs->fw6.ipv6.dmsk,
data/iptables-1.8.6/libiptc/libip6tc.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[40];
data/iptables-1.8.6/libiptc/libip6tc.c:255: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.
		if (((char *)ipv6)[i])
data/iptables-1.8.6/libiptc/libiptc.c: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 name[TABLE_MAXNAMELEN];
data/iptables-1.8.6/libiptc/libiptc.c:959: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.
			iptcc_alloc_chain_head((char *)hooknames[builtin-1],
data/iptables-1.8.6/libiptc/libiptc.c:988: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(r->entry, e, e->next_offset);
data/iptables-1.8.6/libiptc/libiptc.c:1123: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((char *)repl->entries+r->offset, r->entry, r->size);
data/iptables-1.8.6/libiptc/libiptc.c:1255:2:  [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((char *)&error->target.errorname, "ERROR");
data/iptables-1.8.6/libiptc/libiptc.c:1353:12:  [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).
		int fd = open("/tmp/libiptc-so_get_entries.blob",
data/iptables-1.8.6/libiptc/libiptc.c:1776: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(r->entry, e, e->next_offset);
data/iptables-1.8.6/libiptc/libiptc.c:1826: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(r->entry, e, e->next_offset);
data/iptables-1.8.6/libiptc/libiptc.c:1865: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(r->entry, e, e->next_offset);
data/iptables-1.8.6/libiptc/libiptc.c:1972: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(r->entry, origfw, origfw->next_offset);
data/iptables-1.8.6/libiptc/libiptc.c:2212: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(&e->counters, counters, sizeof(STRUCT_COUNTERS));
data/iptables-1.8.6/libiptc/libiptc.c:2432: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(&c->counters, counters, sizeof(STRUCT_COUNTERS));
data/iptables-1.8.6/libiptc/libiptc.c:2502: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(&newcounters->counters[idx], counters,
data/iptables-1.8.6/libiptc/libiptc.c:2581:12:  [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).
		int fd = open("/tmp/libiptc-so_set_replace.blob",
data/iptables-1.8.6/libiptc/libiptc.c:2657:12:  [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).
		int fd = open("/tmp/libiptc-so_set_add_counters.blob",
data/iptables-1.8.6/libxtables/getethertype.c:50: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 line[BUFSIZ + 1];
data/iptables-1.8.6/libxtables/getethertype.c:52: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 *ethertype_aliases[MAXALIASES];
data/iptables-1.8.6/libxtables/getethertype.c:58: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).
		etherf = fopen(XT_PATH_ETHERTYPES, "r");
data/iptables-1.8.6/libxtables/getethertype.c:81:19:  [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).
	    && (etherf = fopen(XT_PATH_ETHERTYPES, "r")) == NULL) {
data/iptables-1.8.6/libxtables/xtables.c:133: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(merge, orig_opts, sizeof(*mp) * num_oold);
data/iptables-1.8.6/libxtables/xtables.c:139: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(mp, newopts, sizeof(*mp) * num_new);
data/iptables-1.8.6/libxtables/xtables.c:146: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(mp, oldopts, sizeof(*mp) * num_old);
data/iptables-1.8.6/libxtables/xtables.c:377:13:  [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).
	procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
data/iptables-1.8.6/libxtables/xtables.c:407: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 *argv[4];
data/iptables-1.8.6/libxtables/xtables.c:605: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/iptables-1.8.6/libxtables/xtables.c:710: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(clone, ptr, sizeof(struct xtables_match));
data/iptables-1.8.6/libxtables/xtables.c:826: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(clone, ptr, sizeof(struct xtables_target));
data/iptables-1.8.6/libxtables/xtables.c:1381: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.
	static char buf[20];
data/iptables-1.8.6/libxtables/xtables.c:1384: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, "%u.%u.%u.%u", bytep[0], bytep[1], bytep[2], bytep[3]);
data/iptables-1.8.6/libxtables/xtables.c:1390: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.
	static char hostname[NI_MAXHOST];
data/iptables-1.8.6/libxtables/xtables.c:1450: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.
	static char buf[20];
data/iptables-1.8.6/libxtables/xtables.c:1463: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, "/%d", cidr);
data/iptables-1.8.6/libxtables/xtables.c:1472: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[20], *p, *q;
data/iptables-1.8.6/libxtables/xtables.c:1558: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[i++],
data/iptables-1.8.6/libxtables/xtables.c:1573: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(addrp, addrptmp, sizeof(*addrp));
data/iptables-1.8.6/libxtables/xtables.c:1613: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], *p, *next;
data/iptables-1.8.6/libxtables/xtables.c:1647: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(*maskpp + i, addrp, sizeof(*addrp));
data/iptables-1.8.6/libxtables/xtables.c:1655:4:  [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(buf, "0.0.0.0");
data/iptables-1.8.6/libxtables/xtables.c:1666: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(*addrpp + i + j, addrp + j,
data/iptables-1.8.6/libxtables/xtables.c:1670: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(*maskpp + i + j, *maskpp + i,
data/iptables-1.8.6/libxtables/xtables.c:1674: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(*addrpp + i, addrp, sizeof(*addrp));
data/iptables-1.8.6/libxtables/xtables.c:1700: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], *p;
data/iptables-1.8.6/libxtables/xtables.c:1710: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(maskp, addrp, sizeof(*maskp));
data/iptables-1.8.6/libxtables/xtables.c:1714: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(buf, "0.0.0.0");
data/iptables-1.8.6/libxtables/xtables.c:1727: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(&addrp[--j], &addrp[--*naddrs],
data/iptables-1.8.6/libxtables/xtables.c:1738: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.
	static char buf[50+1];
data/iptables-1.8.6/libxtables/xtables.c:1744: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.
	static char hostname[NI_MAXHOST];
data/iptables-1.8.6/libxtables/xtables.c:1749: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(&saddr.sin6_addr, addr, sizeof(*addr));
data/iptables-1.8.6/libxtables/xtables.c:1796: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.
	static char buf[50+2];
data/iptables-1.8.6/libxtables/xtables.c:1808: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", l);
data/iptables-1.8.6/libxtables/xtables.c:1846: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[i++],
data/iptables-1.8.6/libxtables/xtables.c:1869: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(addrp, addrptmp, sizeof(*addrp));
data/iptables-1.8.6/libxtables/xtables.c:1914: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], *p, *next;
data/iptables-1.8.6/libxtables/xtables.c:1948: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(*maskpp + i, addrp, sizeof(*addrp));
data/iptables-1.8.6/libxtables/xtables.c:1952:4:  [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(buf, "::");
data/iptables-1.8.6/libxtables/xtables.c:1963: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(*addrpp + i + j, addrp + j,
data/iptables-1.8.6/libxtables/xtables.c:1967: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(*maskpp + i + j, *maskpp + i,
data/iptables-1.8.6/libxtables/xtables.c:1971: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(*addrpp + i, addrp, sizeof(*addrp));
data/iptables-1.8.6/libxtables/xtables.c:1991: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], *p;
data/iptables-1.8.6/libxtables/xtables.c:2001: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(maskp, addrp, sizeof(*maskp));
data/iptables-1.8.6/libxtables/xtables.c:2005: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(buf, "::");
data/iptables-1.8.6/libxtables/xtables.c:2020: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(&addrp[--j], &addrp[--*naddrs],
data/iptables-1.8.6/libxtables/xtables.c:2260: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 comment[NFT_USERDATA_MAXLEN];
data/iptables-1.8.6/libxtables/xtoptions.c: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 name[8];
data/iptables-1.8.6/libxtables/xtoptions.c:104: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(merge, orig_opts, sizeof(*mp) * num_orig);
data/iptables-1.8.6/libxtables/xtoptions.c:120: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(mp, oldopts, sizeof(*mp) * num_old);
data/iptables-1.8.6/libxtables/xtoptions.c:516: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(&cb->val.haddr,
data/iptables-1.8.6/libxtables/xtoptions.c:533: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(XTOPT_MKPTR(cb), &cb->val.haddr,
data/iptables-1.8.6/libxtables/xtoptions.c:649: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(XTOPT_MKPTR(cb), cb->val.port_range, sizeof(uint16_t) *
data/iptables-1.8.6/libxtables/xtoptions.c:665: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(&cb->val.hmask, xtables_sa_host(res->ai_addr, res->ai_family),
data/iptables-1.8.6/libxtables/xtoptions.c:738: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(XTOPT_MKPTR(cb), mask, sizeof(union nf_inet_addr));
data/iptables-1.8.6/libxtables/xtoptions.c:785: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(XTOPT_MKPTR(cb), cb->val.ethermac,
data/iptables-1.8.6/libxtables/xtoptions.c:1094: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/iptables-1.8.6/libxtables/xtoptions.c:1099: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).
	fp = fopen(file, "re");
data/iptables-1.8.6/utils/nfnl_osf.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 str[64];
data/iptables-1.8.6/utils/nfnl_osf.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 obuf[MAXOPTSTRLEN];
data/iptables-1.8.6/utils/nfnl_osf.c:275: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[NFNL_HEADER_LEN + NFA_LENGTH(sizeof(struct xt_osf_user_finger))];
data/iptables-1.8.6/utils/nfnl_osf.c:396: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[1024];
data/iptables-1.8.6/utils/nfnl_osf.c:398:8:  [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).
	inf = fopen(path, "r");
data/iptables-1.8.6/utils/nfsynproxy.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 pcap_errbuf[PCAP_ERRBUF_SIZE];
data/iptables-1.8.6/utils/nfsynproxy.c:206:11:  [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).
			port = atoi(optarg);
data/iptables-1.8.6/extensions/dscp_helper.c:56: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).
					strlen(ds_classes[i].name)))
data/iptables-1.8.6/extensions/libebt_arp.c:97:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, ip, sizeof(buf) - 1);
data/iptables-1.8.6/extensions/libebt_ip.c:203:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, ip, sizeof(buf) - 1);
data/iptables-1.8.6/extensions/libebt_ip.c:294: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).
		if (strncasecmp(codes[i].name, icmptype, strlen(icmptype)))
data/iptables-1.8.6/extensions/libebt_ip6.c:138:53:  [1] (buffer) strlen:
  Does not handle 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(icmpv6_codes[i].name, icmpv6type, strlen(icmpv6type)))
data/iptables-1.8.6/extensions/libebt_ip6.c:297:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, address, sizeof(buf) - 1);
data/iptables-1.8.6/extensions/libebt_log.c:115: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(optarg) > sizeof(loginfo->prefix) - 1)
data/iptables-1.8.6/extensions/libebt_nflog.c:76: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(optarg) > EBT_NFLOG_PREFIX_SIZE - 1)
data/iptables-1.8.6/extensions/libebt_nflog.c:79:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(info->prefix, optarg, EBT_NFLOG_PREFIX_SIZE);
data/iptables-1.8.6/extensions/libip6t_REJECT.c:121: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).
		      cb->arg, strlen(cb->arg)) == 0 ||
data/iptables-1.8.6/extensions/libip6t_REJECT.c:123: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).
		      cb->arg, strlen(cb->arg)) == 0) {
data/iptables-1.8.6/extensions/libip6t_icmp6.c:81:53:  [1] (buffer) strlen:
  Does not handle 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(icmpv6_codes[i].name, icmpv6type, strlen(icmpv6type))
data/iptables-1.8.6/extensions/libip6t_icmp6.c:100: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).
		char buffer[strlen(icmpv6type) + 1];
data/iptables-1.8.6/extensions/libip6t_mh.c:80: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).
	int namelen = strlen(name);
data/iptables-1.8.6/extensions/libip6t_mh.c:87: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).
			int len = strlen(mh_names[i].name);
data/iptables-1.8.6/extensions/libipt_REJECT.c:133: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).
		      cb->arg, strlen(cb->arg)) == 0 ||
data/iptables-1.8.6/extensions/libipt_REJECT.c:135: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).
		      cb->arg, strlen(cb->arg)) == 0) {
data/iptables-1.8.6/extensions/libipt_REJECT.c:141: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).
	if (strncasecmp("echo-reply", cb->arg, strlen(cb->arg)) == 0 ||
data/iptables-1.8.6/extensions/libipt_REJECT.c:142: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).
	    strncasecmp("echoreply", cb->arg, strlen(cb->arg)) == 0)
data/iptables-1.8.6/extensions/libipt_icmp.c:101:49:  [1] (buffer) strlen:
  Does not handle 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(icmp_codes[i].name, icmptype, strlen(icmptype))
data/iptables-1.8.6/extensions/libipt_icmp.c:120: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).
		char buffer[strlen(icmptype) + 1];
data/iptables-1.8.6/extensions/libxt_CT.c:145: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).
	char str[strlen(events) + 1], *e = str, *t;
data/iptables-1.8.6/extensions/libxt_HMARK.c:199: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(arg) == 0 ||
data/iptables-1.8.6/extensions/libxt_HMARK.c:200: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).
	    !hmark_parse(arg, strlen(arg), info, &cb->xflags))
data/iptables-1.8.6/extensions/libxt_LED.c:76: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).
	const char *id = led->id + strlen("netfilter-"); /* trim off prefix */
data/iptables-1.8.6/extensions/libxt_LED.c:99: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).
	const char *id = led->id + strlen("netfilter-"); /* trim off prefix */
data/iptables-1.8.6/extensions/libxt_SET.c:75: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(optarg) > IPSET_MAXNAMELEN - 1)
data/iptables-1.8.6/extensions/libxt_SET.c:178: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(optarg) > IPSET_MAXNAMELEN - 1)
data/iptables-1.8.6/extensions/libxt_addrtype.c:98: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(arg) == 0 || !parse_type(arg, strlen(arg), mask))
data/iptables-1.8.6/extensions/libxt_addrtype.c:98: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).
	if (strlen(arg) == 0 || !parse_type(arg, strlen(arg), mask))
data/iptables-1.8.6/extensions/libxt_conntrack.c:224: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(arg) == 0 || !parse_state(arg, strlen(arg), sinfo))
data/iptables-1.8.6/extensions/libxt_conntrack.c:224: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).
	if (strlen(arg) == 0 || !parse_state(arg, strlen(arg), sinfo))
data/iptables-1.8.6/extensions/libxt_conntrack.c:263: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(arg) == 0 || !conntrack_ps_state(info, arg, strlen(arg)))
data/iptables-1.8.6/extensions/libxt_conntrack.c:263: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).
	if (strlen(arg) == 0 || !conntrack_ps_state(info, arg, strlen(arg)))
data/iptables-1.8.6/extensions/libxt_conntrack.c:298: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(arg) == 0 || !parse_status(arg, strlen(arg), sinfo))
data/iptables-1.8.6/extensions/libxt_conntrack.c:298: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).
	if (strlen(arg) == 0 || !parse_status(arg, strlen(arg), sinfo))
data/iptables-1.8.6/extensions/libxt_conntrack.c:333: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(arg) == 0 || !conntrack_ps_status(info, arg, strlen(arg)))
data/iptables-1.8.6/extensions/libxt_conntrack.c:333:58:  [1] (buffer) strlen:
  Does not handle 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(arg) == 0 || !conntrack_ps_status(info, arg, strlen(arg)))
data/iptables-1.8.6/extensions/libxt_conntrack.c:1063: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(arg) == 0)
data/iptables-1.8.6/extensions/libxt_conntrack.c:1065: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).
	flag = state_parse_state(arg, strlen(arg));
data/iptables-1.8.6/extensions/libxt_hashlimit.c:386: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(delim+1) == 0)
data/iptables-1.8.6/extensions/libxt_hashlimit.c:389: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(delim+1, "second", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_hashlimit.c:391: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).
		else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_hashlimit.c:393: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).
		else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_hashlimit.c:395: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).
		else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_limit.c:56: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(delim+1) == 0)
data/iptables-1.8.6/extensions/libxt_limit.c:59: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(delim+1, "second", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_limit.c:61: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).
		else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_limit.c:63: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).
		else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_limit.c:65: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).
		else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0)
data/iptables-1.8.6/extensions/libxt_osf.c:73: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).
			info->len = strlen(info->genre);
data/iptables-1.8.6/extensions/libxt_rateest.c:130:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(info->name1, optarg, sizeof(info->name1) - 1);
data/iptables-1.8.6/extensions/libxt_rateest.c:143:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(info->name2, optarg, sizeof(info->name2) - 1);
data/iptables-1.8.6/extensions/libxt_recent.c:121:2:  [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(info->name,"DEFAULT", XT_RECENT_NAME_LEN);
data/iptables-1.8.6/extensions/libxt_sctp.c:203: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).
			for (j = 0; j < strlen(chunk_flags); j++) {
data/iptables-1.8.6/extensions/libxt_set.c:77: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(optarg) > IPSET_MAXNAMELEN - 1)
data/iptables-1.8.6/extensions/libxt_set.c:158: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(optarg) > IPSET_MAXNAMELEN - 1)
data/iptables-1.8.6/extensions/libxt_set.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).
		if (strlen(optarg) > IPSET_MAXNAMELEN - 1)
data/iptables-1.8.6/extensions/libxt_set.c:435: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(optarg) > IPSET_MAXNAMELEN - 1)
data/iptables-1.8.6/extensions/libxt_set.c:604: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(optarg) > IPSET_MAXNAMELEN - 1)
data/iptables-1.8.6/extensions/libxt_set.h:65:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(setname, req.set.name, IPSET_MAXNAMELEN);
data/iptables-1.8.6/extensions/libxt_set.h:77:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(req.set.name, setname, IPSET_MAXNAMELEN);
data/iptables-1.8.6/extensions/libxt_set.h:108:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(req.set.name, setname, IPSET_MAXNAMELEN);
data/iptables-1.8.6/extensions/libxt_string.c:83: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) <= XT_STRING_MAX_PATTERN_SIZE) {
data/iptables-1.8.6/extensions/libxt_string.c:84:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(info->pattern, s, XT_STRING_MAX_PATTERN_SIZE);
data/iptables-1.8.6/extensions/libxt_string.c:98: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).
	slen = strlen(s);
data/iptables-1.8.6/iptables/ip6tables.c:335: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(chainname) >= XT_EXTENSION_MAXNAMELEN)
data/iptables-1.8.6/iptables/ip6tables.c:1649: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).
		    && (strlen(cs.jumpto) == 0
data/iptables-1.8.6/iptables/iptables-restore.c:218:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(curtable, table, XT_TABLE_MAXNAMELEN);
data/iptables-1.8.6/iptables/iptables-restore.c:258: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(chain) >= XT_EXTENSION_MAXNAMELEN)
data/iptables-1.8.6/iptables/iptables-save.c:62: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).
		if (tablename[strlen(tablename) - 1] != '\n')
data/iptables-1.8.6/iptables/iptables-save.c:66: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).
		tablename[strlen(tablename) - 1] = '\0';
data/iptables-1.8.6/iptables/iptables-xml.c:159:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(curChain, chain, XT_CHAIN_MAXNAMELEN);
data/iptables-1.8.6/iptables/iptables-xml.c:253:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(curTable, table, XT_TABLE_MAXNAMELEN);
data/iptables-1.8.6/iptables/iptables-xml.c:520:3:  [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(closeRuleTag, "      </rule>\n", XT_TABLE_MAXNAMELEN);
data/iptables-1.8.6/iptables/iptables-xml.c:534:3:  [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(closeActionTag, "       </actions>\n",
data/iptables-1.8.6/iptables/iptables.c:327: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(chainname) >= XT_EXTENSION_MAXNAMELEN)
data/iptables-1.8.6/iptables/iptables.c:1638: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).
		    && (strlen(cs.jumpto) == 0
data/iptables-1.8.6/iptables/nft-arp.c:231: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).
	} else if (strlen(cs->jumpto) > 0) {
data/iptables-1.8.6/iptables/nft-arp.c:425: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(cs->jumpto)) {
data/iptables-1.8.6/iptables/nft-arp.c:438:29:  [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.
		if (format & FMT_NUMERIC) strcat(iface, "*");
data/iptables-1.8.6/iptables/nft-arp.c:456:29:  [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.
		if (format & FMT_NUMERIC) strcat(iface, "*");
data/iptables-1.8.6/iptables/nft-arp.c:472: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(buf, mask_to_dotted(&(fw->arp.smsk)),
data/iptables-1.8.6/iptables/nft-arp.c:473: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).
			sizeof(buf) - strlen(buf) - 1);
data/iptables-1.8.6/iptables/nft-arp.c:498: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(buf, mask_to_dotted(&(fw->arp.tmsk)),
data/iptables-1.8.6/iptables/nft-arp.c:499: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).
			sizeof(buf) - strlen(buf) - 1);
data/iptables-1.8.6/iptables/nft-bridge.c:105: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).
	iface_len = strlen(iface);
data/iptables-1.8.6/iptables/nft-bridge.c:118: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).
	iface_len = strlen(iface);
data/iptables-1.8.6/iptables/nft-bridge.c:825: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).
	} else if (strlen(cs->jumpto) > 0)
data/iptables-1.8.6/iptables/nft-cmd.c:43: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).
		if (!state->target && strlen(state->jumpto) > 0)
data/iptables-1.8.6/iptables/nft-ipv4.c:344:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cs->fw.ip.iniface, args->iniface, IFNAMSIZ);
data/iptables-1.8.6/iptables/nft-ipv4.c:348:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cs->fw.ip.outiface, args->outiface, IFNAMSIZ);
data/iptables-1.8.6/iptables/nft-ipv6.c:292:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cs->fw6.ipv6.iniface, args->iniface, IFNAMSIZ);
data/iptables-1.8.6/iptables/nft-ipv6.c:296:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cs->fw6.ipv6.outiface, args->outiface, IFNAMSIZ);
data/iptables-1.8.6/iptables/nft-shared.c:141: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).
	iface_len = strlen(iface);
data/iptables-1.8.6/iptables/nft-shared.c:155: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).
	iface_len = strlen(iface);
data/iptables-1.8.6/iptables/nft-shared.c:271: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).
		memset(iniface_mask, 0xff, strlen(iniface)+1);
data/iptables-1.8.6/iptables/nft-shared.c:280: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).
		memset(outiface_mask, 0xff, strlen(outiface)+1);
data/iptables-1.8.6/iptables/nft-shared.c:666:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy((char *)m->data, comment, match->size - 1);
data/iptables-1.8.6/iptables/nft-shared.c:877: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).
	} else if (strlen(cs->jumpto) > 0) {
data/iptables-1.8.6/iptables/nft.c:934:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nftnl_expr_set(e, NFTNL_EXPR_MT_NAME, m->u.user.name, strlen(m->u.user.name));
data/iptables-1.8.6/iptables/nft.c:1182: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).
			  strlen(t->u.user.name));
data/iptables-1.8.6/iptables/nft.c:1282: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 (strlen(cs->jumpto) > 0) {
data/iptables-1.8.6/iptables/xshared.c:563:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, xtables_ipaddr_to_numeric(addr), BUFSIZ - 1);
data/iptables-1.8.6/iptables/xshared.c:565:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, xtables_ipaddr_to_anyname(addr), BUFSIZ - 1);
data/iptables-1.8.6/iptables/xshared.c:568: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.
	strncat(buf, xtables_ipmask_to_numeric(mask),
data/iptables-1.8.6/iptables/xshared.c:569: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).
		BUFSIZ - strlen(buf) - 1);
data/iptables-1.8.6/iptables/xshared.c:595:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, xtables_ip6addr_to_numeric(addr), BUFSIZ - 1);
data/iptables-1.8.6/iptables/xshared.c:597:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, xtables_ip6addr_to_anyname(addr), BUFSIZ - 1);
data/iptables-1.8.6/iptables/xshared.c:600: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.
	strncat(buf, xtables_ip6mask_to_numeric(mask),
data/iptables-1.8.6/iptables/xshared.c:601: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).
		BUFSIZ - strlen(buf) - 1);
data/iptables-1.8.6/iptables/xshared.c:686: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(targetname) < 1)
data/iptables-1.8.6/iptables/xshared.c:690: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(targetname) >= XT_EXTENSION_MAXNAMELEN)
data/iptables-1.8.6/iptables/xtables-arp.c:912: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).
	if (chain && strlen(chain) > ARPT_FUNCTION_MAXNAMELEN)
data/iptables-1.8.6/iptables/xtables-eb-translate.c:329: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(optarg) > EBT_TABLE_MAXNAMELEN - 1)
data/iptables-1.8.6/iptables/xtables-eb.c:851: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).
				else if (strlen(argv[optind]) >= NFT_CHAIN_MAXNAMELEN)
data/iptables-1.8.6/iptables/xtables-eb.c:967: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(optarg) > EBT_TABLE_MAXNAMELEN - 1)
data/iptables-1.8.6/iptables/xtables-restore.c:158: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(chain) >= XT_EXTENSION_MAXNAMELEN)
data/iptables-1.8.6/iptables/xtables-translate.c:35: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).
	int ifaclen = strlen(ifname), i, j;
data/iptables-1.8.6/iptables/xtables-translate.c:97: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).
	} else if (strlen(cs->jumpto) > 0) {
data/iptables-1.8.6/iptables/xtables.c:996:26:  [1] (buffer) strlen:
  Does not handle 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->chain != NULL && strlen(p->chain) >= XT_EXTENSION_MAXNAMELEN)
data/iptables-1.8.6/libiptc/libiptc.c:163:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(c->name, name, TABLE_MAXNAMELEN - 1);
data/iptables-1.8.6/libiptc/libiptc.c:1145:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(head->name.errorname, c->name, XT_FUNCTION_MAXNAMELEN);
data/iptables-1.8.6/libiptc/libiptc.c:1307: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(tablename) >= TABLE_MAXNAMELEN) {
data/iptables-1.8.6/libiptc/libiptc.c:1724:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memset(t->u.user.name + strlen(t->u.user.name),
data/iptables-1.8.6/libiptc/libiptc.c:1726: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).
	       FUNCTION_MAXNAMELEN - 1 - strlen(t->u.user.name));
data/iptables-1.8.6/libiptc/libiptc.c:2243: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(chain)+1 > sizeof(IPT_CHAINLABEL)) {
data/iptables-1.8.6/libiptc/libiptc.c:2379: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(newname)+1 > sizeof(IPT_CHAINLABEL)) {
data/iptables-1.8.6/libiptc/libiptc.c:2388:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(c->name, newname, sizeof(IPT_CHAINLABEL) - 1);
data/iptables-1.8.6/libxtables/xtables.c:388:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		count = read(procfile, ret, PATH_MAX);
data/iptables-1.8.6/libxtables/xtables.c:563: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 vialen = strlen(arg);
data/iptables-1.8.6/libxtables/xtables.c:610: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).
			next = dir + strlen(dir);
data/iptables-1.8.6/libxtables/xtables.c:672: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(name) >= XT_EXTENSION_MAXNAMELEN)
data/iptables-1.8.6/libxtables/xtables.c:917:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(rev.name, name, XT_EXTENSION_MAXNAMELEN - 1);
data/iptables-1.8.6/libxtables/xtables.c:998: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(me->name) >= XT_EXTENSION_MAXNAMELEN) {
data/iptables-1.8.6/libxtables/xtables.c:1004: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).
	if (me->real_name && strlen(me->real_name) >= XT_EXTENSION_MAXNAMELEN) {
data/iptables-1.8.6/libxtables/xtables.c:1182: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(me->name) >= XT_EXTENSION_MAXNAMELEN) {
data/iptables-1.8.6/libxtables/xtables.c:1188: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).
	if (me->real_name && strlen(me->real_name) >= XT_EXTENSION_MAXNAMELEN) {
data/iptables-1.8.6/libxtables/xtables.c:1476:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, dotted, sizeof(buf) - 1);
data/iptables-1.8.6/libxtables/xtables.c:1634: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(loop);
data/iptables-1.8.6/libxtables/xtables.c:1639:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, loop, len);
data/iptables-1.8.6/libxtables/xtables.c:1702:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, name, sizeof(buf) - 1);
data/iptables-1.8.6/libxtables/xtables.c:1800:3:  [1] (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 character.
		strcpy(buf, "/");
data/iptables-1.8.6/libxtables/xtables.c:1935: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(loop);
data/iptables-1.8.6/libxtables/xtables.c:1940:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, loop, len);
data/iptables-1.8.6/libxtables/xtables.c:1993:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, name, sizeof(buf) - 1);
data/iptables-1.8.6/libxtables/xtables.c:2307:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(xl->comment, comment, NFT_USERDATA_MAXLEN - 1);
data/iptables-1.8.6/libxtables/xtoptions.c:338: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).
	size_t z = strlen(cb->arg);
data/iptables-1.8.6/libxtables/xtoptions.c:354:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(p, cb->arg, z);
data/iptables-1.8.6/utils/nfnl_osf.c:412: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(buf) - 1;

ANALYSIS SUMMARY:

Hits = 738
Lines analyzed = 70544 in approximately 1.91 seconds (36897 lines/second)
Physical Source Lines of Code (SLOC) = 56108
Hits@level = [0] 2338 [1] 150 [2] 436 [3]  24 [4] 128 [5]   0
Hits@level+ = [0+] 3076 [1+] 738 [2+] 588 [3+] 152 [4+] 128 [5+]   0
Hits/KSLOC@level+ = [0+] 54.8228 [1+] 13.1532 [2+] 10.4798 [3+] 2.70906 [4+] 2.28131 [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.