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/xprobe-0.3/libs-external/USI++/usi++/datalink.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/icmp.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/if.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/ip.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/Layer2.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/RX.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/TX.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/TX_IP.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/udp.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/usi++.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/arp.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/usi-structs.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/config.h
Examining data/xprobe-0.3/libs-external/USI++/usi++/tcp.h
Examining data/xprobe-0.3/libs-external/USI++/samples/arps2.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/arpw.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/DeNAT.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/drop.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/error.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/filter.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/i.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/icmp_sniff.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/next2me.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/push-scan.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/recvFrag.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/s.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/sendFrag.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/syn.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/synping.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/tcpopt.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/tcp_sniff.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/tel.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/trace.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/turnblue.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/arps.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/udp_spoof.cc
Examining data/xprobe-0.3/libs-external/USI++/samples/x2.cc
Examining data/xprobe-0.3/libs-external/USI++/src/datalink.cc
Examining data/xprobe-0.3/libs-external/USI++/src/icmp.cc
Examining data/xprobe-0.3/libs-external/USI++/src/Layer2.cc
Examining data/xprobe-0.3/libs-external/USI++/src/tcp.cc
Examining data/xprobe-0.3/libs-external/USI++/src/TX_IP.cc
Examining data/xprobe-0.3/libs-external/USI++/src/arp.cc
Examining data/xprobe-0.3/libs-external/USI++/src/udp.cc
Examining data/xprobe-0.3/libs-external/USI++/src/ip.cc
Examining data/xprobe-0.3/libs-external/USI++/src/misc.cc
Examining data/xprobe-0.3/libs-external/USI++/fix/stl_alloc.h
Examining data/xprobe-0.3/src/xplib/xplib.h
Examining data/xprobe-0.3/src/xplib/xp_get_iface_addr.cc
Examining data/xprobe-0.3/src/xplib/xp_get_iface_addr.h
Examining data/xprobe-0.3/src/xplib/xp_get_interface.cc
Examining data/xprobe-0.3/src/xplib/xp_get_interface.h
Examining data/xprobe-0.3/src/xplib/xp_get_ping_payload.cc
Examining data/xprobe-0.3/src/xplib/xp_get_ping_payload.h
Examining data/xprobe-0.3/src/xplib/xp_get_random_data.cc
Examining data/xprobe-0.3/src/xplib/xp_get_random_data.h
Examining data/xprobe-0.3/src/xplib/xp_get_src_addr.cc
Examining data/xprobe-0.3/src/xplib/xp_get_src_addr.h
Examining data/xprobe-0.3/src/xplib/xp_sha1.cc
Examining data/xprobe-0.3/src/xplib/xp_sha1.h
Examining data/xprobe-0.3/src/xplib/xp_lib.cc
Examining data/xprobe-0.3/src/xplib/xp_lib.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.cc
Examining data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/sha1.cc
Examining data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/sha1.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/getrandom.cc
Examining data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc
Examining data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/ttl_calc.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/util.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/ttl_calc.cc
Examining data/xprobe-0.3/src/xpmodules/alive_probe/tcp_ping.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/udp_ping.cc
Examining data/xprobe-0.3/src/xpmodules/alive_probe/udp_ping.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/icmp_ping.cc
Examining data/xprobe-0.3/src/xpmodules/alive_probe/icmp_ping.h
Examining data/xprobe-0.3/src/xpmodules/alive_probe/tcp_ping.cc
Examining data/xprobe-0.3/src/xpmodules/modules_proto/test_mod.cc
Examining data/xprobe-0.3/src/xpmodules/modules_proto/test_mod.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask/icmp_addrmask.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask/icmp_addrmask.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id/icmp_echo_id.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id/icmp_echo_id.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq/icmp_inforeq.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq/icmp_inforeq.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/smb/smbutil.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/smb/smb_mod.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/smb/smbutil.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/smb/smb_mod.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/getrandom.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/icmp_port_unreach.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/icmp_port_unreach.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/parse_keyword.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/parse_keyword.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/util.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp_mod.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp_mod.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/tcp_rst/tcp_rst.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/tcp_rst/tcp_rst.h
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp/icmp_timestamp.cc
Examining data/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp/icmp_timestamp.h
Examining data/xprobe-0.3/src/xpmodules/static_modules.h
Examining data/xprobe-0.3/src/config_set.h
Examining data/xprobe-0.3/src/interface.cc
Examining data/xprobe-0.3/src/interface.h
Examining data/xprobe-0.3/src/interface_con.cc
Examining data/xprobe-0.3/src/interface_con.h
Examining data/xprobe-0.3/src/log.h
Examining data/xprobe-0.3/src/os_matrix.cc
Examining data/xprobe-0.3/src/os_matrix.h
Examining data/xprobe-0.3/src/scan_engine.cc
Examining data/xprobe-0.3/src/scan_engine.h
Examining data/xprobe-0.3/src/target.cc
Examining data/xprobe-0.3/src/target.h
Examining data/xprobe-0.3/src/targets_list.cc
Examining data/xprobe-0.3/src/targets_list.h
Examining data/xprobe-0.3/src/xprobe.cc
Examining data/xprobe-0.3/src/log.cc
Examining data/xprobe-0.3/src/xprobe.h
Examining data/xprobe-0.3/src/xprobe_module.h
Examining data/xprobe-0.3/src/xprobe_module_hdlr.cc
Examining data/xprobe-0.3/src/xprobe_module_hdlr.h
Examining data/xprobe-0.3/src/xprobe_module_param.cc
Examining data/xprobe-0.3/src/xprobe_module_param.h
Examining data/xprobe-0.3/src/xprobe_timeval.h
Examining data/xprobe-0.3/src/cmd_opts.cc
Examining data/xprobe-0.3/src/cmd_opts.h
Examining data/xprobe-0.3/src/config_set.cc
Examining data/xprobe-0.3/acconfig.h

FINAL RESULTS:

data/xprobe-0.3/src/interface_con.cc:44:5:  [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, fmt, ap);
data/xprobe-0.3/src/interface_con.cc:58:5:  [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(stdout, fmt, ap);
data/xprobe-0.3/src/interface_con.cc:66:5:  [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(stdout, fmt, ap);
data/xprobe-0.3/src/interface_con.cc:77:3:  [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(logfile, fmt, ap);
data/xprobe-0.3/src/interface_con.cc:88:5:  [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(stdout, fmt, ap);
data/xprobe-0.3/src/interface_con.cc:100:5:  [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, fmt, ap);
data/xprobe-0.3/src/log.cc:13:10:  [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.
		return vfprintf(ofile, fmt, va);
data/xprobe-0.3/libs-external/USI++/fix/stl_alloc.h:92:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection(&_S_node_allocator_lock)
data/xprobe-0.3/libs-external/USI++/fix/stl_alloc.h:384:13:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
            InitializeCriticalSection(&_S_node_allocator_lock);
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:22:9:  [3] (random) srand:
  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.
        srand(time(NULL));
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:41:14:  [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 ((c = getopt(argc, argv, "D:d:s:t:U:T:Ii")) != -1) {
data/xprobe-0.3/libs-external/USI++/src/ip.cc:35:3:  [3] (random) srand:
  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.
		srand(time(NULL));
data/xprobe-0.3/libs-external/USI++/src/ip.cc:83:3:  [3] (random) srand:
  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.
		srand(time(NULL));
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:31:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/xprobe-0.3/src/cmd_opts.cc:83:16:  [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((c = getopt(argc, argv, "vi:p:ho:t:d:c:rD:m:M:PT:U:s:fLFXBA")) !=EOF) 
data/xprobe-0.3/src/xpmodules/alive_probe/icmp_ping.cc:98:5:  [3] (random) srand:
  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.
    srand(time(NULL));
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.cc:286:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/xprobe-0.3/src/xpmodules/alive_probe/tcp_ping.cc:75:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/getrandom.cc:14:5:  [3] (random) srand:
  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.
    srand(tp.tv_usec);
data/xprobe-0.3/src/xpmodules/alive_probe/udp_ping.cc:80:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask/icmp_addrmask.cc:116:5:  [3] (random) srand:
  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.
    srand(time(NULL));
data/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id/icmp_echo_id.cc:159:5:  [3] (random) srand:
  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.
    srand(time(NULL));
data/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq/icmp_inforeq.cc:116:5:  [3] (random) srand:
  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.
    srand(time(NULL));
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/getrandom.cc:14:5:  [3] (random) srand:
  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.
    srand(tp.tv_usec);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp/icmp_timestamp.cc:115:5:  [3] (random) srand:
  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.
    srand(time(NULL));
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:130:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:447:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/xprobe-0.3/src/xpmodules/os_probe/tcp_rst/tcp_rst.cc:106:2:  [3] (random) srand:
  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.
	srand(time(NULL));
data/xprobe-0.3/libs-external/USI++/fix/stl_alloc.h:337:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char _M_client_data[1];    /* The client sees this.        */
data/xprobe-0.3/libs-external/USI++/fix/stl_alloc.h:572: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(__result, __p, __copy_sz);
data/xprobe-0.3/libs-external/USI++/samples/DeNAT.cc: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 buf[512], src[512], dst[512];
data/xprobe-0.3/libs-external/USI++/samples/arpw.cc:11: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 m[100];	// uhhh.... :)
data/xprobe-0.3/libs-external/USI++/samples/arpw.cc:26:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char shw[100], sip[100], dip[100];
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:52:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sbuf[1000];
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc: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 buf[100], sr[1000], dst[1000];
data/xprobe-0.3/libs-external/USI++/samples/drop.cc:22: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).
	int srcport = atoi(argv[2]);
data/xprobe-0.3/libs-external/USI++/samples/drop.cc: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 payload[sizeof(iphdr) + sizeof(tcphdr)];
data/xprobe-0.3/libs-external/USI++/samples/drop.cc:44: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(payload, &iph, sizeof(iph));
data/xprobe-0.3/libs-external/USI++/samples/drop.cc:45: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(payload+sizeof(iph), &tcph, 8);
data/xprobe-0.3/libs-external/USI++/samples/filter.cc:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[1000], filter[1000];
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:24:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[100];
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:46:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char mac[100];
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:56:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s[10];
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:57:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char rbuf[1000];
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:58:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 c[3];
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:64:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((f = fopen(datfile, "r")) == NULL) {
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:71:9:  [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(s, "%x:%x:%x%c", c[0], c[1], c[2], 0x09);
data/xprobe-0.3/libs-external/USI++/samples/i.cc: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 buf[1024], sbuf[1024], s[100], d[100];
data/xprobe-0.3/libs-external/USI++/samples/i.cc:28:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, &iph, sizeof(iph));
data/xprobe-0.3/libs-external/USI++/samples/i.cc:29:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&buf[sizeof(iph)], sbuf, 8);
data/xprobe-0.3/libs-external/USI++/samples/icmp_sniff.cc:11:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1000] = {0}, src[1000], dst[1000];
data/xprobe-0.3/libs-external/USI++/samples/icmp_sniff.cc:21:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char smac[100], dmac[100];
data/xprobe-0.3/libs-external/USI++/samples/next2me.cc:14:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/xprobe-0.3/libs-external/USI++/samples/push-scan.cc:51:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[1000], filter[1000];
data/xprobe-0.3/libs-external/USI++/samples/recvFrag.cc: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 sip[100], dip[100];
data/xprobe-0.3/libs-external/USI++/samples/recvFrag.cc:10:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/xprobe-0.3/libs-external/USI++/samples/syn.cc:16:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	u_int16_t sport = atoi(argv[3]);
data/xprobe-0.3/libs-external/USI++/samples/syn.cc:17:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	u_int16_t dport = atoi(argv[4]);
data/xprobe-0.3/libs-external/USI++/samples/synping.cc:12:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/xprobe-0.3/libs-external/USI++/samples/synping.cc:29:25:  [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).
        tcp.set_dstport(atoi(argv[2]));
data/xprobe-0.3/libs-external/USI++/samples/tcp_sniff.cc: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 buf[MAXDATALEN];
data/xprobe-0.3/libs-external/USI++/samples/tcp_sniff.cc: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 src[1000], dst[1000];
data/xprobe-0.3/libs-external/USI++/samples/tcp_sniff.cc:156:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[1000];
data/xprobe-0.3/libs-external/USI++/samples/tel.cc:12:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:38:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char source[1000], dest[1000], dev[10];
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:40: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(dev, "eth0");
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:44: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).
			type = atoi(optarg);
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:56: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/xprobe-0.3/libs-external/USI++/samples/trace.cc:60: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/xprobe-0.3/libs-external/USI++/samples/trace.cc: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 buf[1000], buf2[1000];
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1000], buf2[1000];
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:149:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1000], buf2[1000];
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:180:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[100], buf2[100];
data/xprobe-0.3/libs-external/USI++/samples/turnblue.cc: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 buf[100];
data/xprobe-0.3/libs-external/USI++/samples/turnblue.cc:23: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, "USER \E[34m");	// turn tehereal's output into blue
data/xprobe-0.3/libs-external/USI++/src/arp.cc:36:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(hwaddr, arphdr.arp_sha, len<6?len:6);
data/xprobe-0.3/libs-external/USI++/src/arp.cc:50:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(hwaddr, arphdr.arp_tha, len<6?len:6);
data/xprobe-0.3/libs-external/USI++/src/arp.cc:70:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&in, arphdr.arp_tpa, 4);
data/xprobe-0.3/libs-external/USI++/src/arp.cc:92:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&in, arphdr.arp_spa, 4);
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:141:7:  [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(hwaddr, "%02x:%02x:%02x:%02x:%02x:%02x", (u_char)*s, 
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:165:17:  [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(hwaddr, "%02x:%02x:%02x:%02x:%02x:%02x", (u_char)*s, 
data/xprobe-0.3/libs-external/USI++/src/datalink.cc: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 ebuf[PCAP_ERRBUF_SIZE];
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:284:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf[PCAP_ERRBUF_SIZE];
data/xprobe-0.3/libs-external/USI++/src/datalink.cc: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(&d_ether, tmp, d_framelen);
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:400:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s, (tmp + d_framelen), 
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:412: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(hwframe, &d_ether, (len<sizeof(d_ether)?len:sizeof(d_ether)));
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:435:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf[PCAP_ERRBUF_SIZE];
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:449:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ebuf[PCAP_ERRBUF_SIZE];
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:181:9:  [2] (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*)s, (struct icmphdr*)&this->icmphdr, sizeof(icmphdr));
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:184:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
           	memcpy(s+sizeof(icmphdr), payload, paylen);
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:216:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char payload[PING_PAYLOAD_SIZE];
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:228: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 (payload, &Timestamp, sizeof(Timestamp));
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:235:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char payload[TIMESTAMP_PAYLOAD_SIZE];
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:241: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(payload, &tv.tv_usec, sizeof(tv.tv_usec));
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:247:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char payload[ADDRMASK_PAYLOAD_SIZE];
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:276:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&icmphdr, icmph, sizeof(struct icmphdr));
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:280:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    		memcpy(s, ++icmph, len);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:117: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(&iph, &iphh, sizeof(iphh));
data/xprobe-0.3/libs-external/USI++/src/ip.cc:413:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&iph.saddr, he->h_addr, he->h_length);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:435:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&iph.daddr, he->h_addr, he->h_length);
data/xprobe-0.3/libs-external/USI++/src/ip.cc: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(s, &iph, sizeof(iph));
data/xprobe-0.3/libs-external/USI++/src/ip.cc:474: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(s + sizeof(iph), payload, paylen);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:539: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(ipOptions, tmp+sizeof(iph), iplen-sizeof(iph));	
data/xprobe-0.3/libs-external/USI++/src/ip.cc:542:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf, (char*)i + iplen, len);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:610: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(f->data, packet, ihl);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:627: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(f->data + offset + ihl,
data/xprobe-0.3/libs-external/USI++/src/ip.cc:668: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(packet, f->data, len+ihl);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:687:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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], src_str[256], dst_str[256];
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:237:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tmp, &pseudo, sizeof(pseudo));
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:238: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(tmp + sizeof(pseudo), &tcph, sizeof(tcph));
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:242:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    		memcpy(tmp + sizeof(pseudo) + sizeof(tcph), tcpOptions, (tcph.th_off<<2)-sizeof(tcph));
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:245: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(tmp + sizeof(pseudo) + (tcph.th_off<<2), buf, paylen);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:296: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(tcpOptions, tmp+sizeof(tcph), opt_offset);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:304:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf, tmp + tcplen, len);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:371: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(&tcpOptions[opt_offset], to.unknown, xl);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:392:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, tcpOptions, 40);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:399: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(tcpOptions, buf, opt_offset);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:482:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&timestamps[0], tcpOptions+lenparsed+2, 4);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:483:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&timestamps[1], tcpOptions+lenparsed+6, 4);
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:512:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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], tcp_opt[40];
data/xprobe-0.3/libs-external/USI++/src/udp.cc:157: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(tmp, &d_pseudo, sizeof(d_pseudo));
data/xprobe-0.3/libs-external/USI++/src/udp.cc:158: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(tmp + sizeof(d_pseudo), &d_udph, sizeof(d_udph));
data/xprobe-0.3/libs-external/USI++/src/udp.cc:159: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(tmp + sizeof(d_pseudo) + sizeof(d_udph), buf, paylen);
data/xprobe-0.3/libs-external/USI++/src/udp.cc:200:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    		memcpy(buf, tmp + sizeof(d_udph), len);
data/xprobe-0.3/libs-external/USI++/usi++/datalink.h:46:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char d_dev[10];
data/xprobe-0.3/libs-external/USI++/usi++/datalink.h:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char d_filter_string[1000];
data/xprobe-0.3/libs-external/USI++/usi++/if.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 ifrn_name[IFNAMSIZ];	/* Interface name, e.g. "en0".  */
data/xprobe-0.3/libs-external/USI++/usi++/if.h:130:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ifru_slave[IFNAMSIZ];	/* Just fits the size */
data/xprobe-0.3/libs-external/USI++/usi++/ip.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 ipOptions[40];
data/xprobe-0.3/libs-external/USI++/usi++/ip.h:29:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[1000];
data/xprobe-0.3/libs-external/USI++/usi++/tcp.h:28: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.
      	char tcpOptions[40];
data/xprobe-0.3/libs-external/USI++/usi++/tcp.h:174: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 left_options[40], right_options[40];
data/xprobe-0.3/libs-external/USI++/usi++/usi-structs.h:123:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 __ar_sha[ETH_ALEN];	// Sender hardware address.  
data/xprobe-0.3/libs-external/USI++/usi++/usi-structs.h:124:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 __ar_sip[4];		// Sender IP address.  
data/xprobe-0.3/libs-external/USI++/usi++/usi-structs.h:125:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 __ar_tha[ETH_ALEN];	// Target hardware address.  
data/xprobe-0.3/libs-external/USI++/usi++/usi-structs.h:126:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 __ar_tip[4];		// Target IP address.  
data/xprobe-0.3/libs-external/USI++/usi++/usi-structs.h:403:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char unknown[20];  // default
data/xprobe-0.3/src/cmd_opts.cc:86:30:  [2] (integer) atol:
  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).
                debuglevel = atol(optarg);
data/xprobe-0.3/src/cmd_opts.cc:280:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (!(iportnum = atoi(tokens[1].c_str())) || iportnum > 65535 || iportnum < 1) {
data/xprobe-0.3/src/config_set.cc:204:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = fopen(filename.c_str(), "r")) == NULL)  {
data/xprobe-0.3/src/config_set.cc:263:50:  [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).
        if (key == "timeout") cfset->set_timeout(atoi(val.c_str()));
data/xprobe-0.3/src/interface_con.cc:70: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).
			if ((logfile = fopen(copts->get_logfile(), "w")) == NULL) {
data/xprobe-0.3/src/log.cc:18:10:  [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 Log::open() {
data/xprobe-0.3/src/log.cc:19:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((ofile = fopen(logfile.c_str(), "w")) == NULL) {
data/xprobe-0.3/src/log.h:34: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).
		int open();
data/xprobe-0.3/src/log.h:44: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).
				return open();
data/xprobe-0.3/src/target.cc:46: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).
    if (!atoi(mask_ascii) || atoi(mask_ascii) > 32) {
data/xprobe-0.3/src/target.cc:46:30:  [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).
    if (!atoi(mask_ascii) || atoi(mask_ascii) > 32) {
data/xprobe-0.3/src/target.cc:51:35:  [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).
    mask = htonl((0xffffffff<<(32-atoi(mask_ascii))));
data/xprobe-0.3/src/target.cc:91:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *)&addr, (void *)host_serv->h_addr, host_serv->h_length);
data/xprobe-0.3/src/target.h:99:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((void *)&addr, (void *)&a, sizeof(struct in_addr));     
data/xprobe-0.3/src/xplib/xp_get_iface_addr.cc:55: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((void *)&retval, (void *)&(sinaddr->sin_addr.s_addr),
data/xprobe-0.3/src/xplib/xp_get_interface.cc:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[sizeof(struct ifreq)*MAXIFNUM];
data/xprobe-0.3/src/xplib/xp_get_interface.cc:35:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ifrname[IF_NAMESIZE + 1];
data/xprobe-0.3/src/xplib/xp_get_interface.cc:86:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        bcopy((void *)ifr, (void *)&ifrtemp, sizeof(struct ifreq));
data/xprobe-0.3/src/xplib/xp_get_interface.cc:106:8:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
       bcopy((void *)(&ifrtemp)->ifr_name, (void *)ifrname, IF_NAMESIZE); 
data/xprobe-0.3/src/xplib/xp_get_ping_payload.cc:41: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 (dest, &timestmp, tocopy);
data/xprobe-0.3/src/xplib/xp_get_random_data.cc:34:35:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                        if ((fd = fopen (RAND_DEV, "r")) == NULL){
data/xprobe-0.3/src/xplib/xp_lib.cc:53:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tokens->push_back(atoi(str_vector[ix].c_str()));
data/xprobe-0.3/src/xplib/xp_lib.cc:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512];
data/xprobe-0.3/src/xplib/xp_sha1.cc:57:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void)memcpy(block, buffer, 64);
data/xprobe-0.3/src/xplib/xp_sha1.cc:129:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(void)memcpy(&context->buffer[j], data, (i = 64-j));
data/xprobe-0.3/src/xplib/xp_sha1.cc:137:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void)memcpy(&context->buffer[j], &data[i], len - i);
data/xprobe-0.3/src/xpmodules/alive_probe/icmp_ping.cc:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.cc:264: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 digest[20];
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.cc:371:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char payload[1024], *tcp_options;
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.cc:372: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 digest[20];
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/sha1.cc:60:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void)memcpy(block, buffer, 64);
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/sha1.cc:132:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(void)memcpy(&context->buffer[j], data, (i = 64-j));
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/sha1.cc:140:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void)memcpy(&context->buffer[j], &data[i], len - i);
data/xprobe-0.3/src/xpmodules/alive_probe/tcp_ping.cc:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:21: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 (&secfocip, hostip->h_addr, hostip->h_length);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:43: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 (localpacket, DNSREPLYSTRING, DNSREPLYLEN);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:45:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:47:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:49: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 (localpacket, DNSREPLYSTRING, DNSREPLYLEN);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:51:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:53:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:56:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 4);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/build_DNS_reply.cc:59:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/ttl_calc.cc: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 hname[MAXHOSTLEN];
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/ttl_calc.cc: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 filter[BUFSIZE];
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/ttl_calc.cc:162:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						memcpy(&echoed_sport, buf + (sizeof(struct icmp_hdr)+sizeof(struct ip)), sizeof(unsigned short));
data/xprobe-0.3/src/xpmodules/alive_probe/ttl_calc/ttl_calc.cc:163:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						memcpy(&echoed_dport, buf + (sizeof(struct icmp_hdr)+sizeof(struct ip)+sizeof(unsigned short)), 
data/xprobe-0.3/src/xpmodules/alive_probe/udp_ping.cc:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/os_probe/icmp_addrmask/icmp_addrmask.cc:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/os_probe/icmp_echo_id/icmp_echo_id.cc:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/os_probe/icmp_inforeq/icmp_inforeq.cc:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:21: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 (&secfocip, hostip->h_addr, hostip->h_length);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:43: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 (localpacket, DNSREPLYSTRING, DNSREPLYLEN);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:45:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:47:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:49: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 (localpacket, DNSREPLYSTRING, DNSREPLYLEN);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:51:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:53:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:56:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 4);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/build_DNS_reply.cc:59:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(localpacket, &one, 2);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/icmp_port_unreach.h:85:78:  [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).
            void put_p_unreach_ttl (const char *v) { icmp_port_unreach_ttl = atoi(v) - 1; }
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/icmp_port_unreach.h:98:61:  [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).
            void put_icmp_df (const char *v) { icmp_ip_df = atoi(v); }
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/icmp_port_unreach.h:103:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					echoed_size = atoi(v);
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/icmp_port_unreach.h:111:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				else if ((atoi(v)) == 0)
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/icmp_port_unreach.h:119:27:  [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).
                else if ((atoi(v)) == 0)
data/xprobe-0.3/src/xpmodules/os_probe/icmp_timestamp/icmp_timestamp.cc:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:58:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(void)memcpy( &bufr[4],  Called,  34 );
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:59:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(void)memcpy( &bufr[38], Calling, 34 );
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc: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 bufr[128];
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:132: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 Called[34];
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:133: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 Calling[34];
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:259:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		length = strlen((const char *)namev[i]) + 1;       /* includes nul  */
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:263:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void)memcpy( &smb_bufr[offset], namev[i], length );
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:320: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(smb_bufr+SMB_HDR_SIZE+wordcount+1, smb_data, sizeof(smb_data));
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:339:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[2048], *nativeosptr=NULL;
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:458:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[2048];
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:586:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[128];
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.h:116:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[6];
data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp_mod.cc:86: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 *packet, buf[2048];
data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp_mod.cc:135: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(packet, snmp_request_start, sizeof(snmp_request_start)-1);
data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp_mod.cc:136: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(packet+sizeof(snmp_request_start)-1, tokens[i].c_str(), tokens[i].size());
data/xprobe-0.3/src/xpmodules/os_probe/snmp/snmp_mod.cc:137: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(packet+sizeof(snmp_request_start)-1+tokens[i].size(), snmp_request_end, sizeof(snmp_request_end)-1);
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:86:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:315: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(&timestamps[0], tcp_options+lenparsed+2, 4);
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:316: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(&timestamps[1], tcp_options+lenparsed+6, 4);
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:475:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.h:41: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 opt_order[40];
data/xprobe-0.3/src/xpmodules/os_probe/tcp_rst/tcp_rst.cc:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/xprobe-0.3/src/xprobe.h:45:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy(x,y,z) memcpy((void *)y, (const void *)x, (size_t) z)
data/xprobe-0.3/src/xprobe.h:45:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy(x,y,z) memcpy((void *)y, (const void *)x, (size_t) z)
data/xprobe-0.3/src/xprobe_module_param.cc:189:37:  [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).
                p.low = 0; p.high = atoi(param+1);
data/xprobe-0.3/src/xprobe_module_param.cc:191:25:  [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).
                p.low = atoi(param+1); p.high = 256;
data/xprobe-0.3/src/xprobe_module_param.cc:193:25:  [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).
                p.low = atoi(param) - 1; p.high = atoi(param) + 1;
data/xprobe-0.3/src/xprobe_module_param.cc:193:51:  [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).
                p.low = atoi(param) - 1; p.high = atoi(param) + 1;
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:65:2:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
	sprintf(sbuf, "\0");
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:75: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).
	conn->sendpack(sbuf, strlen(sbuf) + 1);
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:84:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	conn->set_seq(conn->get_seq() + strlen(sbuf) + 1);
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:87: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).
	conn->sendpack(sbuf, strlen(sbuf) + 1);
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:91:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	conn->set_seq(conn->get_seq() + strlen(sbuf) + 1);
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:94: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).
	conn->sendpack(sbuf, strlen(sbuf) + 1);
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:99:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	conn->set_seq(conn->get_seq() + strlen(sbuf) + 1);
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:102: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).
	conn->sendpack(sbuf, strlen(sbuf) + 1);
data/xprobe-0.3/libs-external/USI++/samples/blindSpoof.cc:165:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(500);
data/xprobe-0.3/libs-external/USI++/samples/drop.cc:48:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(10000);
data/xprobe-0.3/libs-external/USI++/samples/hardSpy.cc:76: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).
		if (strncmp(rbuf, s, strlen(s)) == 0) {
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:47:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(source, optarg, sizeof(source));
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:51:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(dest, optarg, sizeof(dest));
data/xprobe-0.3/libs-external/USI++/samples/trace.cc:66:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(dev, optarg, sizeof(dev));
data/xprobe-0.3/libs-external/USI++/src/arp.cc:72:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	      	strncpy(pa, inet_ntoa(in), len);
data/xprobe-0.3/libs-external/USI++/src/arp.cc:74:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	      	strncpy(pa, he->h_name, len);
data/xprobe-0.3/libs-external/USI++/src/arp.cc:94:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	      	strncpy(pa, inet_ntoa(in), len);
data/xprobe-0.3/libs-external/USI++/src/arp.cc:96:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	      	strncpy(pa, he->h_name, len);
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:49:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(d_filter_string, filterStr, sizeof(d_filter_string));
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:73:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(d_filter_string, rhs.d_filter_string, sizeof(d_filter_string));
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:74:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(d_dev, rhs.d_dev, sizeof(d_dev));
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:95:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(d_filter_string, rhs.d_filter_string, sizeof(d_filter_string));
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:96:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(d_dev, rhs.d_dev, sizeof(d_dev));
data/xprobe-0.3/libs-external/USI++/src/datalink.cc:272:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(d_dev, dev, sizeof(d_dev));
data/xprobe-0.3/libs-external/USI++/src/icmp.cc:203: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).
   	return sendpack(payload, strlen(payload));
data/xprobe-0.3/libs-external/USI++/src/ip.cc:364:14:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	strncpy(s, inet_ntoa(in), len);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:366:14:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	strncpy(s, he->h_name, len);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:389:14:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	strncpy(s, inet_ntoa(in), len);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:391:14:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            	strncpy(s, he->h_name, len);
data/xprobe-0.3/libs-external/USI++/src/ip.cc:495:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return sendpack((void*)payload, strlen(payload));
data/xprobe-0.3/libs-external/USI++/src/tcp.cc:264:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return sendpack(s, strlen(s));
data/xprobe-0.3/libs-external/USI++/src/udp.cc:178:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return sendpack(s, strlen(s));
data/xprobe-0.3/src/xplib/xp_get_iface_addr.cc:46:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ifr.ifr_name, iname, sizeof(ifr.ifr_name));
data/xprobe-0.3/src/xplib/xp_lib.cc:69:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool xp_lib::equal(const char *str1, const char *str2) {
data/xprobe-0.3/src/xplib/xp_lib.cc:70:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (strncasecmp(str1, str2, strlen(str1)) == 0);
data/xprobe-0.3/src/xplib/xp_lib.cc:73:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool xp_lib::equal(string str1, string str2) {
data/xprobe-0.3/src/xplib/xp_lib.cc:74:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	return equal(str1.c_str(), str2.c_str());
data/xprobe-0.3/src/xplib/xp_lib.h:38:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		static bool equal(const char *, const char *);
data/xprobe-0.3/src/xplib/xp_lib.h:39:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		static bool equal(string, string);
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.cc:295:34:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		    if (send_delay.microsec()) usleep(send_delay.microsec());
data/xprobe-0.3/src/xpmodules/alive_probe/portscanner/portscanner.cc:328:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(send_delay.microsec());
data/xprobe-0.3/src/xpmodules/os_probe/icmp_port_unreach/parse_keyword.cc:17:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strncmp (keyarr[iii], keyword, strlen (keyarr[iii]))) == 0) {
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:259:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		length = strlen((const char *)namev[i]) + 1;       /* includes nul  */
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb.cc:525: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).
				+ strlen((const char *) &buf[12] ) + 1	/* NBT Name length      */
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb_mod.cc:71:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncasecmp(kwd, "smb_nativeos", strlen("smb_nativeos")) == 0) {
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb_mod.cc:73: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).
	} else if (strncasecmp(kwd, "smb_lanman", strlen("smb_lanman")) == 0) {
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb_mod.cc:127:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				if (xp_lib::equal(iter->second->nativeos, smb.get_nativeos())) {
data/xprobe-0.3/src/xpmodules/os_probe/smb/smb_mod.cc:132:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				if (xp_lib::equal(iter->second->lanman, smb.get_lanman())) {
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:104:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(10000);
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:372: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(kwd, "tcp_syn_ack_options_order", strlen("tcp_syn_ack_options_order"))) {
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:405:54:  [1] (buffer) strlen:
  Does not handle 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(kwd, "tcp_syn_ack_wscale", strlen("tcp_syn_ack_wscale"))) {
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:418:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	} else if (!strncasecmp(kwd, "tcp_syn_ack_tsval", strlen("tcp_syn_ack_tsval"))) {
data/xprobe-0.3/src/xpmodules/os_probe/tcp_handshake/tcp_handshake.cc:426:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	} else if (!strncasecmp(kwd, "tcp_syn_ack_tsecr", strlen("tcp_syn_ack_tsecr"))) {

ANALYSIS SUMMARY:

Hits = 284
Lines analyzed = 19203 in approximately 0.56 seconds (34520 lines/second)
Physical Source Lines of Code (SLOC) = 12371
Hits@level = [0]  60 [1]  53 [2] 203 [3]  21 [4]   7 [5]   0
Hits@level+ = [0+] 344 [1+] 284 [2+] 231 [3+]  28 [4+]   7 [5+]   0
Hits/KSLOC@level+ = [0+] 27.807 [1+] 22.9569 [2+] 18.6727 [3+] 2.26336 [4+] 0.565839 [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.