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/pinfo-0.6.13/src/colors.c
Examining data/pinfo-0.6.13/src/colors.h
Examining data/pinfo-0.6.13/src/common_includes.h
Examining data/pinfo-0.6.13/src/datatypes.c
Examining data/pinfo-0.6.13/src/datatypes.h
Examining data/pinfo-0.6.13/src/filehandling_functions.c
Examining data/pinfo-0.6.13/src/filehandling_functions.h
Examining data/pinfo-0.6.13/src/initializelinks.c
Examining data/pinfo-0.6.13/src/initializelinks.h
Examining data/pinfo-0.6.13/src/keyboard.h
Examining data/pinfo-0.6.13/src/localestuff.h
Examining data/pinfo-0.6.13/src/mainfunction.c
Examining data/pinfo-0.6.13/src/mainfunction.h
Examining data/pinfo-0.6.13/src/manual.c
Examining data/pinfo-0.6.13/src/manual.h
Examining data/pinfo-0.6.13/src/menu_and_note_utils.c
Examining data/pinfo-0.6.13/src/menu_and_note_utils.h
Examining data/pinfo-0.6.13/src/parse_config.c
Examining data/pinfo-0.6.13/src/pinfo.c
Examining data/pinfo-0.6.13/src/printinfo.c
Examining data/pinfo-0.6.13/src/printinfo.h
Examining data/pinfo-0.6.13/src/readlinewrapper.c
Examining data/pinfo-0.6.13/src/readlinewrapper.h
Examining data/pinfo-0.6.13/src/regexp_search.c
Examining data/pinfo-0.6.13/src/regexp_search.h
Examining data/pinfo-0.6.13/src/sigblock.c
Examining data/pinfo-0.6.13/src/sigblock.h
Examining data/pinfo-0.6.13/src/signal_handler.c
Examining data/pinfo-0.6.13/src/signal_handler.h
Examining data/pinfo-0.6.13/src/snprintf.c
Examining data/pinfo-0.6.13/src/utils.h
Examining data/pinfo-0.6.13/src/video.c
Examining data/pinfo-0.6.13/src/video.h
Examining data/pinfo-0.6.13/src/parse_config.h
Examining data/pinfo-0.6.13/src/utils.c

FINAL RESULTS:

data/pinfo-0.6.13/src/datatypes.c:116: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(infohistory.node[infohistory.length], node);
data/pinfo-0.6.13/src/datatypes.c:118: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(infohistory.file[infohistory.length], file);
data/pinfo-0.6.13/src/filehandling_functions.c:97: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(filename, dp->d_name);
data/pinfo-0.6.13/src/filehandling_functions.c:98: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(pagename, dp->d_name);
data/pinfo-0.6.13/src/filehandling_functions.c:189: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((*first_node), tmp);
data/pinfo-0.6.13/src/filehandling_functions.c:436: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(FirstNodeName, tag_table[i].nodename);
data/pinfo-0.6.13/src/filehandling_functions.c:580: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(dest, command);
data/pinfo-0.6.13/src/filehandling_functions.c:582: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(dest, filename);
data/pinfo-0.6.13/src/filehandling_functions.c:584: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(dest, tmpfilename);
data/pinfo-0.6.13/src/filehandling_functions.c:590: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(dest, command);
data/pinfo-0.6.13/src/filehandling_functions.c:592: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(dest, filename);
data/pinfo-0.6.13/src/filehandling_functions.c:594: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(dest, tmpfilename);
data/pinfo-0.6.13/src/filehandling_functions.c:626: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(buf, infopaths[i]);	/* build a filename */
data/pinfo-0.6.13/src/filehandling_functions.c:629: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(buf, getenv("LANG"));
data/pinfo-0.6.13/src/filehandling_functions.c:639: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(buf, suffixes[j].suffix);
data/pinfo-0.6.13/src/filehandling_functions.c:657: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(buf, infopaths[i]);	/* build a filename */
data/pinfo-0.6.13/src/filehandling_functions.c:668: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(buf, suffixes[j].suffix);
data/pinfo-0.6.13/src/filehandling_functions.c:807: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(buf, infopaths[i]);
data/pinfo-0.6.13/src/filehandling_functions.c:818: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(buf, suffixes[j].suffix);
data/pinfo-0.6.13/src/filehandling_functions.c:947: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(infopath, env);
data/pinfo-0.6.13/src/filehandling_functions.c:949: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(infopath, configuredinfopath);
data/pinfo-0.6.13/src/filehandling_functions.c:1006:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			len = sprintf(c, "%s/%s", paths[i], lang);
data/pinfo-0.6.13/src/filehandling_functions.c:1016:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				len = sprintf(c, "%s/%s", paths[numpaths+i], langshort);
data/pinfo-0.6.13/src/filehandling_functions.c:1088: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(c, paths[i]);
data/pinfo-0.6.13/src/filehandling_functions.c:1143: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(FirstNodeName, tag_table[1].nodename);
data/pinfo-0.6.13/src/filehandling_functions.c:1151: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(FirstNodeName, tag_table[1].nodename);
data/pinfo-0.6.13/src/filehandling_functions.c:1205:9:  [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(tag_table[TagTableEntries].nodename, buf + i + 2);
data/pinfo-0.6.13/src/filehandling_functions.c:1221: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(FirstNodeName, tag_table[1].nodename);
data/pinfo-0.6.13/src/initializelinks.c:206: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(buf, line1);		/* copy two lines into one */
data/pinfo-0.6.13/src/initializelinks.c:209: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(buf, line2);
data/pinfo-0.6.13/src/mainfunction.c:271:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				mypipe = popen(token, "w");	/* open mypipe */
data/pinfo-0.6.13/src/mainfunction.c:319:6:  [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(searchagain.lastsearch, token);	/* and save it to searchagain buffer */
data/pinfo-0.6.13/src/mainfunction.c:330:6:  [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(token, searchagain.lastsearch);
data/pinfo-0.6.13/src/mainfunction.c:578:6:  [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(searchagain.lastsearch, token);
data/pinfo-0.6.13/src/mainfunction.c:584:6:  [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(token, searchagain.lastsearch);
data/pinfo-0.6.13/src/mainfunction.c:619:6:  [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(tmp, Message[i]);
data/pinfo-0.6.13/src/mainfunction.c:620:6:  [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(tmp, Message[i + 1]);
data/pinfo-0.6.13/src/mainfunction.c:742:7:  [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(rval.file, token);
data/pinfo-0.6.13/src/mainfunction.c:1010:6:  [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(rval.file, infohistory.file[infohistory.length]);
data/pinfo-0.6.13/src/mainfunction.c:1040: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(rval.file, hyperobjects[cursor].file);
data/pinfo-0.6.13/src/mainfunction.c:1049:9:  [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(tempbuf, httpviewer);
data/pinfo-0.6.13/src/mainfunction.c:1051:9:  [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(tempbuf, hyperobjects[cursor].node);
data/pinfo-0.6.13/src/mainfunction.c:1060:9:  [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(tempbuf, ftpviewer);
data/pinfo-0.6.13/src/mainfunction.c:1062:9:  [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(tempbuf, hyperobjects[cursor].node);
data/pinfo-0.6.13/src/mainfunction.c:1071:9:  [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(tempbuf, maileditor);
data/pinfo-0.6.13/src/mainfunction.c:1073:9:  [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(tempbuf, hyperobjects[cursor].node);
data/pinfo-0.6.13/src/manual.c:175: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(manualhistory[0].name, &name1[i]);
data/pinfo-0.6.13/src/manual.c:186:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		pathFile = popen(buf, "r");
data/pinfo-0.6.13/src/manual.c:222:42:  [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).
		if (manuallinks[which].name[0] == '(') strcpy(buf, manuallinks[which].name + 1);
data/pinfo-0.6.13/src/manual.c:223: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).
		else strcpy(buf, manuallinks[which].name);
data/pinfo-0.6.13/src/manual.c:242: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(buf, ptr);
data/pinfo-0.6.13/src/manual.c:246: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(buf, manuallinks[which].name);
data/pinfo-0.6.13/src/manual.c:255: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(base, manual[manuallinks[which].line + 1]);
data/pinfo-0.6.13/src/manual.c:263: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(buf, manuallinks[which].name);
data/pinfo-0.6.13/src/manual.c:266: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(buf, ptr);
data/pinfo-0.6.13/src/manual.c:339:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			id = popen(cmd, "r");
data/pinfo-0.6.13/src/manual.c:399:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				source = popen(cmd, "r");
data/pinfo-0.6.13/src/manual.c:440:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
								sprintf(cmd, "\n.br\n.nf\n[ [pinfo] - %s: %.42s", _("IGNORING"), line);
data/pinfo-0.6.13/src/manual.c:452: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(line, cmd);
data/pinfo-0.6.13/src/manual.c:604:7:  [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(manualhistory[manualhistorylength].name,
data/pinfo-0.6.13/src/manual.c:606:7:  [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(manualhistory[manualhistorylength].sect,
data/pinfo-0.6.13/src/manual.c:696: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(tmp, manual[ManualLines]);
data/pinfo-0.6.13/src/manual.c:897:6:  [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(manuallinks[ManualLinks].name, tmp + i);
data/pinfo-0.6.13/src/manual.c:1112:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				mypipe = popen(token, "w");
data/pinfo-0.6.13/src/manual.c:1151:6:  [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(searchagain.lastsearch, token);
data/pinfo-0.6.13/src/manual.c:1157:6:  [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(token, searchagain.lastsearch);
data/pinfo-0.6.13/src/manual.c:1200:6:  [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(tmp, manual[i]);
data/pinfo-0.6.13/src/manual.c:1201:6:  [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(tmp, manual[i + 1]);
data/pinfo-0.6.13/src/manual.c:1208:7:  [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(tmp, manual[i + 1]);
data/pinfo-0.6.13/src/manual.c:1429: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(tempbuf, httpviewer);
data/pinfo-0.6.13/src/manual.c:1442: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(tempbuf, ftpviewer);
data/pinfo-0.6.13/src/manual.c:1455: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(tempbuf, maileditor);
data/pinfo-0.6.13/src/manual.c:1949:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	prnFD = popen(printutility, "w");
data/pinfo-0.6.13/src/menu_and_note_utils.c:58: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(tmp, type);
data/pinfo-0.6.13/src/menu_and_note_utils.c:62: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(node, ERRNODE);
data/pinfo-0.6.13/src/menu_and_note_utils.c:70: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(node, wsk + 6);
data/pinfo-0.6.13/src/menu_and_note_utils.c:93: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(tmp, type);
data/pinfo-0.6.13/src/menu_and_note_utils.c:97: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(node, ERRNODE);
data/pinfo-0.6.13/src/menu_and_note_utils.c:105: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(node, wsk + 6);
data/pinfo-0.6.13/src/menu_and_note_utils.c:128: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(tmp, type);
data/pinfo-0.6.13/src/menu_and_note_utils.c:132: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(node, ERRNODE);
data/pinfo-0.6.13/src/menu_and_note_utils.c:140: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(node, wsk + 4);
data/pinfo-0.6.13/src/menu_and_note_utils.c:164: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(tmp, type);
data/pinfo-0.6.13/src/menu_and_note_utils.c:168: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(node, ERRNODE);
data/pinfo-0.6.13/src/menu_and_note_utils.c:176: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(node, wsk + 6);
data/pinfo-0.6.13/src/parse_config.c:116: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(config_file_name, home);
data/pinfo-0.6.13/src/parse_config.c:120: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(config_file_name, CONFIGDIR);
data/pinfo-0.6.13/src/parse_config.c:130: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(config_file_name, CONFIGDIR);
data/pinfo-0.6.13/src/pinfo.c:152:6:  [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(pinfo_start_node, optarg);
data/pinfo-0.6.13/src/pinfo.c:296: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(curfile, filename);
data/pinfo-0.6.13/src/pinfo.c:445: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(file_name_force, curfile);
data/pinfo-0.6.13/src/pinfo.c:531: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(curfile, work_return_value.file);
data/pinfo-0.6.13/src/pinfo.c:628: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(withsuffix, info);
data/pinfo-0.6.13/src/printinfo.c:42:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	prnFD = popen(printutility, "w");
data/pinfo-0.6.13/src/printinfo.c:60: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(buf, hyperobjects[highlight].node);
data/pinfo-0.6.13/src/printinfo.c:64: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(buf, hyperobjects[highlight].file);
data/pinfo-0.6.13/src/printinfo.c:66: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(buf, hyperobjects[highlight].node);
data/pinfo-0.6.13/src/readlinewrapper.c:64: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(rlhistory[rlhistorylen - 1], buf);
data/pinfo-0.6.13/src/readlinewrapper.c:123: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(rlhistory[rlhistorylen - 1], buf);
data/pinfo-0.6.13/src/readlinewrapper.c:125:7:  [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(buf, rlhistory[rlhistorypos - 1]);
data/pinfo-0.6.13/src/readlinewrapper.c:136:7:  [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(buf, rlhistory[rlhistorypos - 1]);
data/pinfo-0.6.13/src/readlinewrapper.c:177:7:  [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(tmp, buf + cursor);
data/pinfo-0.6.13/src/readlinewrapper.c:180:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
						strcat(&buf[cursor + 1], tmp);
data/pinfo-0.6.13/src/readlinewrapper.c:202: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(rlhistory[rlhistorylen - 1], buf);
data/pinfo-0.6.13/src/snprintf.c:709:1:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
vsnprintf(char *str, size_t count, const char *fmt, va_list args)
data/pinfo-0.6.13/src/snprintf.c:721:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf(char *str, size_t count, const char *fmt,...)
data/pinfo-0.6.13/src/snprintf.c:724:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf(va_alist)
data/pinfo-0.6.13/src/snprintf.c:739:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	(void) vsnprintf(str, count, fmt, ap);
data/pinfo-0.6.13/src/snprintf.c:795:4:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			snprintf(buf1, sizeof(buf1), fp_fmt[x], fp_nums[y]);
data/pinfo-0.6.13/src/snprintf.c:796:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(buf2, fp_fmt[x], fp_nums[y]);
data/pinfo-0.6.13/src/snprintf.c:809:4:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			snprintf(buf1, sizeof(buf1), int_fmt[x], int_nums[y]);
data/pinfo-0.6.13/src/snprintf.c:810:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(buf2, int_fmt[x], int_nums[y]);
data/pinfo-0.6.13/src/utils.c:201:15:  [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.
	int result = system(command);
data/pinfo-0.6.13/src/utils.c:707: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(header, node_header);
data/pinfo-0.6.13/src/utils.c:869: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(filename, tmpfile_template);
data/pinfo-0.6.13/src/video.c:38: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(dest, src);
data/pinfo-0.6.13/src/video.c:43: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(dest, src);
data/pinfo-0.6.13/src/video.c:44: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(dest, to);
data/pinfo-0.6.13/src/video.c:47: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(dest, start);
data/pinfo-0.6.13/src/video.c:57: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(buf1, type);
data/pinfo-0.6.13/src/video.c:232:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(buf, hyperobjects[i].file);
data/pinfo-0.6.13/src/video.c:234:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(buf, hyperobjects[i].node);
data/pinfo-0.6.13/src/filehandling_functions.c:628:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if (getenv("LANG") != NULL)
data/pinfo-0.6.13/src/filehandling_functions.c:629:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			strcat(buf, getenv("LANG"));
data/pinfo-0.6.13/src/filehandling_functions.c:940:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env = getenv("INFOPATH");
data/pinfo-0.6.13/src/filehandling_functions.c:975:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	rawlang = getenv("LANG");
data/pinfo-0.6.13/src/manual.c:297:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((!getenv("MANWIDTH")) ||(manwidthChanged))
data/pinfo-0.6.13/src/manual.c:521:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if ((!getenv("MANWIDTH")) ||(manwidthChanged))
data/pinfo-0.6.13/src/manual.c:948:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((!getenv("MANWIDTH")) ||(manwidthChanged))
data/pinfo-0.6.13/src/parse_config.c:109:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			if (getenv("HOME"))
data/pinfo-0.6.13/src/parse_config.c:110:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				home = strdup(getenv("HOME"));
data/pinfo-0.6.13/src/pinfo.c:135:26:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
			command_line_option = getopt_long(argc, argv,
data/pinfo-0.6.13/src/datatypes.c:47:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char FirstNodeName[256];
data/pinfo-0.6.13/src/datatypes.h:38:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lastsearch[256];	/* last searched regexp */
data/pinfo-0.6.13/src/datatypes.h:46:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[256];		/* name of file, where's the given offset */
data/pinfo-0.6.13/src/datatypes.h:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char nodename[256];		/* name of the node */
data/pinfo-0.6.13/src/datatypes.h:81:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char node[256];		/* name of the referenced node */
data/pinfo-0.6.13/src/datatypes.h:83:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[256];		/* name of the referenced file -- none=this file */
data/pinfo-0.6.13/src/datatypes.h:136:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char FirstNodeName[256];
data/pinfo-0.6.13/src/filehandling_functions.c:146:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/pinfo-0.6.13/src/filehandling_functions.c:147:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[256];
data/pinfo-0.6.13/src/filehandling_functions.c:365: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).
			indirect[i - cut].offset = atoi(wsk + 2);
data/pinfo-0.6.13/src/filehandling_functions.c:417:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			res = memcpy(tag_table[i - cut].nodename, wsk, j =(size_t)(wsk1 - wsk));
data/pinfo-0.6.13/src/filehandling_functions.c:421: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).
			tag_table[i - cut].offset = atoi(wsk1);
data/pinfo-0.6.13/src/filehandling_functions.c:583:2:  [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(dest, "> ");
data/pinfo-0.6.13/src/filehandling_functions.c:593:2:  [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(dest, ">> ");
data/pinfo-0.6.13/src/filehandling_functions.c:601:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];		/* holds local copy of filename */
data/pinfo-0.6.13/src/filehandling_functions.c:603:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char command[1128];		/* holds command to evaluate for decompression of file */
data/pinfo-0.6.13/src/filehandling_functions.c:630:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(buf, "/dir");
data/pinfo-0.6.13/src/filehandling_functions.c:640:14:  [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 ((id = fopen(buf, "r")) != NULL)
data/pinfo-0.6.13/src/filehandling_functions.c:659: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(buf, "dir");
data/pinfo-0.6.13/src/filehandling_functions.c:669:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if ((id = fopen(buf, "r")) != NULL)
data/pinfo-0.6.13/src/filehandling_functions.c:684:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		id = fopen(tmpfilename, "r");
data/pinfo-0.6.13/src/filehandling_functions.c:709:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		id = fopen(tmpfilename, "w");
data/pinfo-0.6.13/src/filehandling_functions.c:732:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		id = fopen(tmpfilename, "r");
data/pinfo-0.6.13/src/filehandling_functions.c:756:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char command[1128];		/* holds command to evaluate for decompression of file */
data/pinfo-0.6.13/src/filehandling_functions.c:819:14:  [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 ((id = fopen(buf, "r")) != NULL)
data/pinfo-0.6.13/src/filehandling_functions.c:835:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				id = fopen(tmpfilename, "r");
data/pinfo-0.6.13/src/filehandling_functions.c:928:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char emptystr[1] = "";
data/pinfo-0.6.13/src/filehandling_functions.c:1128:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char msg[1024];
data/pinfo-0.6.13/src/filehandling_functions.c:1179:5:  [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(tag_table[TagTableEntries].nodename, "12#!@#4");
data/pinfo-0.6.13/src/filehandling_functions.c:1304:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char suffix[6] = ".info";
data/pinfo-0.6.13/src/initializelinks.c:124:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *end[4] =
data/pinfo-0.6.13/src/mainfunction.c:241:16:  [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).
						newpos = atol(token);
data/pinfo-0.6.13/src/mainfunction.c:291:5:  [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(rval.file, "dir");
data/pinfo-0.6.13/src/manual.c:76:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[128];
data/pinfo-0.6.13/src/manual.c:78:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sect[32];
data/pinfo-0.6.13/src/manual.c:103:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char section[32];
data/pinfo-0.6.13/src/manual.c:182:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024];
data/pinfo-0.6.13/src/manual.c:280:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char manualname[256];
data/pinfo-0.6.13/src/manual.c:281:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmd[4096];
data/pinfo-0.6.13/src/manual.c:300:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char tmp[24];
data/pinfo-0.6.13/src/manual.c:322:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char location[256];
data/pinfo-0.6.13/src/manual.c:323:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[1025];
data/pinfo-0.6.13/src/manual.c:408:14:  [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).
				source = fopen(location, "r");
data/pinfo-0.6.13/src/manual.c:411:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			id = fopen(name, "w");
data/pinfo-0.6.13/src/manual.c:442:10:  [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(cmd, "(...)]\n.fi\n");
data/pinfo-0.6.13/src/manual.c:444:10:  [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(cmd, " ]\n.fi\n");
data/pinfo-0.6.13/src/manual.c:448:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
								sprintf(cmd, ".\\\" removed macro: %.42s", line);
data/pinfo-0.6.13/src/manual.c:450:10:  [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(cmd, "(...)");
data/pinfo-0.6.13/src/manual.c:500:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			id = fopen(apropos_tempfilename, "r");
data/pinfo-0.6.13/src/manual.c:506:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		id = fopen(tmpfilename1, "r");
data/pinfo-0.6.13/src/manual.c:524:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static char tmp[24];
data/pinfo-0.6.13/src/manual.c:559:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
					id = fopen(apropos_tempfilename, "r");
data/pinfo-0.6.13/src/manual.c:592:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				id = fopen(tmpfilename1, "r");
data/pinfo-0.6.13/src/manual.c:755:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(manuallinks[ManualLinks].section, "HTTPSECTION");
data/pinfo-0.6.13/src/manual.c:774:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(manuallinks[ManualLinks].section, "FTPSECTION");
data/pinfo-0.6.13/src/manual.c:793:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(manuallinks[ManualLinks].section, "MAILSECTION");
data/pinfo-0.6.13/src/manual.c:951:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char tmp[24];
data/pinfo-0.6.13/src/manual.c:1074:16:  [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).
						newpos = atol(token);
data/pinfo-0.6.13/src/manual.c:1678:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char strippedline[1024];
data/pinfo-0.6.13/src/manual.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(strippedline, str, len + 1);
data/pinfo-0.6.13/src/menu_and_note_utils.c:55:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tmp[1024 + 1];
data/pinfo-0.6.13/src/menu_and_note_utils.c:90:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tmp[1024 + 1];
data/pinfo-0.6.13/src/menu_and_note_utils.c:125:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tmp[1024 + 1];
data/pinfo-0.6.13/src/menu_and_note_utils.c:161:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tmp[1024 + 1];
data/pinfo-0.6.13/src/parse_config.c:92:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char config_file_name[256], *home = 0;
data/pinfo-0.6.13/src/parse_config.c:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[256];
data/pinfo-0.6.13/src/parse_config.c:98:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		f = fopen(rcfile, "r");
data/pinfo-0.6.13/src/parse_config.c:117: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(config_file_name, "/.pinforc");
data/pinfo-0.6.13/src/parse_config.c:118:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			if (!(f = fopen(config_file_name, "r")))
data/pinfo-0.6.13/src/parse_config.c:121:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if (!(f = fopen(config_file_name, "r")))
data/pinfo-0.6.13/src/parse_config.c:131:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			if (!(f = fopen(config_file_name, "r")))
data/pinfo-0.6.13/src/pinfo.c:48:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[256];
data/pinfo-0.6.13/src/pinfo.c:102:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(curfile, "dir");
data/pinfo-0.6.13/src/pinfo.c:103:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(filename, "dir");
data/pinfo-0.6.13/src/pinfo.c:260:5:  [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(filename, "dir");
data/pinfo-0.6.13/src/pinfo.c:423: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 msg[81];
data/pinfo-0.6.13/src/pinfo.c:632: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(withsuffix, ".info");
data/pinfo-0.6.13/src/pinfo.c:635: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(withsuffix, ".info");
data/pinfo-0.6.13/src/regexp_search.c:91:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *__newlines[2];
data/pinfo-0.6.13/src/regexp_search.c:142:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *__newlines[2];
data/pinfo-0.6.13/src/snprintf.c:428:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char convert[20];
data/pinfo-0.6.13/src/snprintf.c:563:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char iconvert[20];
data/pinfo-0.6.13/src/snprintf.c:564:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fconvert[20];
data/pinfo-0.6.13/src/snprintf.c:751:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf1[LONG_STRING];
data/pinfo-0.6.13/src/snprintf.c:752:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf2[LONG_STRING];
data/pinfo-0.6.13/src/utils.c:409:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *f = fopen("/dev/tty", "r+");
data/pinfo-0.6.13/src/utils.c:556: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(&h_regexp[pinfo_re_offset], &preg, sizeof(preg));
data/pinfo-0.6.13/src/utils.c:790: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(str, mbs, len);
data/pinfo-0.6.13/src/utils.c:857:11:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	int fd = mkstemp(tmpfile_template);
data/pinfo-0.6.13/src/video.c:228:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					static char buf[1024];
data/pinfo-0.6.13/src/video.c:295:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char msg[81];
data/pinfo-0.6.13/src/datatypes.c:115: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).
	infohistory.node[infohistory.length] = xmalloc(strlen(node) + 1);
data/pinfo-0.6.13/src/datatypes.c:117: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).
	infohistory.file[infohistory.length] = xmalloc(strlen(file) + 1);
data/pinfo-0.6.13/src/filehandling_functions.c:77:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (Buf[strlen(Buf)-1]!='/')
data/pinfo-0.6.13/src/filehandling_functions.c:79: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(Buf,"/");
data/pinfo-0.6.13/src/filehandling_functions.c:81:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(Buf,name,bname-name);
data/pinfo-0.6.13/src/filehandling_functions.c:95: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).
		char *filename = xmalloc(strlen(dp->d_name)+1);
data/pinfo-0.6.13/src/filehandling_functions.c:96: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).
		char *pagename = xmalloc(strlen(dp->d_name)+1);
data/pinfo-0.6.13/src/filehandling_functions.c:118:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(Buf, filename, 1023-strlen(Buf));
data/pinfo-0.6.13/src/filehandling_functions.c:118:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strncat(Buf, filename, 1023-strlen(Buf));
data/pinfo-0.6.13/src/filehandling_functions.c:144:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int filenamelen = strlen(filename);
data/pinfo-0.6.13/src/filehandling_functions.c:180:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(file, filestart + 1, fileend - filestart - 1);
data/pinfo-0.6.13/src/filehandling_functions.c:182:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(name, fileend + 1, dot - fileend - 1);
data/pinfo-0.6.13/src/filehandling_functions.c:186:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(name))
data/pinfo-0.6.13/src/filehandling_functions.c:188: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).
				*first_node = xmalloc(strlen(tmp) + 1);
data/pinfo-0.6.13/src/filehandling_functions.c:269:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (!feof(id) && fgetc(id) != INFO_TAG);
data/pinfo-0.6.13/src/filehandling_functions.c:271:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (!feof(id) && fgetc(id) != '\n');
data/pinfo-0.6.13/src/filehandling_functions.c:280: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).
	Type = xrealloc(Type, strlen(Type) + 1);
data/pinfo-0.6.13/src/filehandling_functions.c:291:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			Buf[Lines] = xrealloc(Buf[Lines], strlen(Buf[Lines]) + 1);
data/pinfo-0.6.13/src/filehandling_functions.c:306:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(Buf[Lines], "\n");
data/pinfo-0.6.13/src/filehandling_functions.c:330:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(Buf[Lines], "\n");
data/pinfo-0.6.13/src/filehandling_functions.c:331:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		Buf[Lines] = xrealloc(Buf[Lines], strlen(Buf[Lines]) + 1);
data/pinfo-0.6.13/src/filehandling_functions.c:351:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		check = wsk + strlen(wsk);
data/pinfo-0.6.13/src/filehandling_functions.c:363:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(indirect[i - cut].filename, message[i], 200);
data/pinfo-0.6.13/src/filehandling_functions.c:393:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		check = wsk + strlen(wsk);
data/pinfo-0.6.13/src/filehandling_functions.c:404:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		check = wsk1 + strlen(wsk1);
data/pinfo-0.6.13/src/filehandling_functions.c:456:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((input = fgetc(id)) != INFO_TAG)
data/pinfo-0.6.13/src/filehandling_functions.c:467:3:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		fgetc(id);
data/pinfo-0.6.13/src/filehandling_functions.c:478:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncasecmp("Indirect:", type, strlen("Indirect:")) == 0)
data/pinfo-0.6.13/src/filehandling_functions.c:518:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((input = fgetc(id)) != INFO_TAG)
data/pinfo-0.6.13/src/filehandling_functions.c:546:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while (fgetc(id) != '\n');
data/pinfo-0.6.13/src/filehandling_functions.c:557:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncasecmp("Tag Table:", type, strlen("Tag Table:")) == 0)
data/pinfo-0.6.13/src/filehandling_functions.c:581:2:  [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(dest, " ");
data/pinfo-0.6.13/src/filehandling_functions.c:591:2:  [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(dest, " ");
data/pinfo-0.6.13/src/filehandling_functions.c:627: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(buf, "/");
data/pinfo-0.6.13/src/filehandling_functions.c:636: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).
		bufend += strlen(buf);
data/pinfo-0.6.13/src/filehandling_functions.c:658:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(buf, "/");
data/pinfo-0.6.13/src/filehandling_functions.c:665:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			bufend += strlen(buf);
data/pinfo-0.6.13/src/filehandling_functions.c:815: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).
		bufend += strlen(buf);
data/pinfo-0.6.13/src/filehandling_functions.c:825: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).
					int prefixi, prefixlen = strlen(filenameprefix);
data/pinfo-0.6.13/src/filehandling_functions.c:862:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(filename);
data/pinfo-0.6.13/src/filehandling_functions.c:945:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	infolen = strlen(env) + strlen(configuredinfopath) + 3;
data/pinfo-0.6.13/src/filehandling_functions.c:945:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	infolen = strlen(env) + strlen(configuredinfopath) + 3;
data/pinfo-0.6.13/src/filehandling_functions.c:948:2:  [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(infopath, ":");
data/pinfo-0.6.13/src/filehandling_functions.c:951:2:  [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(infopath, ":");
data/pinfo-0.6.13/src/filehandling_functions.c:965:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ( dir && strlen(dir)>0 )
data/pinfo-0.6.13/src/filehandling_functions.c:995:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (lang && strlen(lang)>0 )
data/pinfo-0.6.13/src/filehandling_functions.c:998: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).
		langlen = infolen + (strlen(lang)+2) * numpaths + 1;
data/pinfo-0.6.13/src/filehandling_functions.c:1073:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len += strlen(paths[i]) + 1;
data/pinfo-0.6.13/src/filehandling_functions.c:1090: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).
			c += strlen(paths[i]) + 1;
data/pinfo-0.6.13/src/filehandling_functions.c:1166:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (fgetc(id) == INFO_TAG)	/* We've found a node entry! */
data/pinfo-0.6.13/src/filehandling_functions.c:1168:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			while (fgetc(id) != '\n');	/* skip '\n' */
data/pinfo-0.6.13/src/filehandling_functions.c:1185:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				int buflen = strlen(buf);
data/pinfo-0.6.13/src/filehandling_functions.c:1279:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t len = strlen(file);
data/pinfo-0.6.13/src/filehandling_functions.c:1287:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if ( file + len == found + strlen(suffixes[j].suffix) )
data/pinfo-0.6.13/src/filehandling_functions.c:1300:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t len = strlen(file);
data/pinfo-0.6.13/src/filehandling_functions.c:1308: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).
		if ( file + len == found + strlen(suffix) )
data/pinfo-0.6.13/src/initializelinks.c:200: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).
	char *buf = xmalloc(strlen(line1) + strlen(line2) + 1);
data/pinfo-0.6.13/src/initializelinks.c:200:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *buf = xmalloc(strlen(line1) + strlen(line2) + 1);
data/pinfo-0.6.13/src/initializelinks.c:204:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int line1len = strlen(line1);
data/pinfo-0.6.13/src/initializelinks.c:207:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:208:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		buf[strlen(line1) - 1] = ' ';	/* replace trailing '\n' with ' ' */
data/pinfo-0.6.13/src/initializelinks.c:253:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy( hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:256:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:258: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(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:260: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(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:288:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:291:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:293: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(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:295: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(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:338:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(hyperobjects[hyperobjectcount].file,
data/pinfo-0.6.13/src/initializelinks.c:341:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:349:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:351:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:360:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:361:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:369: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(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:371: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(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:393:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (dot != NULL && (dot + 7 < dot + strlen(dot)) )
data/pinfo-0.6.13/src/initializelinks.c:415:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(hyperobjects[hyperobjectcount].file,
data/pinfo-0.6.13/src/initializelinks.c:418:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:427:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:429:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:455:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:456:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:464:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:466:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:495:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (notestart  < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:514:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
						strncpy(hyperobjects[hyperobjectcount].file,
data/pinfo-0.6.13/src/initializelinks.c:517:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
						strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:521: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).
						if (notestart + 7 < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:526:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							if (tmp < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:536:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									strlen(line1) -(long)(notestart + 7 - buf) + 1;
data/pinfo-0.6.13/src/initializelinks.c:543: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).
								calculate_len(buf + strlen(line1), notestart + 7);
data/pinfo-0.6.13/src/initializelinks.c:544:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							if (tmp < buf + strlen(line1))	/* as above */
data/pinfo-0.6.13/src/initializelinks.c:547:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
										strlen(line1) -
data/pinfo-0.6.13/src/initializelinks.c:554:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							strlen(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:556:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							strlen(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:564:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:565:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:570:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:572:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:573:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (notestart + 7 < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:579:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						if (tmp < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:589: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(line1) -(long)(notestart + 7 - buf) + 1;
data/pinfo-0.6.13/src/initializelinks.c:596: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).
							calculate_len(buf + strlen(line1), notestart + 7) - 1;
data/pinfo-0.6.13/src/initializelinks.c:597:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						if (tmp < buf + strlen(line1))	/* as above */
data/pinfo-0.6.13/src/initializelinks.c:600:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									strlen(line1)
data/pinfo-0.6.13/src/initializelinks.c:626:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if ( (dot != NULL) && ( dot + 7 < dot + strlen(dot)) )
data/pinfo-0.6.13/src/initializelinks.c:647:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
						strncpy(hyperobjects[hyperobjectcount].file,
data/pinfo-0.6.13/src/initializelinks.c:650:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
						strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:654:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						if (start < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:659:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							if (dot < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:670:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									strlen(line1) -(long)(start - buf);
data/pinfo-0.6.13/src/initializelinks.c:677: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).
								calculate_len(buf + strlen(line1), start);
data/pinfo-0.6.13/src/initializelinks.c:681:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							strlen(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:683:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							strlen(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:709:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
						strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:710:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
						strncpy(hyperobjects[hyperobjectcount].node,
data/pinfo-0.6.13/src/initializelinks.c:715:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							strlen(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:717:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							strlen(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:718:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						if (start < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:723:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							if (dot < buf + strlen(line1))
data/pinfo-0.6.13/src/initializelinks.c:734:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									strlen(line1) -(long)(start - buf);
data/pinfo-0.6.13/src/initializelinks.c:741: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).
								calculate_len(strlen(line1) + buf, start);
data/pinfo-0.6.13/src/initializelinks.c:760: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).
		if (notestart + 6 < buf + strlen(buf) + 1)
data/pinfo-0.6.13/src/initializelinks.c:791:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(hyperobjects[hyperobjectcount].node, urlstart, urlend - urlstart);
data/pinfo-0.6.13/src/initializelinks.c:793:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:796: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(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:798: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(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/initializelinks.c:817:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(hyperobjects[hyperobjectcount].node, urlstart, urlend - urlstart);
data/pinfo-0.6.13/src/initializelinks.c:819:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(hyperobjects[hyperobjectcount].file, "");
data/pinfo-0.6.13/src/initializelinks.c:822: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(hyperobjects[hyperobjectcount].node);
data/pinfo-0.6.13/src/initializelinks.c:824: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(hyperobjects[hyperobjectcount].file);
data/pinfo-0.6.13/src/mainfunction.c:277:6:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					getchar();
data/pinfo-0.6.13/src/mainfunction.c:293:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(rval.node, "");
data/pinfo-0.6.13/src/mainfunction.c:328: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).
					token = xmalloc(strlen(searchagain.lastsearch) + 1);
data/pinfo-0.6.13/src/mainfunction.c:336: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).
				if (strlen(token) == 0)
data/pinfo-0.6.13/src/mainfunction.c:348:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					fileoffset += strlen(Message[i]);
data/pinfo-0.6.13/src/mainfunction.c:349:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				fileoffset += strlen(Type);	/* add also header length */
data/pinfo-0.6.13/src/mainfunction.c:414:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
								while (fgetc(fd) != INFO_TAG);
data/pinfo-0.6.13/src/mainfunction.c:415:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
								fgetc(fd);	/* skip newline */
data/pinfo-0.6.13/src/mainfunction.c:425:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
									int chr = fgetc(fd);
data/pinfo-0.6.13/src/mainfunction.c:511:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
							while (fgetc(id) != INFO_TAG);
data/pinfo-0.6.13/src/mainfunction.c:512:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
							fgetc(id);	/* skip newline */
data/pinfo-0.6.13/src/mainfunction.c:519:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
								int chr = fgetc(id);
data/pinfo-0.6.13/src/mainfunction.c:583: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).
					token = xmalloc(strlen(searchagain.lastsearch) + 1);
data/pinfo-0.6.13/src/mainfunction.c:587: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).
				if (strlen(token) == 0)
data/pinfo-0.6.13/src/mainfunction.c:614:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					tmp = xmalloc(strlen(Message[i]) + strlen(Message[i + 1]) + 2);
data/pinfo-0.6.13/src/mainfunction.c:614: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).
					tmp = xmalloc(strlen(Message[i]) + strlen(Message[i + 1]) + 2);
data/pinfo-0.6.13/src/mainfunction.c:722:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
							strncpy(rval.file, gotostartptr + 1, gotoendptr - gotostartptr - 1);
data/pinfo-0.6.13/src/mainfunction.c:741: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).
						rval.file = xmalloc(strlen(token) + 1);
data/pinfo-0.6.13/src/mainfunction.c:746:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
						strcpy(rval.node, "");
data/pinfo-0.6.13/src/mainfunction.c:768:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				token = xmalloc(strlen(Type));
data/pinfo-0.6.13/src/mainfunction.c:789:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				token = xmalloc(strlen(Type));
data/pinfo-0.6.13/src/mainfunction.c:810:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				token = xmalloc(strlen(Type));
data/pinfo-0.6.13/src/mainfunction.c:1009:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					rval.file = xmalloc(strlen(infohistory.file[infohistory.length]) + 1);
data/pinfo-0.6.13/src/mainfunction.c:1039: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).
							rval.file = xmalloc(strlen(hyperobjects[cursor].file) + 1);
data/pinfo-0.6.13/src/mainfunction.c:1048: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).
								char *tempbuf = xmalloc(strlen(hyperobjects[cursor].node) + strlen(httpviewer) + 10);
data/pinfo-0.6.13/src/mainfunction.c:1048:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
								char *tempbuf = xmalloc(strlen(hyperobjects[cursor].node) + strlen(httpviewer) + 10);
data/pinfo-0.6.13/src/mainfunction.c:1050:9:  [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(tempbuf, " ");
data/pinfo-0.6.13/src/mainfunction.c:1059: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).
								char *tempbuf = xmalloc(strlen(hyperobjects[cursor].node) + strlen(ftpviewer) + 10);
data/pinfo-0.6.13/src/mainfunction.c:1059:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
								char *tempbuf = xmalloc(strlen(hyperobjects[cursor].node) + strlen(ftpviewer) + 10);
data/pinfo-0.6.13/src/mainfunction.c:1061:9:  [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(tempbuf, " ");
data/pinfo-0.6.13/src/mainfunction.c:1070: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).
								char *tempbuf = xmalloc(strlen(hyperobjects[cursor].node) + strlen(maileditor) + 10);
data/pinfo-0.6.13/src/mainfunction.c:1070:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
								char *tempbuf = xmalloc(strlen(hyperobjects[cursor].node) + strlen(maileditor) + 10);
data/pinfo-0.6.13/src/mainfunction.c:1072:9:  [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(tempbuf, " ");
data/pinfo-0.6.13/src/mainfunction.c:1122:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/mainfunction.c:1122:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/mainfunction.c:1141:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
										if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/mainfunction.c:1141:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
										if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/mainfunction.c:1169:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/mainfunction.c:1169:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/mainfunction.c:1188:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
										if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/mainfunction.c:1188:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
										if (hyperobjects[i].col + strlen(hyperobjects[i].node) + strlen(hyperobjects[i].file) >= mouse_x - 1)
data/pinfo-0.6.13/src/manual.c:155:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(name), i;
data/pinfo-0.6.13/src/manual.c:204:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(manualhistory[0].sect, lastButOneSlash, sizeof(manualhistory[0].sect)-1);
data/pinfo-0.6.13/src/manual.c:234:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(base, manual[manuallinks[which].line - 1],1023);
data/pinfo-0.6.13/src/manual.c:236:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			ptr = base + strlen(base) - 3;
data/pinfo-0.6.13/src/manual.c:243: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).
			tmppos = strlen(buf);
data/pinfo-0.6.13/src/manual.c:254:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int namelen = strlen(manuallinks[which].name);
data/pinfo-0.6.13/src/manual.c:332:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (*ignoredmacros && strlen(ignoredmacros))
data/pinfo-0.6.13/src/manual.c:390: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).
			if ((strlen(location)) > 3
data/pinfo-0.6.13/src/manual.c:420: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).
				if (line[0] != '.' ||(strlen(line)) <(size_t) 2)
data/pinfo-0.6.13/src/manual.c:428: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).
						macroline_size = strlen(ignored_entries[i]);
data/pinfo-0.6.13/src/manual.c:429:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						if (strlen(line + 1) < macroline_size)
data/pinfo-0.6.13/src/manual.c:430: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).
							macroline_size = strlen(line + 1);
data/pinfo-0.6.13/src/manual.c:441:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
								if ((strlen(line)) >(size_t) 42)
data/pinfo-0.6.13/src/manual.c:449:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
								if ((strlen(line)) >(size_t) 42)
data/pinfo-0.6.13/src/manual.c:679: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).
				if (strlen(manual[ManualLines]) > 1)
data/pinfo-0.6.13/src/manual.c:689:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int manlinelen = strlen(manual[ManualLines]);
data/pinfo-0.6.13/src/manual.c:739:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int tmpcnt = strlen(tmp) + 1;
data/pinfo-0.6.13/src/manual.c:758:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(manuallinks[ManualLinks].name, urlstart, urlend - urlstart);
data/pinfo-0.6.13/src/manual.c:777:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(manuallinks[ManualLinks].name, urlstart, urlend - urlstart);
data/pinfo-0.6.13/src/manual.c:796:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(manuallinks[ManualLinks].name, urlstart, urlend - urlstart);
data/pinfo-0.6.13/src/manual.c:822:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				p_t = p_t1 = xmalloc((strlen(mylink) + 10) * sizeof(char));
data/pinfo-0.6.13/src/manual.c:825:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				mylink -=(strlen(p_t1) + sizeof(char));
data/pinfo-0.6.13/src/manual.c:1034:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(manuallinks[ManualLinks].section, " ");
data/pinfo-0.6.13/src/manual.c:1120:5:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				getchar();
data/pinfo-0.6.13/src/manual.c:1156: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).
					token = xmalloc(strlen(searchagain.lastsearch) + 1);
data/pinfo-0.6.13/src/manual.c:1160: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).
				if (strlen(token) == 0)
data/pinfo-0.6.13/src/manual.c:1195:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					tmp = xmalloc(strlen(manual[i]) + strlen(manual[i + 1]) + 10);
data/pinfo-0.6.13/src/manual.c:1195: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).
					tmp = xmalloc(strlen(manual[i]) + strlen(manual[i + 1]) + 10);
data/pinfo-0.6.13/src/manual.c:1430: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(tempbuf, " ");
data/pinfo-0.6.13/src/manual.c:1431:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							buflen = strlen(tempbuf);
data/pinfo-0.6.13/src/manual.c:1443: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(tempbuf, " ");
data/pinfo-0.6.13/src/manual.c:1444:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							buflen = strlen(tempbuf);
data/pinfo-0.6.13/src/manual.c:1456: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(tempbuf, " ");
data/pinfo-0.6.13/src/manual.c:1457:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							buflen = strlen(tempbuf);
data/pinfo-0.6.13/src/manual.c:1501:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									if (manuallinks[i].col + strlen(manuallinks[i].name) >= mouse_x - 1)
data/pinfo-0.6.13/src/manual.c:1517:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
										if (manuallinks[i].col + strlen(manuallinks[i].name) >= mouse_x - 1)
data/pinfo-0.6.13/src/manual.c:1542:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
									if (manuallinks[i].col + strlen(manuallinks[i].name) >= mouse_x - 1)
data/pinfo-0.6.13/src/manual.c:1558:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
										if (manuallinks[i].col + strlen(manuallinks[i].name) >= mouse_x - 1)
data/pinfo-0.6.13/src/manual.c:1634:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(manual[i]);
data/pinfo-0.6.13/src/manual.c:1677:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int i, j, len = strlen(str);
data/pinfo-0.6.13/src/manual.c:1800:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					ltlinelen = strlen(tmpstr);
data/pinfo-0.6.13/src/manual.c:1827:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						else if (ltlinelen+strlen(&tmpstr[ltlinelen])>manualcol)
data/pinfo-0.6.13/src/manual.c:1873:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			else if (manuallinks[i].col+strlen(manuallinks[i].name)>manualcol)
data/pinfo-0.6.13/src/menu_and_note_utils.c:53: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).
	char *tmp = xmalloc(strlen(type) + 1);
data/pinfo-0.6.13/src/menu_and_note_utils.c:88: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).
	char *tmp = xmalloc(strlen(type) + 1);
data/pinfo-0.6.13/src/menu_and_note_utils.c:123: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).
	char *tmp = xmalloc(strlen(type) + 1);
data/pinfo-0.6.13/src/menu_and_note_utils.c:159: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).
	char *tmp = xmalloc(strlen(type) + 1);
data/pinfo-0.6.13/src/parse_config.c:181:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(temp) < 1)
data/pinfo-0.6.13/src/parse_config.c:900: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).
							char *tail = temp +(strlen(temp));
data/pinfo-0.6.13/src/parse_config.c:919: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).
							char *tail = temp +(strlen(temp));
data/pinfo-0.6.13/src/parse_config.c:953: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).
				char *tail = temp +(strlen(temp));
data/pinfo-0.6.13/src/parse_config.c:965:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen(str); ++i)
data/pinfo-0.6.13/src/parse_config.c:991:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (i = 0; i < strlen(str); i++)
data/pinfo-0.6.13/src/pinfo.c:105:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen(argv[0]) >= 3)||(use_manual))
data/pinfo-0.6.13/src/pinfo.c:111:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(filename, "");
data/pinfo-0.6.13/src/pinfo.c:118:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
					strncat(filename, argv[i], sizeof(filename)-strlen(filename)-2);
data/pinfo-0.6.13/src/pinfo.c:118:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strncat(filename, argv[i], sizeof(filename)-strlen(filename)-2);
data/pinfo-0.6.13/src/pinfo.c:119:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
					strncat(filename, " ", 2);
data/pinfo-0.6.13/src/pinfo.c:151:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					pinfo_start_node = malloc(strlen(optarg) + 1);
data/pinfo-0.6.13/src/pinfo.c:196:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(filename, "");
data/pinfo-0.6.13/src/pinfo.c:199:7:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
						strncat(filename, argv[i], sizeof(filename)-strlen(filename)-2);
data/pinfo-0.6.13/src/pinfo.c:199:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strncat(filename, argv[i], sizeof(filename)-strlen(filename)-2);
data/pinfo-0.6.13/src/pinfo.c:200:7:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
						strncat(filename, " ", 2);
data/pinfo-0.6.13/src/pinfo.c:205:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(filename, argv[argc - 1], 200);
data/pinfo-0.6.13/src/pinfo.c:210: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).
					tmp = filename + strlen(filename) - 1;
data/pinfo-0.6.13/src/pinfo.c:227:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(filename, argv[argc - 1], 200);
data/pinfo-0.6.13/src/pinfo.c:256:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(filename, argv[optind], 200);
data/pinfo-0.6.13/src/pinfo.c:265:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(filename, argv[argc - 1], 200);
data/pinfo-0.6.13/src/pinfo.c:269:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				int fnamelen=strlen(filename);
data/pinfo-0.6.13/src/pinfo.c:295: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).
			curfile = xmalloc(strlen(filename) + 100);
data/pinfo-0.6.13/src/pinfo.c:444:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				file_name_force = xmalloc( strlen(curfile)+1 ); /* freed below */
data/pinfo-0.6.13/src/pinfo.c:530:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							curfile = xmalloc(strlen(work_return_value.file) + 150);
data/pinfo-0.6.13/src/pinfo.c:614:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(file) > 5)
data/pinfo-0.6.13/src/pinfo.c:616:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strcmp(file + strlen(file) - 5, ".info") == 0)
data/pinfo-0.6.13/src/pinfo.c:618:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			file = file + strlen(file) - 5;
data/pinfo-0.6.13/src/pinfo.c:627: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).
	char *withsuffix = xmalloc(strlen(info) + 150);
data/pinfo-0.6.13/src/pinfo.c:629:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(info) == 3)
data/pinfo-0.6.13/src/printinfo.c:63:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(buf, "(");
data/pinfo-0.6.13/src/printinfo.c:65:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(buf, ")");
data/pinfo-0.6.13/src/printinfo.c:73:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					length = strlen(buf) -
data/pinfo-0.6.13/src/printinfo.c:77:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				lineprinted += strlen(buf + length -
data/pinfo-0.6.13/src/printinfo.c:86: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(buf);
data/pinfo-0.6.13/src/readlinewrapper.c:85:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (cursor < strlen(buf))
data/pinfo-0.6.13/src/readlinewrapper.c:89:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				cursor = strlen(buf);
data/pinfo-0.6.13/src/readlinewrapper.c:105:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (cursor <= strlen(buf) - 1)
data/pinfo-0.6.13/src/readlinewrapper.c:127:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				cursor = strlen(buf);
data/pinfo-0.6.13/src/readlinewrapper.c:138:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				cursor = strlen(buf);
data/pinfo-0.6.13/src/readlinewrapper.c:173:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (strlen(buf + cursor))
data/pinfo-0.6.13/src/readlinewrapper.c:176:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						tmp = xmalloc(strlen(buf + cursor) + 1);
data/pinfo-0.6.13/src/readlinewrapper.c:203:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(buf))
data/pinfo-0.6.13/src/readlinewrapper.c:206: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(rlhistory[rlhistorylen - 1]) + 1);
data/pinfo-0.6.13/src/readlinewrapper.c:214: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).
	buf = xrealloc(buf, strlen(buf) + 1);
data/pinfo-0.6.13/src/snprintf.c:713:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (strlen(str));
data/pinfo-0.6.13/src/snprintf.c:741:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (strlen(str));
data/pinfo-0.6.13/src/utils.c:100:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getchar();
data/pinfo-0.6.13/src/utils.c:166:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getchar();
data/pinfo-0.6.13/src/utils.c:268:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t newlen = strlen(rl_line_buffer);
data/pinfo-0.6.13/src/utils.c:300:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	move(maxy-1, strlen(rl_prompt) + strlen(matches[0]) );
data/pinfo-0.6.13/src/utils.c:300: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).
	move(maxy-1, strlen(rl_prompt) + strlen(matches[0]) );
data/pinfo-0.6.13/src/utils.c:320:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(text);
data/pinfo-0.6.13/src/utils.c:697:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		|| (strlen(node_name)==0) || (strlen(node_header)==0) )
data/pinfo-0.6.13/src/utils.c:697: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).
		|| (strlen(node_name)==0) || (strlen(node_header)==0) )
data/pinfo-0.6.13/src/utils.c:702:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	header_len = strlen(node_header);
data/pinfo-0.6.13/src/utils.c:716:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	str_start += strlen("Node: ");
data/pinfo-0.6.13/src/utils.c:756:15:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = wcslen(wstr);
data/pinfo-0.6.13/src/utils.c:805:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	width = strlen(str);
data/pinfo-0.6.13/src/utils.c:867:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(tmpfile_template)+1;
data/pinfo-0.6.13/src/video.c:46:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		start += strlen(from);
data/pinfo-0.6.13/src/video.c:54: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).
	char *buf1 = xmalloc(strlen(type) + 50);
data/pinfo-0.6.13/src/video.c:55: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).
	char *buf2 = xmalloc(strlen(type) + 50);
data/pinfo-0.6.13/src/video.c:66:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	buf2len=strlen(buf2);
data/pinfo-0.6.13/src/video.c:91: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).
		tmp = strlen(message[i]) - 1;
data/pinfo-0.6.13/src/video.c:231:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(buf, "(");
data/pinfo-0.6.13/src/video.c:233:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
					strcat(buf, ")");

ANALYSIS SUMMARY:

Hits = 511
Lines analyzed = 11450 in approximately 0.36 seconds (32033 lines/second)
Physical Source Lines of Code (SLOC) = 8748
Hits@level = [0]  91 [1] 288 [2]  91 [3]  10 [4] 122 [5]   0
Hits@level+ = [0+] 602 [1+] 511 [2+] 223 [3+] 132 [4+] 122 [5+]   0
Hits/KSLOC@level+ = [0+] 68.8157 [1+] 58.4134 [2+] 25.4915 [3+] 15.0892 [4+] 13.946 [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.