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/pixmap-2.6pl4/patchlevel.h
Examining data/pixmap-2.6pl4/Version.h
Examining data/pixmap-2.6pl4/CutPaste.c
Examining data/pixmap-2.6pl4/Dialog.h
Examining data/pixmap-2.6pl4/ExtEdit.c
Examining data/pixmap-2.6pl4/Extensions.c
Examining data/pixmap-2.6pl4/Graphics.c
Examining data/pixmap-2.6pl4/Handlers.c
Examining data/pixmap-2.6pl4/PixmapP.h
Examining data/pixmap-2.6pl4/PortEdit.c
Examining data/pixmap-2.6pl4/Requests.h
Examining data/pixmap-2.6pl4/ReqMach.c
Examining data/pixmap-2.6pl4/TextOpt.c
Examining data/pixmap-2.6pl4/TextOpt.h
Examining data/pixmap-2.6pl4/X11/Xfuncs.h
Examining data/pixmap-2.6pl4/X11/Xfuncproto.h
Examining data/pixmap-2.6pl4/X11/Xosdefs.h
Examining data/pixmap-2.6pl4/SelFile/Dir.c
Examining data/pixmap-2.6pl4/SelFile/Path.c
Examining data/pixmap-2.6pl4/SelFile/SFinternal.h
Examining data/pixmap-2.6pl4/SelFile/xstat.h
Examining data/pixmap-2.6pl4/SelFile/Draw.c
Examining data/pixmap-2.6pl4/SelFile/SelFile.c
Examining data/pixmap-2.6pl4/Dialog.c
Examining data/pixmap-2.6pl4/PixEdit.c
Examining data/pixmap-2.6pl4/Pixmap.c
Examining data/pixmap-2.6pl4/Pixmap.h

FINAL RESULTS:

data/pixmap-2.6pl4/ExtEdit.c:77: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( s,  ext->lines[i] );
data/pixmap-2.6pl4/ExtEdit.c:80: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( s,  ext->lines[i] );
data/pixmap-2.6pl4/ExtEdit.c:135: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( ext->lines[i], beg );
data/pixmap-2.6pl4/PixEdit.c:1071:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(message, "Can't write file: %s - %s", filename,
data/pixmap-2.6pl4/PixEdit.c:1093:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, "Can't read file: %s - %s", filename,
data/pixmap-2.6pl4/PixEdit.c:1119:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, "Can't read file: %s", filename);
data/pixmap-2.6pl4/PixEdit.c:1135:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, "Can't write file: %s", filename);
data/pixmap-2.6pl4/PixEdit.c:1157:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, "Can't write file: %s", filename);
data/pixmap-2.6pl4/PixEdit.c:1247:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(message, "Can't write file: %s", filename);
data/pixmap-2.6pl4/PixEdit.c:1292:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(message, "Color `%s' [%d] symbolic name:", 
data/pixmap-2.6pl4/PixEdit.c:1315:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(message, "Color `%s' [%d] monochrome display name:", 
data/pixmap-2.6pl4/PixEdit.c:1348:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(message, "Color `%s' [%d] grey scale 4 display name:", 
data/pixmap-2.6pl4/PixEdit.c:1381:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(message, "Color `%s' [%d] grey scale display name:", 
data/pixmap-2.6pl4/PixEdit.c:1414:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(message, "Color `%s' [%d] color display name:", 
data/pixmap-2.6pl4/PixEdit.c:1588:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, "Wrong format: %s", format);
data/pixmap-2.6pl4/PixEdit.c:1614:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(message, "Wrong format: %s", format);
data/pixmap-2.6pl4/PixEdit.c:1659:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(info_str, info, PATCHLEVEL);
data/pixmap-2.6pl4/Pixmap.c:1466:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(PW->pixmap.status, 
data/pixmap-2.6pl4/PortEdit.c:135: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( s, str );
data/pixmap-2.6pl4/PortEdit.c:141:13:  [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( p->info, t+strlen(t)+1 );/* stuff after tokens */
data/pixmap-2.6pl4/PortEdit.c:173: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( str, id_str  );
data/pixmap-2.6pl4/PortEdit.c:175: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( str, x_str   );
data/pixmap-2.6pl4/PortEdit.c:177: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( str, y_str   );
data/pixmap-2.6pl4/PortEdit.c:179: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( str, p->info );
data/pixmap-2.6pl4/PortEdit.c:694: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( p.info, newInfo );
data/pixmap-2.6pl4/SelFile/Dir.c:142:17:  [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).
		(void) strcat(strcpy(result[i].real, str), " ");
data/pixmap-2.6pl4/SelFile/Draw.c:73:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			(void) sprintf(sbuf, "XsraSelFile: can't get font %s",
data/pixmap-2.6pl4/SelFile/Draw.c:293:14:  [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).
						(void) strcpy(entry->shown,
data/pixmap-2.6pl4/SelFile/Path.c:78:11:  [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).
			(void) strcpy(SFcurrentDir, path);
data/pixmap-2.6pl4/SelFile/Path.c:117: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).
	(void) strcpy(dir->entries[0].real, cannotOpen);
data/pixmap-2.6pl4/SelFile/Path.c:178:10:  [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).
		(void) strcat(SFcurrentPath, str);
data/pixmap-2.6pl4/SelFile/Path.c:206: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).
		str = strcpy(XtMalloc((unsigned) (strlen(str) + 1)), str);
data/pixmap-2.6pl4/SelFile/Path.c:218: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).
	(void) strcpy((growing = XtMalloc((unsigned) (strlen(name) + 1))),
data/pixmap-2.6pl4/SelFile/Path.c:407:11:  [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).
			(void) strcpy(SFlogins[0].dir, pw->pw_dir);
data/pixmap-2.6pl4/SelFile/Path.c:434:11:  [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).
			(void) strcat(strcpy(entries[i].real, "~"),
data/pixmap-2.6pl4/SelFile/Path.c:443:11:  [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).
			(void) strcpy(SFlogins[i].name, pw->pw_name);
data/pixmap-2.6pl4/SelFile/Path.c:446:11:  [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).
			(void) strcpy(SFlogins[i].dir, pw->pw_dir);
data/pixmap-2.6pl4/SelFile/Path.c:494:11:  [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).
			(void) strcpy(theRest, end);
data/pixmap-2.6pl4/SelFile/Path.c:495:11:  [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).
			(void) strcat(strcat(strcpy(SFcurrentPath,
data/pixmap-2.6pl4/SelFile/Path.c:495:25:  [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).
			(void) strcat(strcat(strcpy(SFcurrentPath,
data/pixmap-2.6pl4/SelFile/Path.c:516:11:  [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).
			(void) strcpy(theRest, end);
data/pixmap-2.6pl4/SelFile/Path.c:517:11:  [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).
			(void) strcat(strcat(strcpy(SFcurrentPath,
data/pixmap-2.6pl4/SelFile/Path.c:517:25:  [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).
			(void) strcat(strcat(strcpy(SFcurrentPath,
data/pixmap-2.6pl4/SelFile/Path.c:644:13:  [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).
					(void) strcpy(dir->dir, begin);
data/pixmap-2.6pl4/SelFile/SelFile.c:582:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(buf, failed);
data/pixmap-2.6pl4/SelFile/SelFile.c:583: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, syserrstring);
data/pixmap-2.6pl4/SelFile/SelFile.c:585: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, prompt);
data/pixmap-2.6pl4/SelFile/SelFile.c:598:10:  [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).
		(void) strcpy(SFcurrentPath, SFtextBuffer);
data/pixmap-2.6pl4/SelFile/SelFile.c:602:10:  [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).
		(void) strcat(strcpy(SFcurrentPath, SFstartDir), SFtextBuffer);
data/pixmap-2.6pl4/SelFile/SelFile.c:602:17:  [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).
		(void) strcat(strcpy(SFcurrentPath, SFstartDir), SFtextBuffer);
data/pixmap-2.6pl4/SelFile/SelFile.c:619: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).
	return strcpy(XtMalloc((unsigned) (strlen(SFtextBuffer) + 1)),
data/pixmap-2.6pl4/SelFile/SelFile.c:700: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).
	(void) strcpy(SFcurrentDir, SFstartDir);
data/pixmap-2.6pl4/SelFile/SelFile.c:704:11:  [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).
			(void) strcpy(SFcurrentPath, init_path);
data/pixmap-2.6pl4/SelFile/SelFile.c:715:11:  [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).
			(void) strcat(strcpy(SFcurrentPath, SFstartDir),
data/pixmap-2.6pl4/SelFile/SelFile.c:715:18:  [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).
			(void) strcat(strcpy(SFcurrentPath, SFstartDir),
data/pixmap-2.6pl4/SelFile/SelFile.c:720:10:  [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).
		(void) strcpy(SFcurrentPath, SFstartDir);
data/pixmap-2.6pl4/PixEdit.c:1756:56:  [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 (snprintf(filename, sizeof filename, "%s/%s", getenv("HOME"), fname) >= sizeof filename)
data/pixmap-2.6pl4/SelFile/SelFile.c:75:14:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
extern char *getwd();
data/pixmap-2.6pl4/SelFile/SelFile.c:694:7:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
	if (!getwd(SFstartDir)) {
data/pixmap-2.6pl4/PixEdit.c:359: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 message[80];
data/pixmap-2.6pl4/PixEdit.c:1289: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 message[80];
data/pixmap-2.6pl4/PixEdit.c:1312: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 message[80];
data/pixmap-2.6pl4/PixEdit.c:1345: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 message[80];
data/pixmap-2.6pl4/PixEdit.c:1378: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 message[80];
data/pixmap-2.6pl4/PixEdit.c:1411: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 message[80];
data/pixmap-2.6pl4/PixEdit.c:1548: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 message[80], buffer[80], *returned;
data/pixmap-2.6pl4/PixEdit.c:1552:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buffer, "%d", square_size);
data/pixmap-2.6pl4/PixEdit.c:1553: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(message, "Set Zoom Factor:");
data/pixmap-2.6pl4/PixEdit.c:1558:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  if ((square_size = atoi(returned)) > 0)
data/pixmap-2.6pl4/PixEdit.c:1750: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 filename[1024];
data/pixmap-2.6pl4/PixEdit.c:1754:21:  [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 (!(colorfile = fopen(fname, "r")))
data/pixmap-2.6pl4/PixEdit.c:1760:25:  [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 (!(colorfile = fopen(filename, "r")))
data/pixmap-2.6pl4/PixEdit.c:1766:16:  [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).
	  colorfile = fopen(filename, "r");
data/pixmap-2.6pl4/PixEdit.c:1772: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 cname[512];
data/pixmap-2.6pl4/Pixmap.c:1450: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 size_buf[80];
data/pixmap-2.6pl4/Pixmap.c:1453:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(size_buf, "%dx%d", PW->pixmap.width, PW->pixmap.height);
data/pixmap-2.6pl4/Pixmap.c:1733:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf(color->c_name, "#%04X%04X%04X", 
data/pixmap-2.6pl4/PortEdit.c:85: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      info[256]; 	/* port info: name, kind */
data/pixmap-2.6pl4/PortEdit.c:161: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 id_str[40];
data/pixmap-2.6pl4/PortEdit.c:162: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 x_str[40];
data/pixmap-2.6pl4/PortEdit.c:163: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 y_str[40];
data/pixmap-2.6pl4/PortEdit.c:167: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( id_str, "%d", p->id );
data/pixmap-2.6pl4/PortEdit.c:168: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( x_str,  "%d", p->x );
data/pixmap-2.6pl4/PortEdit.c:169: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( y_str,  "%d", p->y );
data/pixmap-2.6pl4/ReqMach.c:130:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(call_data, 
data/pixmap-2.6pl4/SelFile/Draw.c:71: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	sbuf[256];
data/pixmap-2.6pl4/SelFile/Path.c:507: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 user[256];
data/pixmap-2.6pl4/SelFile/SelFile.c:80: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
data/pixmap-2.6pl4/SelFile/SelFile.c:131: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 SFtextBuffer[MAXPATHLEN];
data/pixmap-2.6pl4/SelFile/SelFile.c:163:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[2];
data/pixmap-2.6pl4/SelFile/SelFile.c:569: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 ((fp = fopen(name, mode)) == NULL) {
data/pixmap-2.6pl4/X11/Xfuncs.h:24:6:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
void bcopy();
data/pixmap-2.6pl4/X11/Xfuncs.h:30:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
data/pixmap-2.6pl4/X11/Xfuncs.h:40:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy _XBCOPYFUNC
data/pixmap-2.6pl4/X11/Xfuncs.h:43:6:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
void bcopy();
data/pixmap-2.6pl4/X11/Xfuncs.h:47:6:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
void bcopy();
data/pixmap-2.6pl4/CutPaste.c:68:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define XtStrlen(s)                   ((s) ? strlen(s) : 0)
data/pixmap-2.6pl4/ExtEdit.c:72: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).
        len += strlen( ext->lines[i] ) + 1; /* plus one for newline or NULL */
data/pixmap-2.6pl4/ExtEdit.c:78: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( s, "\n" );
data/pixmap-2.6pl4/ExtEdit.c:128:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( ext->lines[i], beg, len );
data/pixmap-2.6pl4/ExtEdit.c:134: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).
    ext->lines[i] = (char *) XtCalloc(strlen(beg) + 1, sizeof(char));
data/pixmap-2.6pl4/Graphics.c:71:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define XtStrlen(s)                   ((s) ? strlen(s) : 0)
data/pixmap-2.6pl4/Graphics.c:2599: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(PW->pixmap.text_string) == 0 )
data/pixmap-2.6pl4/Graphics.c:2628: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).
               PW->pixmap.text_string, strlen(PW->pixmap.text_string) );
data/pixmap-2.6pl4/Handlers.c:70:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define XtStrlen(s)                   ((s) ? strlen(s) : 0)
data/pixmap-2.6pl4/PixEdit.c:1658: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).
	info_str = XtMalloc((strlen(info) + 1) * sizeof(char));
data/pixmap-2.6pl4/Pixmap.c:74:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define XtStrlen(s)                   ((s) ? strlen(s) : 0)
data/pixmap-2.6pl4/Pixmap.c:831:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = (end ? (end - begin) : strlen (begin));
data/pixmap-2.6pl4/Pixmap.c:833:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (result, begin, length);
data/pixmap-2.6pl4/Pixmap.c:1459: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 ((status_ptr = XtMalloc((strlen(size_buf) + 
data/pixmap-2.6pl4/Pixmap.c:1460: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(PW->pixmap.filename) +
data/pixmap-2.6pl4/Pixmap.c:2780: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).
                    PW->pixmap.text_string, strlen(PW->pixmap.text_string), 
data/pixmap-2.6pl4/Pixmap.c:2809: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).
                    PW->pixmap.text_string, strlen(PW->pixmap.text_string), 
data/pixmap-2.6pl4/PortEdit.c:134: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).
	s = XtMalloc( strlen(str) + 1 );	
data/pixmap-2.6pl4/PortEdit.c:140:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (t != NULL && t+strlen(t)+1 < s+strlen(str)) 
data/pixmap-2.6pl4/PortEdit.c:140:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (t != NULL && t+strlen(t)+1 < s+strlen(str)) 
data/pixmap-2.6pl4/PortEdit.c:141: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).
            strcpy( p->info, t+strlen(t)+1 );/* stuff after tokens */
data/pixmap-2.6pl4/PortEdit.c:170: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).
	str = XtMalloc( strlen(x_str) + strlen(y_str) + strlen(id_str)
data/pixmap-2.6pl4/PortEdit.c:170:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	str = XtMalloc( strlen(x_str) + strlen(y_str) + strlen(id_str)
data/pixmap-2.6pl4/PortEdit.c:170: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).
	str = XtMalloc( strlen(x_str) + strlen(y_str) + strlen(id_str)
data/pixmap-2.6pl4/PortEdit.c:171: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).
                        + strlen(p->info) + 4 );
data/pixmap-2.6pl4/PortEdit.c:174: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( str, " "     );
data/pixmap-2.6pl4/PortEdit.c:176: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( str, " "     );
data/pixmap-2.6pl4/PortEdit.c:178: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( str, " "     );
data/pixmap-2.6pl4/ReqMach.c:71:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define XtStrlen(s)                   ((s) ? strlen(s) : 0)
data/pixmap-2.6pl4/SelFile/Dir.c:109: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).
	maxChars = strlen(dir->dir) - 1;
data/pixmap-2.6pl4/SelFile/Dir.c:140: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(str);
data/pixmap-2.6pl4/SelFile/Dir.c:142:10:  [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.
		(void) strcat(strcpy(result[i].real, str), " ");
data/pixmap-2.6pl4/SelFile/Draw.c:268: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).
		last = strlen(entry->real) - 1;
data/pixmap-2.6pl4/SelFile/Draw.c:289: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).
						len = strlen(shown);
data/pixmap-2.6pl4/SelFile/Draw.c:353: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(entry->shown)
data/pixmap-2.6pl4/SelFile/Draw.c:415: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(dir->dir)
data/pixmap-2.6pl4/SelFile/Draw.c:844:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!strncmp(SFcurrentPath, SFstartDir, strlen(SFstartDir))) {
data/pixmap-2.6pl4/SelFile/Draw.c:845: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).
		pos -= strlen(SFstartDir);
data/pixmap-2.6pl4/SelFile/Path.c:116:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	dir->entries[0].real = XtMalloc((unsigned) (strlen(cannotOpen) + 1));
data/pixmap-2.6pl4/SelFile/Path.c:120: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).
	dir->nChars = strlen(cannotOpen);
data/pixmap-2.6pl4/SelFile/Path.c:176: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(str);
data/pixmap-2.6pl4/SelFile/Path.c:180:10:  [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.
		(void) strncat(SFcurrentPath, str, len - 1);
data/pixmap-2.6pl4/SelFile/Path.c:182:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp(SFcurrentPath, SFstartDir, strlen(SFstartDir))) {
data/pixmap-2.6pl4/SelFile/Path.c:185: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).
		SFsetText(&(SFcurrentPath[strlen(SFstartDir)]));
data/pixmap-2.6pl4/SelFile/Path.c:201: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(str);
data/pixmap-2.6pl4/SelFile/Path.c:206: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).
		str = strcpy(XtMalloc((unsigned) (strlen(str) + 1)), str);
data/pixmap-2.6pl4/SelFile/Path.c:218:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(void) strcpy((growing = XtMalloc((unsigned) (strlen(name) + 1))),
data/pixmap-2.6pl4/SelFile/Path.c:255: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(str);
data/pixmap-2.6pl4/SelFile/Path.c:271: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).
		last = strlen(name) - 1;
data/pixmap-2.6pl4/SelFile/Path.c:290: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).
		last = strlen(name) - 1;
data/pixmap-2.6pl4/SelFile/Path.c:315: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).
			if (str[strlen(str) - 1] == '/') {
data/pixmap-2.6pl4/SelFile/Path.c:401:11:  [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.
			(void) strcpy(entries[0].real, "~");
data/pixmap-2.6pl4/SelFile/Path.c:406: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(pw->pw_dir) + 1));
data/pixmap-2.6pl4/SelFile/Path.c:432:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(pw->pw_name);
data/pixmap-2.6pl4/SelFile/Path.c:434:18:  [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.
			(void) strcat(strcpy(entries[i].real, "~"),
data/pixmap-2.6pl4/SelFile/Path.c:442: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(pw->pw_name) + 1));
data/pixmap-2.6pl4/SelFile/Path.c:445: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(pw->pw_dir) + 1));
data/pixmap-2.6pl4/SelFile/Path.c:474:10:  [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.
		(void) strcat(entries[i].real, "/");
data/pixmap-2.6pl4/SelFile/Path.c:493: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).
			theRest = XtMalloc((unsigned) (strlen(end) + 1));
data/pixmap-2.6pl4/SelFile/Path.c:495:18:  [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.
			(void) strcat(strcat(strcpy(SFcurrentPath,
data/pixmap-2.6pl4/SelFile/Path.c:515: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).
			theRest = XtMalloc((unsigned) (strlen(end) + 1));
data/pixmap-2.6pl4/SelFile/Path.c:517:18:  [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.
			(void) strcat(strcat(strcpy(SFcurrentPath,
data/pixmap-2.6pl4/SelFile/Path.c:547:10:  [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.
		(void) strcpy(dir->dir, "/");
data/pixmap-2.6pl4/SelFile/Path.c:642:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					len = strlen(begin) + 1;
data/pixmap-2.6pl4/SelFile/Path.c:728: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).
	text.length = strlen(path);
data/pixmap-2.6pl4/SelFile/Path.c:732:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	XawTextReplace(selFileField, 0, strlen(SFtextBuffer), &text);
data/pixmap-2.6pl4/SelFile/Path.c:733: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).
	XawTextSetInsertionPoint(selFileField, strlen(SFtextBuffer));
data/pixmap-2.6pl4/SelFile/Path.c:867: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).
		last = strlen(str) - 1;
data/pixmap-2.6pl4/SelFile/SelFile.c:580: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).
	buf = XtMalloc(strlen(failed) + strlen(syserrstring) + 
data/pixmap-2.6pl4/SelFile/SelFile.c:580:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	buf = XtMalloc(strlen(failed) + strlen(syserrstring) + 
data/pixmap-2.6pl4/SelFile/SelFile.c:581: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(prompt) + 2);
data/pixmap-2.6pl4/SelFile/SelFile.c:584: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(buf, "\n");
data/pixmap-2.6pl4/SelFile/SelFile.c:605: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(SFstartDir);
data/pixmap-2.6pl4/SelFile/SelFile.c:619: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).
	return strcpy(XtMalloc((unsigned) (strlen(SFtextBuffer) + 1)),
data/pixmap-2.6pl4/SelFile/SelFile.c:699: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.
	(void) strcat(SFstartDir, "/");
data/pixmap-2.6pl4/SelFile/SelFile.c:708: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(SFstartDir)
data/pixmap-2.6pl4/SelFile/SelFile.c:712: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).
				SFsetText(&(SFcurrentPath[strlen(SFstartDir)]));
data/pixmap-2.6pl4/SelFile/SelFile.c:717: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).
			SFsetText(&(SFcurrentPath[strlen(SFstartDir)]));

ANALYSIS SUMMARY:

Hits = 174
Lines analyzed = 16808 in approximately 1.56 seconds (10749 lines/second)
Physical Source Lines of Code (SLOC) = 12633
Hits@level = [0]  72 [1]  78 [2]  37 [3]   3 [4]  56 [5]   0
Hits@level+ = [0+] 246 [1+] 174 [2+]  96 [3+]  59 [4+]  56 [5+]   0
Hits/KSLOC@level+ = [0+] 19.4728 [1+] 13.7735 [2+] 7.59915 [3+] 4.67031 [4+] 4.43283 [5+]   0
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.