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/irpas-0.10/enum.c
Examining data/irpas-0.10/irdp.c
Examining data/irpas-0.10/tctrace.c
Examining data/irpas-0.10/file2cable.c
Examining data/irpas-0.10/netenum.c
Examining data/irpas-0.10/dfkaa.c
Examining data/irpas-0.10/hsrp.c
Examining data/irpas-0.10/build.h
Examining data/irpas-0.10/icmp_redirect.c
Examining data/irpas-0.10/ass_v1.c
Examining data/irpas-0.10/cdp.c
Examining data/irpas-0.10/dhcpx.c
Examining data/irpas-0.10/irdpresponder.c
Examining data/irpas-0.10/itrace.c
Examining data/irpas-0.10/netmask.c
Examining data/irpas-0.10/timestamp.c
Examining data/irpas-0.10/enum.h
Examining data/irpas-0.10/packets.c
Examining data/irpas-0.10/packets.h
Examining data/irpas-0.10/protocol-numbers.h
Examining data/irpas-0.10/protocols.h
Examining data/irpas-0.10/igrp.c
Examining data/irpas-0.10/protos.c

FINAL RESULTS:

data/irpas-0.10/ass_v1.c:281:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/ass_v1.c:325:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.active_protos,optarg);
data/irpas-0.10/ass_v1.c:329:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.inputfile,optarg);
data/irpas-0.10/ass_v1.c:348:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(cfg.active_protos,FCHAR_ACTIVE_ALL);
data/irpas-0.10/ass_v1.c:374:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(BANNER); printf("\tIRPAS build %s\n",BUILD);
data/irpas-0.10/ass_v1.c:631:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			    ntohs(igrp->system));
data/irpas-0.10/ass_v1.c:634:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		for (i=0;i<ntohs(igrp->system);i++) {
data/irpas-0.10/ass_v1.c:644:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				igrp->system,i);
data/irpas-0.10/ass_v1.c:948:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(tipstr,inet_ntoa(cfg.src));
data/irpas-0.10/ass_v1.c:950:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(notfilter,PATTERNSTRING);
data/irpas-0.10/ass_v1.c:951:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(notfilter,tipstr);
data/irpas-0.10/cdp.c:88:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/cdp.c:119:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.S_devname,optarg);
data/irpas-0.10/cdp.c:122:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.S_portid,optarg);
data/irpas-0.10/cdp.c:125:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.S_capas,optarg);
data/irpas-0.10/cdp.c:128:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.S_platform,optarg);
data/irpas-0.10/cdp.c:131:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.S_software,optarg);
data/irpas-0.10/dfkaa.c:196:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.pass,optarg);
data/irpas-0.10/dfkaa.c:213:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.nname,optarg);
data/irpas-0.10/dhcpx.c:150:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/dhcpx.c:185:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(BANNER); printf("\tIRPAS build %s\n",BUILD);
data/irpas-0.10/dhcpx.c:708:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(notfilter,PATTERNSTRING);
data/irpas-0.10/dhcpx.c:709:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(notfilter,tipstr);
data/irpas-0.10/enum.c:122:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(tp,dest);
data/irpas-0.10/file2cable.c:58:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/file2cable.c:61:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.filename,optarg);
data/irpas-0.10/hsrp.c:80:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(device,optarg);
data/irpas-0.10/icmp_redirect.c:109:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/icmp_redirect.c:128:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(inet,optarg);
data/irpas-0.10/icmp_redirect.c:152:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(inet,optarg);
data/irpas-0.10/icmp_redirect.c:204:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(BANNER); printf("\tIRPAS build %s\n",BUILD);
data/irpas-0.10/icmp_redirect.c:320:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tipstr,inet_ntoa(cfg.src));
data/irpas-0.10/icmp_redirect.c:322:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(notfilter,PATTERNSTRING);
data/irpas-0.10/icmp_redirect.c:323:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(notfilter,tipstr);
data/irpas-0.10/igrp.c:96:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/igrp.c:100:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.routesfile,optarg);
data/irpas-0.10/irdp.c:79:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/irdpresponder.c:98:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/irdpresponder.c:140:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(BANNER);
data/irpas-0.10/itrace.c:83:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.tdest,optarg);
data/irpas-0.10/itrace.c:92:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/itrace.c:276:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(name,hr->h_name);
data/irpas-0.10/itrace.c:278:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/itrace.c:284:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/netmask.c:69:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.tdest,optarg);
data/irpas-0.10/netmask.c:162:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(name,hr->h_name);
data/irpas-0.10/netmask.c:164:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/netmask.c:170:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/protocols.h:239:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    u_int16_t           system			__attribute__ ((packed));
data/irpas-0.10/protos.c:120:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.dest,optarg);
data/irpas-0.10/protos.c:123:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/protos.c:582:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(tp,cfg.dest);
data/irpas-0.10/tctrace.c:91:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.tdest,optarg);
data/irpas-0.10/tctrace.c:100:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.device,optarg);
data/irpas-0.10/tctrace.c:314:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(name,hr->h_name);
data/irpas-0.10/tctrace.c:316:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/tctrace.c:322:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/tctrace.c:413:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			    strcpy(name,hr->h_name);
data/irpas-0.10/tctrace.c:415:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			    strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/tctrace.c:421:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			    strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/timestamp.c:69:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cfg.tdest,optarg);
data/irpas-0.10/timestamp.c:163:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(name,hr->h_name);
data/irpas-0.10/timestamp.c:165:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/timestamp.c:171:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(name,inet_ntoa(from.sin_addr));
data/irpas-0.10/ass_v1.c:274:20:  [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 ((option=getopt(argc,argv,"vcpAMsi:a:b:S:D:T:P:r:"))!=EOF) {
data/irpas-0.10/cdp.c:82:20:  [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 ((option=getopt(argc,argv,"vi:n:l:m:c:rD:P:C:L:S:F:"))!=EOF) {
data/irpas-0.10/cdp.c:159: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((unsigned int)time(NULL));
data/irpas-0.10/dfkaa.c:182:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((o=getopt(argc,argv,"vfcp:S:P:I:M:N:"))!=EOF) {
data/irpas-0.10/dhcpx.c:140:20:  [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 ((option=getopt(argc,argv,"vAi:t:u:D:"))!=EOF) {
data/irpas-0.10/dhcpx.c:182: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((unsigned int)time(NULL));
data/irpas-0.10/file2cable.c:52:20:  [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 ((option=getopt(argc,argv,"vi:f:"))!=EOF) {
data/irpas-0.10/hsrp.c:57:20:  [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 ((option=getopt(argc,argv,"i:d:v:a:g:S:"))!=EOF) {
data/irpas-0.10/icmp_redirect.c:102:20:  [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 ((option=getopt(argc,argv,"vi:S:G:d:s:w:"))!=EOF) {
data/irpas-0.10/icmp_redirect.c:385: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((unsigned int)time(NULL));
data/irpas-0.10/igrp.c:89:20:  [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 ((option=getopt(argc,argv,"vi:f:a:b:S:D:"))!=EOF) {
data/irpas-0.10/irdp.c:72:20:  [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 ((option=getopt(argc,argv,"vi:S:D:p:l:"))!=EOF) {
data/irpas-0.10/irdpresponder.c:91:20:  [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 ((option=getopt(argc,argv,"vi:S:D:p:l:"))!=EOF) {
data/irpas-0.10/itrace.c:76:20:  [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 ((option=getopt(argc,argv,"vni:d:t:m:p:"))!=EOF) {
data/irpas-0.10/netmask.c:62:20:  [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 ((option=getopt(argc,argv,"vd:t:"))!=EOF) {
data/irpas-0.10/protos.c:95:20:  [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 ((option=getopt(argc,argv,"vVusLWd:i:p:S:"))!=EOF) {
data/irpas-0.10/tctrace.c:84:20:  [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 ((option=getopt(argc,argv,"vni:d:t:m:p:D:S:"))!=EOF) {
data/irpas-0.10/tctrace.c:186: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((unsigned int)time(NULL));
data/irpas-0.10/timestamp.c:62:20:  [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 ((option=getopt(argc,argv,"vd:t:"))!=EOF) {
data/irpas-0.10/ass_v1.c:128: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		auth[9];
data/irpas-0.10/ass_v1.c:144: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		authdata[9];
data/irpas-0.10/ass_v1.c:188: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		rip2pw[17];
data/irpas-0.10/ass_v1.c:284:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			cfg.as_start=atoi(optarg);
data/irpas-0.10/ass_v1.c:287: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).
			cfg.as_stop=atoi(optarg);
data/irpas-0.10/ass_v1.c:312:15:  [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).
			cfg.sdelay=atol(optarg);
data/irpas-0.10/ass_v1.c:362:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(cfg.src.s_addr), &(packet_ifconfig.ip.s_addr), IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:451: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(&eigrpd,&(cfg.dest),sizeof(struct in_addr));
data/irpas-0.10/ass_v1.c:549: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(&phead,&pcap_head,sizeof(struct pcap_pkthdr));
data/irpas-0.10/ass_v1.c:551: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(ppacket,pcap_data,phead.caplen);
data/irpas-0.10/ass_v1.c:910: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(&(caa.s_addr),&(cdpa->addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:938: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                pcap_err[PCAP_ERRBUF_SIZE]; /* buffer for pcap errors */
data/irpas-0.10/ass_v1.c:942: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		tipstr[IPSTRLEN+1];
data/irpas-0.10/ass_v1.c:1025: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1029: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(&(iph->daddr.s_addr),&(cfg.dest.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1080: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1084: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(&(iph->daddr.s_addr),&(dd->s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1140: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1141: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->daddr.s_addr),&(cfg.dest.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1186: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1187: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->daddr.s_addr),&(cfg.dest.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1238: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1242:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(iph->daddr.s_addr),&(cfg.dest.s_addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1329: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(&(current->addr),addr,sizeof(struct in_addr));
data/irpas-0.10/ass_v1.c:1370:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_igrp->dest.s_addr),&(isys->destination),3);
data/irpas-0.10/ass_v1.c:1372: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(((u_int8_t *)&temp)+1,&(isys->delay),3);
data/irpas-0.10/ass_v1.c:1375: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(((u_int8_t *)&temp)+1,&(isys->bandwith),3);
data/irpas-0.10/ass_v1.c:1415:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_irdp->dest.s_addr),&(irdpr->addr),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1449:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_rip->dest.s_addr),&(rip1a->address),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1483:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_rip2->dest.s_addr),&(rip2a->address),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1484:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_rip2->mask.s_addr),&(rip2a->netmask),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1485:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_rip2->nexthop.s_addr),&(rip2a->nexthop),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1500:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(current->rip2pw),&(rip2auth->auth),16);
data/irpas-0.10/ass_v1.c:1591:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_eigrpr->nexthop),&(eigrper->nexthop),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1596:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_eigrpr->origrouter),
data/irpas-0.10/ass_v1.c:1605: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(((u_int8_t *)&temp)+1,&(eigrper->mtu),3);
data/irpas-0.10/ass_v1.c:1615:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_eigrpr->netmask),&temp,4);
data/irpas-0.10/ass_v1.c:1616:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_eigrpr->dest),&(eigrper->dest),
data/irpas-0.10/ass_v1.c:1623: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(((u_int8_t *)&temp)+1,&(eigrpir->mtu),3);
data/irpas-0.10/ass_v1.c:1633:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_eigrpr->netmask),&temp,4);
data/irpas-0.10/ass_v1.c:1634:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_eigrpr->dest),&(eigrpir->dest),
data/irpas-0.10/ass_v1.c:1675:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_ospf->source.s_addr),&(ospfh->source),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1676:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_ospf->area.s_addr),&(ospfh->area),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1677:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_ospf->authdata),&(ospfh->authdata),8);
data/irpas-0.10/ass_v1.c:1680:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_ospf->netmask.s_addr),&(ospfl->netmask),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1681:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_ospf->designated.s_addr),
data/irpas-0.10/ass_v1.c:1683:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&(c_ospf->backup.s_addr),&(ospfl->backup),IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1719:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_hsrp->virtip.s_addr),hsrp->virtip,IP_ADDR_LEN);
data/irpas-0.10/ass_v1.c:1721:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(c_hsrp->auth),hsrp->auth,8);
data/irpas-0.10/ass_v1.c:1747: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(c_cdp->deviceid,&(cdprec->value),
data/irpas-0.10/ass_v1.c:1751: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(c_cdp->portid,&(cdprec->value),
data/irpas-0.10/ass_v1.c:1758: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(c_cdp->software,&(cdprec->value),
data/irpas-0.10/ass_v1.c:1762: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(c_cdp->platform,&(cdprec->value),
data/irpas-0.10/ass_v1.c:1766: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(c_cdp->vtpmgmt,&(cdprec->value),
data/irpas-0.10/cdp.c:90:25:  [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).
	    case 'm':	cfg.mode=atol(optarg);
data/irpas-0.10/cdp.c:102:32:  [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).
	    case 'n':	if ((cfg.number=atol(optarg))<=0) {
data/irpas-0.10/cdp.c:107:32:  [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).
	    case 'l':	if ((cfg.length=atol(optarg))<=0) {
data/irpas-0.10/cdp.c:244: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(&(ethh->saddr),&ea,ETH_ALEN);
data/irpas-0.10/cdp.c:245: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(&(ethh->daddr),&CDP_DEST,ETH_ALEN);
data/irpas-0.10/cdp.c:267: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(&(cdp_dev->device),my_name,nlen);
data/irpas-0.10/cdp.c:275: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(&(cdp_prt->port),&my_portid,strlen(my_portid));
data/irpas-0.10/cdp.c:312: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(&(ethh->saddr),&(packet_ifconfig.eth),ETH_ALEN);
data/irpas-0.10/cdp.c:313: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(&(ethh->daddr),&CDP_DEST,ETH_ALEN);
data/irpas-0.10/cdp.c:335: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(&(cdp_dev->device),cfg.S_devname,strlen(cfg.S_devname)); 
data/irpas-0.10/cdp.c:353: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(&(cdp_ae->addr),&(cfg.S_ipaddr),IP_ALEN);
data/irpas-0.10/cdp.c:360: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(&(cdp_prt->port),cfg.S_portid,strlen(cfg.S_portid));
data/irpas-0.10/cdp.c:392: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(&(cdp_soft->software),cfg.S_software,strlen(cfg.S_software));
data/irpas-0.10/cdp.c:400: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(&(cdp_plt->platform),cfg.S_platform,strlen(cfg.S_platform));
data/irpas-0.10/dfkaa.c:190: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).
	    case 'p':	cfg.ping=atoi(optarg);
data/irpas-0.10/dfkaa.c:228:6:  [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(cfg.pass,"write");
data/irpas-0.10/dfkaa.c:324:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(sin.sin_addr),&(p->addr),sizeof(sin.sin_addr));
data/irpas-0.10/dfkaa.c:350: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(&intruder,&answer,sizeof(answer));
data/irpas-0.10/dfkaa.c:354: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.
			    memcpy(&(intruder.ipaddr),&(cfg.nip.s_addr),4);
data/irpas-0.10/dfkaa.c:357: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.
			    memcpy(&(intruder.netmask),&(cfg.nnm.s_addr),4);
data/irpas-0.10/dfkaa.c:361: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.
			    memcpy(&(intruder.name),cfg.nname,
data/irpas-0.10/dfkaa.c:364: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(&(intruder.password),cfg.pass,strlen(cfg.pass));
data/irpas-0.10/dfkaa.c:368: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(&(sin.sin_addr),&(frm.sin_addr),
data/irpas-0.10/dfkaa.c:418: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[17];
data/irpas-0.10/dfkaa.c:423: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((char *)&buf,(char *)&(a->name),16);
data/irpas-0.10/dfkaa.c:442: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(&addr,&(a->ipaddr),4);
data/irpas-0.10/dfkaa.c:445: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(&addr,&(a->netmask),4);
data/irpas-0.10/dhcpx.c:161: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).
			cfg.discover_time=atoi(optarg);
data/irpas-0.10/dhcpx.c:164:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			cfg.arp_time=atoi(optarg);
data/irpas-0.10/dhcpx.c:286: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(&phead,&pcap_head,sizeof(struct pcap_pkthdr));
data/irpas-0.10/dhcpx.c:288: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(ppacket,pcap_data,phead.caplen);
data/irpas-0.10/dhcpx.c:343: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(&(clientip.s_addr),&(dhcp->yiaddr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:352: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(&(serverid.s_addr),&(dhcpo->value),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:400:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(tip.s_addr),&(arp->sip),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:433: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(&(arp->sha),&(eth->ether_shost),ETH_ALEN);
data/irpas-0.10/dhcpx.c:439: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(&(arp->sip),&(packet_ifconfig.ip.s_addr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:440: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(&(arp->tip),&(dest->s_addr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:485:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(eth->ether_dhost),dhwa,ETH_ALEN);
data/irpas-0.10/dhcpx.c:497:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(eth->ether_dhost),dhwa,ETH_ALEN);
data/irpas-0.10/dhcpx.c:507:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(eth->ether_shost),&(l->hwaddr),ETH_ALEN);
data/irpas-0.10/dhcpx.c:542: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(&(dhcp->chaddr),&(eth->ether_shost),ETH_ALEN);
data/irpas-0.10/dhcpx.c:555: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(&(dhcpo->value),optionlist,sizeof(optionlist));
data/irpas-0.10/dhcpx.c:562: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((char *)&(dhcpo->value)+1,&(eth->ether_shost),ETH_ALEN);
data/irpas-0.10/dhcpx.c:606: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(&(eth->ether_dhost),dhwa,ETH_ALEN);
data/irpas-0.10/dhcpx.c:608: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(&(eth->ether_shost),&(l->hwaddr),ETH_ALEN);
data/irpas-0.10/dhcpx.c:620: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(&(ip->saddr.s_addr),&(l->addr.s_addr),IP_ADDR_LEN); 
data/irpas-0.10/dhcpx.c:621: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(&(ip->daddr.s_addr),&(saddr->s_addr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:638: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(&(dhcp->chaddr),&(l->hwaddr),ETH_ALEN);
data/irpas-0.10/dhcpx.c:653: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(&(dhcpo->value),optionlist,sizeof(optionlist));
data/irpas-0.10/dhcpx.c:660: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((char *)&(dhcpo->value)+1,&(eth->ether_shost),ETH_ALEN);
data/irpas-0.10/dhcpx.c:665: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(&(dhcpo->value),&(saddr->s_addr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:670: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(&(dhcpo->value),&(l->addr.s_addr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:691: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                pcap_err[PCAP_ERRBUF_SIZE]; /* buffer for pcap errors */
data/irpas-0.10/dhcpx.c:695: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		tipstr[IPSTRLEN+1];
data/irpas-0.10/dhcpx.c:770: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(&(a2->hwaddr),hwaddr,ETH_ALEN);
data/irpas-0.10/dhcpx.c:784: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(&(a->addr.s_addr),&(addr->s_addr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:785: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(&(a->hwaddr),hwaddr,ETH_ALEN);
data/irpas-0.10/dhcpx.c:830: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(&(s->addr.s_addr),&(srvaddr->s_addr),IP_ADDR_LEN);
data/irpas-0.10/dhcpx.c:952:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(l->addr.s_addr),&(clientip->s_addr),IP_ADDR_LEN);
data/irpas-0.10/enum.c:98:17:  [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(hd->h_addr,(char *)&(n),hd->h_length);
data/irpas-0.10/enum.c:111: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(&(enum_anchor->addr),&(n),sizeof(struct in_addr));
data/irpas-0.10/enum.c:128: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).
	    lx1=atoi(tp2);
data/irpas-0.10/enum.c:131:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(m.s_addr),&q,4);
data/irpas-0.10/enum.c:140: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(&mm,&m,sizeof(m));
data/irpas-0.10/enum.c:207: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(&(sin.sin_addr),&n,sizeof(sin.sin_addr));
data/irpas-0.10/enum.c:240: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(&(current->addr),
data/irpas-0.10/enum.c:267: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(&(current->addr),
data/irpas-0.10/file2cable.c:81: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).
	if ((fd=open(cfg.filename,O_RDONLY))<0) {
data/irpas-0.10/hsrp.c:46: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		auth[9];
data/irpas-0.10/hsrp.c:77:38:  [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).
	    case 'g':	group=(unsigned short)atoi(optarg);
data/irpas-0.10/hsrp.c:107: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(&(ip->saddr.s_addr),&(packet_ifconfig.ip.s_addr),IP_ADDR_LEN);
data/irpas-0.10/hsrp.c:109: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(&(ip->saddr.s_addr),&(src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/hsrp.c:111: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(&(ip->daddr.s_addr),&(dest.s_addr),IP_ADDR_LEN);
data/irpas-0.10/hsrp.c:123: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(&(hsrp->auth),auth,8);
data/irpas-0.10/hsrp.c:124: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(&(hsrp->virtip),&(vip.s_addr),IP_ADDR_LEN);
data/irpas-0.10/icmp_redirect.c:175:26:  [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).
	    case 'w':	cfg.delay=atoi(optarg);
data/irpas-0.10/icmp_redirect.c:193: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(&(cfg.src.s_addr), &(packet_ifconfig.ip.s_addr), IP_ADDR_LEN);
data/irpas-0.10/icmp_redirect.c: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(&phead,&pcap_head,sizeof(struct pcap_pkthdr));
data/irpas-0.10/icmp_redirect.c:230:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ppacket,pcap_data,phead.caplen);
data/irpas-0.10/icmp_redirect.c:311: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                pcap_err[PCAP_ERRBUF_SIZE]; /* buffer for pcap errors */
data/irpas-0.10/icmp_redirect.c:315: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		tipstr[IPSTRLEN+1];
data/irpas-0.10/icmp_redirect.c:389: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/icmp_redirect.c:390: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->daddr.s_addr),&(dest->s_addr),IP_ADDR_LEN);
data/irpas-0.10/icmp_redirect.c:399: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(&(icmp->gateway),&(newgw->s_addr),IP_ADDR_LEN);
data/irpas-0.10/icmp_redirect.c:400: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(&(icmp->headerdata),
data/irpas-0.10/icmp_redirect.c:428: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(&(c->src.s_addr),&(src->s_addr),IP_ADDR_LEN);
data/irpas-0.10/icmp_redirect.c:429: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(&(c->dest.s_addr),&(dest->s_addr),IP_ADDR_LEN);
data/irpas-0.10/igrp.c:103: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).
			cfg.autosys=atoi(optarg);
data/irpas-0.10/igrp.c:106: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).
			cfg.asysbf=atoi(optarg);
data/irpas-0.10/igrp.c:140: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(&(cfg.src.s_addr), &(packet_ifconfig.ip.s_addr), IP_ADDR_LEN);
data/irpas-0.10/igrp.c:272: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/igrp.c:275: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(&(iph->daddr.s_addr),&(cfg.dest.s_addr),IP_ADDR_LEN);
data/irpas-0.10/igrp.c:297:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(sysh,&(routes[i]),sizeof(igrp_system_entry_t));
data/irpas-0.10/igrp.c:321:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd=fopen(fname,"r"))==NULL) {
data/irpas-0.10/igrp.c:363: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((u_int8_t *)&(routes[routesc].destination[0]),
data/irpas-0.10/igrp.c:373:11:  [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).
	lt=htonl(atol(lp));
data/irpas-0.10/igrp.c:374:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(routes[routesc].delay),((u_int8_t *)&lt)+1,3);
data/irpas-0.10/igrp.c:383:11:  [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).
	lt=htonl(atol(lp2));
data/irpas-0.10/igrp.c:384: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(&(routes[routesc].bandwith),((u_int8_t *)&lt)+1,3);
data/irpas-0.10/igrp.c:392:28:  [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).
	routes[routesc].mtu=htons(atoi(lp));
data/irpas-0.10/igrp.c:400: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).
	routes[routesc].reliability=atoi(lp2);
data/irpas-0.10/igrp.c:408:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	routes[routesc].load=atoi(lp);
data/irpas-0.10/igrp.c:414: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).
	routes[routesc].hopcount=atoi(lp2);
data/irpas-0.10/igrp.c:433: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(((u_int8_t *)&lt)+1,&(routes[i].bandwith),3);
data/irpas-0.10/igrp.c:434: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(((u_int8_t *)&lt2)+1,&(routes[i].delay),3);
data/irpas-0.10/irdp.c:98:13:  [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).
			cfg.pref=atol(optarg);
data/irpas-0.10/irdp.c:101:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			cfg.lifetime=atoi(optarg);
data/irpas-0.10/irdp.c:114: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(&(cfg.src.s_addr), &(packet_ifconfig.ip.s_addr), IP_ADDR_LEN);
data/irpas-0.10/irdp.c:164: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/irdp.c:165: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->daddr.s_addr),&(cfg.dest.s_addr),IP_ADDR_LEN);
data/irpas-0.10/irdp.c:182: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(&(irdprec->addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/irdpresponder.c:117:13:  [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).
			cfg.pref=atol(optarg);
data/irpas-0.10/irdpresponder.c:120:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			cfg.lifetime=atoi(optarg);
data/irpas-0.10/irdpresponder.c:133:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(cfg.src.s_addr), &(packet_ifconfig.ip.s_addr), IP_ADDR_LEN);
data/irpas-0.10/irdpresponder.c:156:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&phead,pcap_head,sizeof(struct pcap_pkthdr));
data/irpas-0.10/irdpresponder.c:158:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(ppacket,pcap_data,phead.caplen);
data/irpas-0.10/irdpresponder.c:241: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                pcap_err[PCAP_ERRBUF_SIZE]; /* buffer for pcap errors */
data/irpas-0.10/irdpresponder.c:306: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->saddr.s_addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/irdpresponder.c:307: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->daddr.s_addr),&(dest->s_addr),IP_ADDR_LEN);
data/irpas-0.10/irdpresponder.c:324: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(&(irdprec->addr),&(cfg.src.s_addr),IP_ADDR_LEN);
data/irpas-0.10/itrace.c:85:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    case 't':	if ((cfg.timeout=atoi(optarg))==0) {
data/irpas-0.10/itrace.c:94:32:  [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).
	    case 'm':	if ((cfg.maxttl=atoi(optarg))==0) {
data/irpas-0.10/itrace.c:100:32:  [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).
	    case 'p':	if ((cfg.probes=atoi(optarg))==0) {
data/irpas-0.10/itrace.c:130:3:  [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(hd->h_addr,(char *)&(cfg.dest),hd->h_length);
data/irpas-0.10/itrace.c:179:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(ip->saddr.s_addr),
data/irpas-0.10/itrace.c:181:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(ip->daddr.s_addr),&(cfg.dest),IP_ADDR_LEN);
data/irpas-0.10/itrace.c:192:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(pingh->echo.data),pdata,sizeof(pdata));
data/irpas-0.10/itrace.c:202:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(to.sin_addr),&(ip->daddr),sizeof(to.sin_addr));
data/irpas-0.10/itrace.c:277:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(name," [");
data/irpas-0.10/itrace.c:292: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.
			    memcpy(&(last.s_addr),&(ip->saddr.s_addr),
data/irpas-0.10/itrace.c:315: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.
			    memcpy(&(last.s_addr),&(ip->saddr.s_addr),
data/irpas-0.10/netenum.c:10: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).
			argc>2?atoi(argv[2]):0,
data/irpas-0.10/netenum.c:11: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).
			argc>3?atoi(argv[3]):0))<0) {
data/irpas-0.10/netenum.c:14:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    if ((argc>3)&&(atoi(argv[3])>0)) printf("%d targets found\n",n);
data/irpas-0.10/netmask.c:71:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    case 't':	if ((cfg.timeout=atoi(optarg))==0) {
data/irpas-0.10/netmask.c:95:3:  [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(hd->h_addr,(char *)&(cfg.dest),hd->h_length);
data/irpas-0.10/netmask.c:123: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(&(to.sin_addr),&(cfg.dest),sizeof(to.sin_addr));
data/irpas-0.10/netmask.c:163:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(name," [");
data/irpas-0.10/packets.c:75: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(&(sin.sin_addr),t,sizeof(sin.sin_addr));
data/irpas-0.10/packets.c:205: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(&(packet_ifconfig.eth),&ifr.ifr_hwaddr.sa_data,ETH_ALEN);
data/irpas-0.10/packets.c:214: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(&(packet_ifconfig.ip.s_addr),
data/irpas-0.10/packets.c:234: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(&(packet_ifconfig.bcast.s_addr),
data/irpas-0.10/packets.c:271: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(&(packet_ifconfig.eth),&ifr.ifr_hwaddr.sa_data,ETH_ALEN);
data/irpas-0.10/packets.c:280: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(&(packet_ifconfig.ip.s_addr),
data/irpas-0.10/packets.c:300: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(&(packet_ifconfig.bcast.s_addr),
data/irpas-0.10/packets.c:320: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(&(sin.sin_addr),&(iph->daddr),sizeof(sin.sin_addr));
data/irpas-0.10/protos.c:107:32:  [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).
	    case 'p':	if ((cfg.probes=atoi(optarg))==0) {
data/irpas-0.10/protos.c:112: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).
	    case 'S':	if ((cfg.sleeptime=atoi(optarg))==0) {
data/irpas-0.10/protos.c:117: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).
	    case 'a':	cfg.afterscan=atoi(optarg);
data/irpas-0.10/protos.c:331: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(&(from.sin_addr.s_addr),
data/irpas-0.10/protos.c:387: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(&(from.sin_addr.s_addr),
data/irpas-0.10/protos.c:482: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(&(ip->saddr.s_addr),&(packet_ifconfig.ip.s_addr),IP_ADDR_LEN);
data/irpas-0.10/protos.c:496:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(ip->daddr.s_addr),&(tgt->addr),IP_ADDR_LEN);
data/irpas-0.10/protos.c:573: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(&(anchor->addr),&(n),sizeof(struct in_addr));
data/irpas-0.10/protos.c:588: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).
	    lx1=atoi(tp2);
data/irpas-0.10/protos.c:591:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(m.s_addr),&q,4);
data/irpas-0.10/protos.c:599: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(&mm,&m,sizeof(m));
data/irpas-0.10/protos.c:664: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(&(sin.sin_addr),&n,sizeof(sin.sin_addr));
data/irpas-0.10/protos.c:697: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(&(current->addr),&(fromaddr.sin_addr),
data/irpas-0.10/tctrace.c:93:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    case 't':	if ((cfg.timeout=atoi(optarg))==0) {
data/irpas-0.10/tctrace.c:102:32:  [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).
	    case 'm':	if ((cfg.maxttl=atoi(optarg))==0) {
data/irpas-0.10/tctrace.c:108:32:  [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).
	    case 'p':	if ((cfg.probes=atoi(optarg))==0) {
data/irpas-0.10/tctrace.c:114: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).
	    case 'D':	if ((cfg.port=atoi(optarg))==0) {
data/irpas-0.10/tctrace.c:120:31:  [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).
	    case 'S':	if ((cfg.sport=atoi(optarg))==0) {
data/irpas-0.10/tctrace.c:150:3:  [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(hd->h_addr,(char *)&(cfg.dest),hd->h_length);
data/irpas-0.10/tctrace.c:205:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(ip->saddr.s_addr),
data/irpas-0.10/tctrace.c:207:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(ip->daddr.s_addr),&(cfg.dest),IP_ADDR_LEN);
data/irpas-0.10/tctrace.c:223:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(pshdr.saddr.s_addr),
data/irpas-0.10/tctrace.c:225:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(pshdr.daddr.s_addr),&(cfg.dest),IP_ADDR_LEN);
data/irpas-0.10/tctrace.c:228:6:  [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((char *)tcp,(char *)&pshdr.tcpheader,sizeof(tcphdr_t));
data/irpas-0.10/tctrace.c:235:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(&(to.sin_addr),&(ip->daddr),sizeof(to.sin_addr));
data/irpas-0.10/tctrace.c:315:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(name," [");
data/irpas-0.10/tctrace.c:329: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.
			    memcpy(&(last.s_addr),&(ip->saddr.s_addr),
data/irpas-0.10/tctrace.c:398: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.
			    memcpy(&(last.s_addr),
data/irpas-0.10/tctrace.c:414:8:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			    strcat(name," [");
data/irpas-0.10/timestamp.c:71:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    case 't':	if ((cfg.timeout=atoi(optarg))==0) {
data/irpas-0.10/timestamp.c:95:3:  [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(hd->h_addr,(char *)&(cfg.dest),hd->h_length);
data/irpas-0.10/timestamp.c:123: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(&(to.sin_addr),&(cfg.dest),sizeof(to.sin_addr));
data/irpas-0.10/timestamp.c:164:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(name," [");
data/irpas-0.10/ass_v1.c:280: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).
			cfg.device=smalloc(strlen(optarg)+1);
data/irpas-0.10/ass_v1.c:324: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).
			cfg.active_protos=smalloc(strlen(optarg)+1);
data/irpas-0.10/ass_v1.c:328:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			cfg.inputfile=(char*)smalloc(strlen(optarg)+1);
data/irpas-0.10/ass_v1.c:347:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	cfg.active_protos=smalloc(strlen(FCHAR_ACTIVE_ALL)+1);
data/irpas-0.10/ass_v1.c:435:7:  [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/irpas-0.10/ass_v1.c:473: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(10000);
data/irpas-0.10/ass_v1.c:949:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	notfilter=(char *)smalloc(strlen(PATTERNSTRING)+IPSTRLEN+1);
data/irpas-0.10/cdp.c:87:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'i':	cfg.device=smalloc(strlen(optarg));
data/irpas-0.10/cdp.c:118:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'D':	cfg.S_devname=(char *)smalloc(strlen(optarg)+1);
data/irpas-0.10/cdp.c:121:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'P':	cfg.S_portid=(char *)smalloc(strlen(optarg)+1);
data/irpas-0.10/cdp.c:124: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).
	    case 'C':	cfg.S_capas=(char *)smalloc(strlen(optarg)+1);
data/irpas-0.10/cdp.c:127:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'L':	cfg.S_platform=(char *)smalloc(strlen(optarg)+1);
data/irpas-0.10/cdp.c:130:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'S':	cfg.S_software=(char *)smalloc(strlen(optarg)+1);
data/irpas-0.10/cdp.c:274:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cdp_prt->length=htons(strlen(my_portid)+2*sizeof(u_int16_t));
data/irpas-0.10/cdp.c:275:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(&(cdp_prt->port),&my_portid,strlen(my_portid));
data/irpas-0.10/cdp.c:280:3:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strlen(my_portid))));
data/irpas-0.10/cdp.c:334:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cdp_dev->length=htons(strlen(cfg.S_devname)+2*sizeof(u_int16_t));
data/irpas-0.10/cdp.c:335:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(&(cdp_dev->device),cfg.S_devname,strlen(cfg.S_devname)); 
data/irpas-0.10/cdp.c:340:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen(cfg.S_devname)));
data/irpas-0.10/cdp.c:359:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cdp_prt->length=htons(strlen(cfg.S_portid)+2*sizeof(u_int16_t));
data/irpas-0.10/cdp.c:360:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(&(cdp_prt->port),cfg.S_portid,strlen(cfg.S_portid));
data/irpas-0.10/cdp.c:365:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen(cfg.S_portid)));
data/irpas-0.10/cdp.c:391:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cdp_soft->length=htons(strlen(cfg.S_software)+2*sizeof(u_int16_t));
data/irpas-0.10/cdp.c:392:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(&(cdp_soft->software),cfg.S_software,strlen(cfg.S_software));
data/irpas-0.10/cdp.c:397:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen(cfg.S_software)));
data/irpas-0.10/cdp.c:399:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cdp_plt->length=htons(strlen(cfg.S_platform)+2*sizeof(u_int16_t));
data/irpas-0.10/cdp.c:400:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(&(cdp_plt->platform),cfg.S_platform,strlen(cfg.S_platform));
data/irpas-0.10/cdp.c:403:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen(cfg.S_platform)));
data/irpas-0.10/dfkaa.c:195:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'P':	cfg.pass=smalloc(strlen(optarg)+1);
data/irpas-0.10/dfkaa.c:212: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).
	    case 'N':	cfg.nname=smalloc(strlen(optarg)+1);
data/irpas-0.10/dfkaa.c:227: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).
	    cfg.pass=smalloc(strlen("write")+1);
data/irpas-0.10/dfkaa.c:362:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    strlen(cfg.nname));
data/irpas-0.10/dfkaa.c:364:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			memcpy(&(intruder.password),cfg.pass,strlen(cfg.pass));
data/irpas-0.10/dhcpx.c:149: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).
			cfg.device=smalloc(strlen(optarg)+1);
data/irpas-0.10/dhcpx.c:262:2:  [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/irpas-0.10/dhcpx.c:707:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    notfilter=(char *)smalloc(strlen(PATTERNSTRING)+IPSTRLEN+1);
data/irpas-0.10/enum.c:121:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tp=smalloc(strlen(dest)+1);
data/irpas-0.10/enum.c:204: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/irpas-0.10/file2cable.c:57:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'i':	cfg.device=(char *)smalloc(strlen(optarg));
data/irpas-0.10/file2cable.c:60:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'f':	cfg.filename=(char *)smalloc(strlen(optarg));
data/irpas-0.10/file2cable.c:85:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(fd,buffer,sbuf.st_size);
data/irpas-0.10/hsrp.c:75:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(auth,optarg,8);
data/irpas-0.10/hsrp.c:79:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'i':	device=smalloc(strlen(optarg)+1);
data/irpas-0.10/icmp_redirect.c:108: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).
			cfg.device=smalloc(strlen(optarg)+1);
data/irpas-0.10/icmp_redirect.c:127:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'd':	inet=smalloc(strlen(optarg)+1);
data/irpas-0.10/icmp_redirect.c:151:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 's':	inet=smalloc(strlen(optarg)+1);
data/irpas-0.10/icmp_redirect.c:321:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    notfilter=(char *)smalloc(strlen(PATTERNSTRING)+IPSTRLEN+1);
data/irpas-0.10/igrp.c:95: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).
			cfg.device=smalloc(strlen(optarg)+1);
data/irpas-0.10/igrp.c:99:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			cfg.routesfile=smalloc(strlen(optarg)+1);
data/irpas-0.10/irdp.c:78: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).
			cfg.device=smalloc(strlen(optarg)+1);
data/irpas-0.10/irdpresponder.c:97: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).
			cfg.device=smalloc(strlen(optarg)+1);
data/irpas-0.10/itrace.c:82:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			cfg.tdest=smalloc(strlen(optarg)+1);
data/irpas-0.10/itrace.c:91:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'i':	cfg.device=(char *)smalloc(strlen(optarg)+1);
data/irpas-0.10/itrace.c:274:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			name=(char *)smalloc(strlen(hr->h_name)+
data/irpas-0.10/itrace.c:275:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/itrace.c:279:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(name,"]");
data/irpas-0.10/itrace.c:282:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/itrace.c:283:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(name,"[");
data/irpas-0.10/itrace.c:285:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(name,"]");
data/irpas-0.10/netmask.c:68:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			cfg.tdest=smalloc(strlen(optarg)+1);
data/irpas-0.10/netmask.c:160: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).
		name=(char *)smalloc(strlen(hr->h_name)+
data/irpas-0.10/netmask.c:161:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/netmask.c:165:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(name,"]");
data/irpas-0.10/netmask.c:168:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/netmask.c:169:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(name,"[");
data/irpas-0.10/netmask.c:171:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(name,"]");
data/irpas-0.10/packets.c:200: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:209: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:220: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:229: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:266: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:275: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:286: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:295: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, device, sizeof (ifr.ifr_name));
data/irpas-0.10/packets.c:341:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(sa.sa_data,device,sizeof(sa.sa_data));
data/irpas-0.10/protos.c:119:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'd':	cfg.dest=smalloc(strlen(optarg)+1);
data/irpas-0.10/protos.c:122:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'i':	cfg.device=smalloc(strlen(optarg)+1);
data/irpas-0.10/protos.c:275:2:  [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(10);
data/irpas-0.10/protos.c:432:2:  [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(10);
data/irpas-0.10/protos.c:504: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(100000);
data/irpas-0.10/protos.c:581:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tp=smalloc(strlen(cfg.dest)+1);
data/irpas-0.10/protos.c:661:6:  [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/irpas-0.10/tctrace.c:90:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			cfg.tdest=smalloc(strlen(optarg)+1);
data/irpas-0.10/tctrace.c:99:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    case 'i':	cfg.device=(char *)smalloc(strlen(optarg)+1);
data/irpas-0.10/tctrace.c:312:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			name=(char *)smalloc(strlen(hr->h_name)+
data/irpas-0.10/tctrace.c:313:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/tctrace.c:317:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(name,"]");
data/irpas-0.10/tctrace.c:320:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/tctrace.c:321:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(name,"[");
data/irpas-0.10/tctrace.c:323:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(name,"]");
data/irpas-0.10/tctrace.c:411:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    name=(char *)smalloc(strlen(hr->h_name)+
data/irpas-0.10/tctrace.c:412:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/tctrace.c:416:8:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			    strcat(name,"]");
data/irpas-0.10/tctrace.c:419:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/tctrace.c:420:8:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			    strcat(name,"[");
data/irpas-0.10/tctrace.c:422:8:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			    strcat(name,"]");
data/irpas-0.10/timestamp.c:68:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			cfg.tdest=smalloc(strlen(optarg)+1);
data/irpas-0.10/timestamp.c:161: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).
		name=(char *)smalloc(strlen(hr->h_name)+
data/irpas-0.10/timestamp.c:162:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/timestamp.c:166:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(name,"]");
data/irpas-0.10/timestamp.c:169:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(inet_ntoa(from.sin_addr))+4);
data/irpas-0.10/timestamp.c:170:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(name,"[");
data/irpas-0.10/timestamp.c:172:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(name,"]");

ANALYSIS SUMMARY:

Hits = 419
Lines analyzed = 9593 in approximately 0.35 seconds (27393 lines/second)
Physical Source Lines of Code (SLOC) = 7386
Hits@level = [0] 511 [1] 103 [2] 233 [3]  19 [4]  64 [5]   0
Hits@level+ = [0+] 930 [1+] 419 [2+] 316 [3+]  83 [4+]  64 [5+]   0
Hits/KSLOC@level+ = [0+] 125.914 [1+] 56.7289 [2+] 42.7836 [3+] 11.2375 [4+] 8.66504 [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.