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/gramofile-1.6/boxes.c
Examining data/gramofile-1.6/boxes.h
Examining data/gramofile-1.6/bplaysrc/fmtheaders.h
Examining data/gramofile-1.6/bplaysrc/sndfunc.c
Examining data/gramofile-1.6/bplaysrc/bplay.c
Examining data/gramofile-1.6/bplaysrc/shmbuf.c
Examining data/gramofile-1.6/buttons.c
Examining data/gramofile-1.6/buttons.h
Examining data/gramofile-1.6/checkfile.c
Examining data/gramofile-1.6/checkfile.h
Examining data/gramofile-1.6/clrscr.h
Examining data/gramofile-1.6/dirfilemenu.c
Examining data/gramofile-1.6/dirfilemenu.h
Examining data/gramofile-1.6/errorwindow.h
Examining data/gramofile-1.6/helpline.c
Examining data/gramofile-1.6/helpline.h
Examining data/gramofile-1.6/mainmenu.h
Examining data/gramofile-1.6/playwav.h
Examining data/gramofile-1.6/reclp_filenm.c
Examining data/gramofile-1.6/reclp_filenm.h
Examining data/gramofile-1.6/reclp_main.h
Examining data/gramofile-1.6/scrollmenu.c
Examining data/gramofile-1.6/scrollmenu.h
Examining data/gramofile-1.6/secshms.c
Examining data/gramofile-1.6/secshms.h
Examining data/gramofile-1.6/signpr_cmf.h
Examining data/gramofile-1.6/signpr_filtmenu.c
Examining data/gramofile-1.6/signpr_filtmenu.h
Examining data/gramofile-1.6/signpr_infilenm.c
Examining data/gramofile-1.6/signpr_infilenm.h
Examining data/gramofile-1.6/signpr_main.c
Examining data/gramofile-1.6/signpr_main.h
Examining data/gramofile-1.6/signpr_median.h
Examining data/gramofile-1.6/signpr_outfilenm.c
Examining data/gramofile-1.6/signpr_outfilenm.h
Examining data/gramofile-1.6/signpr_wav.h
Examining data/gramofile-1.6/splashscr.h
Examining data/gramofile-1.6/stringinput.h
Examining data/gramofile-1.6/textwindow.c
Examining data/gramofile-1.6/textwindow.h
Examining data/gramofile-1.6/yesnowindow.h
Examining data/gramofile-1.6/signpr_mean.h
Examining data/gramofile-1.6/signpr_doubmed.h
Examining data/gramofile-1.6/splashscr.c
Examining data/gramofile-1.6/tracksplit.c
Examining data/gramofile-1.6/tracksplit.h
Examining data/gramofile-1.6/gmffileio.c
Examining data/gramofile-1.6/tracksplit_filenm.h
Examining data/gramofile-1.6/tracksplit_filenm.c
Examining data/gramofile-1.6/tracksplit_parammenu.h
Examining data/gramofile-1.6/signpr_cmf2.h
Examining data/gramofile-1.6/signpr_rms.h
Examining data/gramofile-1.6/signpr_copy.c
Examining data/gramofile-1.6/signpr_copy.h
Examining data/gramofile-1.6/signpr_exper.c
Examining data/gramofile-1.6/signpr_exper.h
Examining data/gramofile-1.6/sun_scandir.c
Examining data/gramofile-1.6/signpr_mono.c
Examining data/gramofile-1.6/signpr_mono.h
Examining data/gramofile-1.6/signpr_l1fit.c
Examining data/gramofile-1.6/signpr_l1fit.h
Examining data/gramofile-1.6/clrscr.c
Examining data/gramofile-1.6/errorwindow.c
Examining data/gramofile-1.6/gramofile.c
Examining data/gramofile-1.6/signpr_cmf.c
Examining data/gramofile-1.6/signpr_cmf2.c
Examining data/gramofile-1.6/signpr_doubmed.c
Examining data/gramofile-1.6/signpr_mean.c
Examining data/gramofile-1.6/signpr_median.c
Examining data/gramofile-1.6/signpr_rms.c
Examining data/gramofile-1.6/stringinput.c
Examining data/gramofile-1.6/tracksplit_parammenu.c
Examining data/gramofile-1.6/yesnowindow.c
Examining data/gramofile-1.6/signpr_wav.c
Examining data/gramofile-1.6/signpr_cmf3.c
Examining data/gramofile-1.6/signpr_cmf3.h
Examining data/gramofile-1.6/signpr_general.c
Examining data/gramofile-1.6/signpr_general.h
Examining data/gramofile-1.6/playwav.c
Examining data/gramofile-1.6/reclp_main.c
Examining data/gramofile-1.6/endian.c
Examining data/gramofile-1.6/endian.h
Examining data/gramofile-1.6/fmtheaders.h
Examining data/gramofile-1.6/mainmenu.c

FINAL RESULTS:

data/gramofile-1.6/bplaysrc/bplay.c:464:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(string, "%s: %s", err, strerror(errno));
data/gramofile-1.6/bplaysrc/bplay.c:473:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(string, "%s", err);
data/gramofile-1.6/checkfile.c:61: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 (myfilename, filename);
data/gramofile-1.6/dirfilemenu.c:43: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 (mybasedir, basedir);
data/gramofile-1.6/dirfilemenu.c:61: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 (helpstring, firstslash + 1);
data/gramofile-1.6/dirfilemenu.c:62: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 (mybasedir, helpstring);
data/gramofile-1.6/dirfilemenu.c:77: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 (helpstring, basedir);
data/gramofile-1.6/dirfilemenu.c:78:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	      strcat (helpstring, namelist[j]->d_name);
data/gramofile-1.6/dirfilemenu.c:94: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 (menu->items[i] + indent, namelist[j]->d_name);
data/gramofile-1.6/dirfilemenu.c:119: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 (dirfile, menu->items[i] + i);
data/gramofile-1.6/dirfilemenu.c:131: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 (dirfile, menu->items[i] + i);
data/gramofile-1.6/dirfilemenu.c:133: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 (dirfile, menu->items[menu->selected]
data/gramofile-1.6/playwav.c:52:8:  [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.
	ret = snprintf (tmp, len,
data/gramofile-1.6/playwav.c:57:8:  [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.
	ret = snprintf (tmp, len,
data/gramofile-1.6/playwav.c:81:7:  [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.
      system (shellcmd);
data/gramofile-1.6/playwav.c:226: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 (string.string, startdir);
data/gramofile-1.6/playwav.c:228: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 (string.string, selectedfile);
data/gramofile-1.6/playwav.c:373: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 (string.string, helpstring);
data/gramofile-1.6/playwav.c:412: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 (startdir, helpstring);
data/gramofile-1.6/playwav.c:417: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 (helpstring, charpointer + 1);
data/gramofile-1.6/playwav.c:419: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 (helpstring, string.string);
data/gramofile-1.6/playwav.c:420: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 (string.string, helpstring);
data/gramofile-1.6/playwav.c:526: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 (tempstring, begintimestring.string);
data/gramofile-1.6/playwav.c:559: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 (tempstring, endtimestring.string);
data/gramofile-1.6/playwav.c:591: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 (helpstring, string.string);
data/gramofile-1.6/playwav.c:603: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 (startdir, helpstring);
data/gramofile-1.6/playwav.c:609: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 (string.string, startdir);
data/gramofile-1.6/playwav.c:673: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 (tempstring, begintimestring.string);
data/gramofile-1.6/playwav.c:686: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 (tempstring, endtimestring.string);
data/gramofile-1.6/playwav.c:798:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 -J %ld -T %ld \"%s\"",
data/gramofile-1.6/playwav.c:802:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (shellcmd, "bplay_gramo -S -s 44100 -b 16 \"%s\"", filename);
data/gramofile-1.6/playwav.c:806:7:  [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.
      system (shellcmd);
data/gramofile-1.6/reclp_filenm.c:69: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 (string.string, startdir);
data/gramofile-1.6/reclp_filenm.c:158: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 (string.string, helpstring);
data/gramofile-1.6/reclp_filenm.c:179: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 (startdir, helpstring);
data/gramofile-1.6/reclp_filenm.c:184: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 (helpstring, charpointer + 1);
data/gramofile-1.6/reclp_filenm.c:186: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 (helpstring, string.string);
data/gramofile-1.6/reclp_filenm.c:187: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 (string.string, helpstring);
data/gramofile-1.6/reclp_filenm.c:207: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 (helpstring, string.string);
data/gramofile-1.6/reclp_filenm.c:219: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 (startdir, helpstring);
data/gramofile-1.6/reclp_filenm.c:225: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 (string.string, startdir);
data/gramofile-1.6/reclp_filenm.c:267:8:  [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.
	      system ("xmixer &");
data/gramofile-1.6/reclp_filenm.c:294: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 (selectedfile, string.string);
data/gramofile-1.6/reclp_filenm.c:313: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 (selectedfile, string.string);
data/gramofile-1.6/reclp_main.c:39:9:  [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.
  ret = snprintf (tmp, 500, BRECCMD " -S -s 44100 -b 16 -t 6000 -w \"%s\"",
data/gramofile-1.6/reclp_main.c:54:3:  [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.
  system (shellcmd);
data/gramofile-1.6/secshms.c:36: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 (outstring, helpstring + 1);
data/gramofile-1.6/signpr_filtmenu.c:210: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 (helphelpline, emptyhelpline);
data/gramofile-1.6/signpr_filtmenu.c:429: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 (tempstring, begintimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:462: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 (tempstring, endtimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:540: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 (tempstring, begintimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:553: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 (tempstring, endtimestring.string);
data/gramofile-1.6/signpr_infilenm.c:68: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 (string.string, startdir);
data/gramofile-1.6/signpr_infilenm.c:70: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 (string.string, selectedfile);
data/gramofile-1.6/signpr_infilenm.c:143: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 (string.string, helpstring);
data/gramofile-1.6/signpr_infilenm.c:164: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 (startdir, helpstring);
data/gramofile-1.6/signpr_infilenm.c:169: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 (helpstring, charpointer + 1);
data/gramofile-1.6/signpr_infilenm.c:171: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 (helpstring, string.string);
data/gramofile-1.6/signpr_infilenm.c:172: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 (string.string, helpstring);
data/gramofile-1.6/signpr_infilenm.c:192: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 (helpstring, string.string);
data/gramofile-1.6/signpr_infilenm.c:204: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 (startdir, helpstring);
data/gramofile-1.6/signpr_infilenm.c:210: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 (string.string, startdir);
data/gramofile-1.6/signpr_infilenm.c:254: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 (selectedfile, string.string);
data/gramofile-1.6/signpr_main.c:69: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 (oldinfilename, infilename);
data/gramofile-1.6/signpr_main.c:150: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 (tempstring, filename);
data/gramofile-1.6/signpr_main.c:329: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 (baseoutfilename, outfilename);
data/gramofile-1.6/signpr_main.c:340: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 (outfileextension, charptr);
data/gramofile-1.6/signpr_main.c:399:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (outfilename, "%s%02d%s", baseoutfilename,
data/gramofile-1.6/signpr_outfilenm.c:70: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 (string.string, startdir);
data/gramofile-1.6/signpr_outfilenm.c:74: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 (string.string, selectedfile);
data/gramofile-1.6/signpr_outfilenm.c:160: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 (string.string, helpstring);
data/gramofile-1.6/signpr_outfilenm.c:181: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 (startdir, helpstring);
data/gramofile-1.6/signpr_outfilenm.c:186: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 (helpstring, charpointer + 1);
data/gramofile-1.6/signpr_outfilenm.c:188: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 (helpstring, string.string);
data/gramofile-1.6/signpr_outfilenm.c:189: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 (string.string, helpstring);
data/gramofile-1.6/signpr_outfilenm.c:209: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 (helpstring, string.string);
data/gramofile-1.6/signpr_outfilenm.c:221: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 (startdir, helpstring);
data/gramofile-1.6/signpr_outfilenm.c:227: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 (string.string, startdir);
data/gramofile-1.6/signpr_outfilenm.c:249: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 (selectedfile, string.string);
data/gramofile-1.6/signpr_outfilenm.c:295: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 (selectedfile, string.string);
data/gramofile-1.6/signpr_outfilenm.c:316: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 (selectedfile, string.string);
data/gramofile-1.6/signpr_outfilenm.c:325: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 (selectedfile, string.string);
data/gramofile-1.6/signpr_wav.c:193:23:  [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.
      if ((destfile = popen (filename + 1, "w")) == NULL)
data/gramofile-1.6/stringinput.c:83:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (helpstring, data->string);
data/gramofile-1.6/stringinput.c:84: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 (helpstring + data->cursorpos - 1,
data/gramofile-1.6/stringinput.c:86: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 (data->string, helpstring);
data/gramofile-1.6/stringinput.c:95: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 (helpstring, data->string);
data/gramofile-1.6/stringinput.c:96:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (helpstring + data->cursorpos,
data/gramofile-1.6/stringinput.c:98:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (data->string, helpstring);
data/gramofile-1.6/stringinput.c:106: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 (helpstring, data->string);
data/gramofile-1.6/stringinput.c:107: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 (helpstring + data->cursorpos + 1,
data/gramofile-1.6/stringinput.c:110: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 (data->string, helpstring);
data/gramofile-1.6/textwindow.c:48: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 (helptext, mytext + (lastspace - mytext2 + 1));
data/gramofile-1.6/textwindow.c:50: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 (mytext, helptext);
data/gramofile-1.6/textwindow.c:57: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 (helptext, mytext + w);
data/gramofile-1.6/textwindow.c:58: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 (mytext, helptext);
data/gramofile-1.6/tracksplit.c:554: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 (tempstring, filename);
data/gramofile-1.6/tracksplit.c:702: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 (tempstring, filename);
data/gramofile-1.6/tracksplit.c:834: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 (tempstring, filename);
data/gramofile-1.6/tracksplit.c:896: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 (tempstring, filename);
data/gramofile-1.6/tracksplit.c:910: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 (tempstring, filename);
data/gramofile-1.6/tracksplit_filenm.c:68: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 (string.string, startdir);
data/gramofile-1.6/tracksplit_filenm.c:70: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 (string.string, selectedfile);
data/gramofile-1.6/tracksplit_filenm.c:145: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 (string.string, helpstring);
data/gramofile-1.6/tracksplit_filenm.c:165: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 (startdir, helpstring);
data/gramofile-1.6/tracksplit_filenm.c:170: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 (helpstring, charpointer + 1);
data/gramofile-1.6/tracksplit_filenm.c:172: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 (helpstring, string.string);
data/gramofile-1.6/tracksplit_filenm.c:173: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 (string.string, helpstring);
data/gramofile-1.6/tracksplit_filenm.c:193: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 (helpstring, string.string);
data/gramofile-1.6/tracksplit_filenm.c:205: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 (startdir, helpstring);
data/gramofile-1.6/tracksplit_filenm.c:211: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 (string.string, startdir);
data/gramofile-1.6/tracksplit_filenm.c:255: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 (selectedfile, string.string);
data/gramofile-1.6/bplaysrc/bplay.c:159:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((optc = getopt(argc, argv, "Ss:b:t:T:j:J:rvw")) != -1)
data/gramofile-1.6/bplaysrc/bplay.c:90:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void playraw(int thefd, char hd_buf[20], int speed, int bits, int stereo);
data/gramofile-1.6/bplaysrc/bplay.c:91:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void playwav(int thefd, char hd_buf[20], int mods, int speed, int bits,
data/gramofile-1.6/bplaysrc/bplay.c:95:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void playvoc(int thefd, char hd_buf[20]);
data/gramofile-1.6/bplaysrc/bplay.c:105:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 void diskread(int outfd, long bcount, long skipped, char hd_buf[20], 
data/gramofile-1.6/bplaysrc/bplay.c:164:12:  [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).
			speed = atoi(optarg);
data/gramofile-1.6/bplaysrc/bplay.c:170:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			bits = atoi(optarg);
data/gramofile-1.6/bplaysrc/bplay.c:180:14:  [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).
			timelim = atol(optarg);
data/gramofile-1.6/bplaysrc/bplay.c:183:14:  [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).
			samplim = atol(optarg);
data/gramofile-1.6/bplaysrc/bplay.c:186:14:  [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).
			timejmp = atol(optarg);
data/gramofile-1.6/bplaysrc/bplay.c:189:14:  [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).
			sampjmp = atol(optarg);
data/gramofile-1.6/bplaysrc/bplay.c:242:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((thefd = open(argv[optind], O_CREAT | O_TRUNC | O_WRONLY,
data/gramofile-1.6/bplaysrc/bplay.c:247:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((thefd = open(argv[optind], O_RDONLY)) == -1)
data/gramofile-1.6/bplaysrc/bplay.c:313:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(&(header.main_chunk), riff, 4);
data/gramofile-1.6/bplaysrc/bplay.c:316:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(&(header.chunk_type), wave, 4);
data/gramofile-1.6/bplaysrc/bplay.c:318:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(&(header.sub_chunk), fmt, 4);
data/gramofile-1.6/bplaysrc/bplay.c:332:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(&(header.data_chunk), data, 4);
data/gramofile-1.6/bplaysrc/bplay.c:413: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 hd_buf[20];	/* Holds first 20 bytes */
data/gramofile-1.6/bplaysrc/bplay.c:463: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 string[500];
data/gramofile-1.6/bplaysrc/bplay.c:472: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 string[500];
data/gramofile-1.6/bplaysrc/bplay.c:507:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void playraw(int thefd, char hd_buf[20], int speed, int bits, int stereo)
data/gramofile-1.6/bplaysrc/bplay.c:514:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void playwav(int thefd, char hd_buf[20], int mods, int speed, int bits,
data/gramofile-1.6/bplaysrc/bplay.c:521:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((void*)&wavhd, (void*)hd_buf, 20);
data/gramofile-1.6/bplaysrc/bplay.c:562:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void playvoc(int thefd, char hd_buf[20])
data/gramofile-1.6/bplaysrc/bplay.c:574:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((void*)&vochd, (void*)hd_buf, 20);
data/gramofile-1.6/bplaysrc/bplay.c:701: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 junkbuf[BUFSIZ];
data/gramofile-1.6/bplaysrc/shmbuf.c:236: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 timestring[100];
data/gramofile-1.6/bplaysrc/shmbuf.c:486:55:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void diskread(int infd, long totalplay, long skipped, char hd_buf[20], 
data/gramofile-1.6/bplaysrc/shmbuf.c:498: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 tempstring[50];
data/gramofile-1.6/bplaysrc/shmbuf.c:533:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tmppt, hd_buf, 20);
data/gramofile-1.6/bplaysrc/sndfunc.c:41:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    audio = open(AUDIO, (recorder)? O_RDONLY : O_WRONLY);
data/gramofile-1.6/checkfile.c:40: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 myfilename[250];
data/gramofile-1.6/dirfilemenu.c:24: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 mybasedir[250];
data/gramofile-1.6/dirfilemenu.c:25: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 helpstring[250];
data/gramofile-1.6/dirfilemenu.c:87: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 *) malloc (
data/gramofile-1.6/gmffileio.c:40:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  gmffile = fopen (filename, "r");
data/gramofile-1.6/gramofile.c:48: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 startdir[250];
data/gramofile-1.6/mainmenu.c:193: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 *menu_options[MAINMENU_OPTIONS] =
data/gramofile-1.6/mainmenu.c:202: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 *menu_helptext[MAINMENU_OPTIONS]
data/gramofile-1.6/playwav.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char shellcmd[500], *tmp;
data/gramofile-1.6/playwav.c:122: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 helpstring[200];
data/gramofile-1.6/playwav.c:129:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (helpstring, "There are only %d tracks.", number_of_tracks);
data/gramofile-1.6/playwav.c:193: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 helpstring[500];
data/gramofile-1.6/playwav.c:199: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 tempstring[250];
data/gramofile-1.6/playwav.c:204: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 *helplines[8] =
data/gramofile-1.6/playwav.c:441:15:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  templong = atol (trackstring.string);
data/gramofile-1.6/playwav.c:474:8:  [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 (trackstring.string, "%ld", templong);
data/gramofile-1.6/playwav.c:483:8:  [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 (trackstring.string, "%ld", templong);
data/gramofile-1.6/playwav.c:780: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[250];
data/gramofile-1.6/reclp_filenm.c:46: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 helpstring[500];
data/gramofile-1.6/reclp_filenm.c:51: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 *helplines[5] =
data/gramofile-1.6/reclp_filenm.c:73: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 (string.string, "new.wav");
data/gramofile-1.6/reclp_main.c:26: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[250];
data/gramofile-1.6/reclp_main.c:27: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 shellcmd[500], *tmp;
data/gramofile-1.6/secshms.c:18:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (outstring, "%ld:%02ld:%02ld", seconds / 3600,
data/gramofile-1.6/secshms.c:29: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 helpstring[250];
data/gramofile-1.6/secshms.c:35:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (helpstring, "%.3f", floatpart);
data/gramofile-1.6/signpr_cmf.c:88: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 *helplines[8] =
data/gramofile-1.6/signpr_cmf.c:102:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (medlengthstr.string, "%ld", parampointer->prelength1 +
data/gramofile-1.6/signpr_cmf.c:113:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (rmslengthstr.string, "%ld", parampointer->prelength2 +
data/gramofile-1.6/signpr_cmf.c:124:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (rmflengthstr.string, "%ld", parampointer->prelength3 +
data/gramofile-1.6/signpr_cmf.c:135:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (decimatestr.string, "%d", parampointer->int1);
data/gramofile-1.6/signpr_cmf.c:145:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (thresholdstr.string, "%ld", parampointer->long1);
data/gramofile-1.6/signpr_cmf2.c:92: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 *helplines[8] =
data/gramofile-1.6/signpr_cmf2.c:106:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (rmslengthstr.string, "%ld", parampointer->prelength2 +
data/gramofile-1.6/signpr_cmf2.c:117:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (rmflengthstr.string, "%ld", parampointer->prelength3 +
data/gramofile-1.6/signpr_cmf2.c:128:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (decimatestr.string, "%d", parampointer->int1);
data/gramofile-1.6/signpr_cmf2.c:138:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (threshold1str.string, "%ld", parampointer->long1);
data/gramofile-1.6/signpr_cmf2.c:148:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (threshold2str.string, "%ld", parampointer->long2);
data/gramofile-1.6/signpr_cmf3.c:103: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 *helplines[9] =
data/gramofile-1.6/signpr_cmf3.c:118:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (rmslengthstr.string, "%ld", parampointer->prelength2 +
data/gramofile-1.6/signpr_cmf3.c:129:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (rmflengthstr.string, "%ld", parampointer->prelength3 +
data/gramofile-1.6/signpr_cmf3.c:140:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (decimatestr.string, "%d", parampointer->int1);
data/gramofile-1.6/signpr_cmf3.c:150:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (threshold1str.string, "%ld", parampointer->long1);
data/gramofile-1.6/signpr_cmf3.c:160:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (threshold2str.string, "%ld", parampointer->long2);
data/gramofile-1.6/signpr_cmf3.c:170:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (fftstr.string, "%d", parampointer->int2);
data/gramofile-1.6/signpr_cmf3.c:623: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).
  debugf = fopen("./gram.txt","w");
data/gramofile-1.6/signpr_doubmed.c:49: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 *helplines[4] =
data/gramofile-1.6/signpr_doubmed.c:59:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (medlength1str.string, "%ld", parampointer->prelength1 +
data/gramofile-1.6/signpr_doubmed.c:70:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (medlength2str.string, "%ld", parampointer->prelength2 +
data/gramofile-1.6/signpr_filtmenu.c:46: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 tempstring[250];
data/gramofile-1.6/signpr_filtmenu.c:52: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 helphelpline[100];
data/gramofile-1.6/signpr_filtmenu.c:54: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 *helplines[9] =
data/gramofile-1.6/signpr_infilenm.c:45: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 helpstring[500];
data/gramofile-1.6/signpr_infilenm.c:50: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 *helplines[4] =
data/gramofile-1.6/signpr_main.c:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char oldinfilename[250];
data/gramofile-1.6/signpr_main.c:143: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 tempstring[250];
data/gramofile-1.6/signpr_main.c:144: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 tempstring2[250];
data/gramofile-1.6/signpr_main.c:151: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 (tempstring, ".tracks");
data/gramofile-1.6/signpr_main.c:153: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).
  tracksfile = fopen (tempstring, "r");
data/gramofile-1.6/signpr_main.c:189: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).
  *number_of_tracks = atoi (tempstring + strlen (NUM_OF_TRACKS_TEXT));
data/gramofile-1.6/signpr_main.c:202:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (tempstring2, "Track%02dstart=", i);	/* Start time */
data/gramofile-1.6/signpr_main.c:231:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (tempstring2, "Track%02dend=", i);	/* End time */
data/gramofile-1.6/signpr_main.c:269: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 infilename[250];
data/gramofile-1.6/signpr_main.c:270: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 outfilename[250];
data/gramofile-1.6/signpr_main.c:271: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 baseoutfilename[250];
data/gramofile-1.6/signpr_main.c:272: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 outfileextension[250];
data/gramofile-1.6/signpr_main.c:279: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 *filtlist_items[MAX_FILTERS + 10];
data/gramofile-1.6/signpr_main.c:281: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 *helptexts[MAX_FILTERS + 10];
data/gramofile-1.6/signpr_main.c:283: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 *selectedfilts_items[MAX_FILTERS];
data/gramofile-1.6/signpr_main.c:330: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 (outfileextension, ".wav");
data/gramofile-1.6/signpr_mean.c:47: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 *helplines[3] =
data/gramofile-1.6/signpr_mean.c:56:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (meanlengthstr.string, "%ld", parampointer->prelength1 +
data/gramofile-1.6/signpr_median.c:47: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 *helplines[3] =
data/gramofile-1.6/signpr_median.c:56:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (medlengthstr.string, "%ld", parampointer->prelength1 +
data/gramofile-1.6/signpr_outfilenm.c:45: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 helpstring[500];
data/gramofile-1.6/signpr_outfilenm.c:50: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 *helplines[5] =
data/gramofile-1.6/signpr_outfilenm.c:71:7:  [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 (string.string, "processed.wav");
data/gramofile-1.6/signpr_rms.c:48: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 *helplines[3] =
data/gramofile-1.6/signpr_rms.c:57:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (rmslengthstr.string, "%ld", parampointer->prelength1 +
data/gramofile-1.6/signpr_wav.c:35: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 hd_buf[20];
data/gramofile-1.6/signpr_wav.c:38: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 ((sourcefile = fopen (filename, "rb")) == NULL)
data/gramofile-1.6/signpr_wav.c:60:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy ((void *) &wavhd, (void *) hd_buf, 20);
data/gramofile-1.6/signpr_wav.c:199:23:  [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 ((destfile = fopen (filename, "wb")) == NULL)
data/gramofile-1.6/signpr_wav.c:204: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 (&(header.main_chunk), riff, 4);
data/gramofile-1.6/signpr_wav.c:206: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 (&(header.chunk_type), wave, 4);
data/gramofile-1.6/signpr_wav.c:208: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 (&(header.sub_chunk), fmt, 4);
data/gramofile-1.6/signpr_wav.c:217: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 (&(header.data_chunk), data, 4);
data/gramofile-1.6/stringinput.c:57: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 helpstring[500];
data/gramofile-1.6/sun_scandir.c:52:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy ((*namelist)[i], entry, entrysize);
data/gramofile-1.6/textwindow.c:27: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 mytext[DISPLAYMENU_MAXTEXTLEN];
data/gramofile-1.6/textwindow.c:28: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 mytext2[DISPLAYMENU_MAXTEXTLEN];
data/gramofile-1.6/textwindow.c:29: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 helptext[DISPLAYMENU_MAXTEXTLEN];
data/gramofile-1.6/tracksplit.c:489: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[250];
data/gramofile-1.6/tracksplit.c:526: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 tempstring[250];
data/gramofile-1.6/tracksplit.c:555:7:  [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 (tempstring, ".rms");
data/gramofile-1.6/tracksplit.c:556:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      tempfile = fopen (tempstring, "r");
data/gramofile-1.6/tracksplit.c:703: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 (tempstring, ".rms");
data/gramofile-1.6/tracksplit.c:704: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).
	  tempfile = fopen (tempstring, "w");
data/gramofile-1.6/tracksplit.c:835: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 (tempstring, ".tracks");
data/gramofile-1.6/tracksplit.c:836: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).
  tempfile = fopen (tempstring, "w");
data/gramofile-1.6/tracksplit.c:897:7:  [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 (tempstring, ".med");
data/gramofile-1.6/tracksplit.c:898:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      tempfile2 = fopen (tempstring, "w");
data/gramofile-1.6/tracksplit.c:911:7:  [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 (tempstring, ".sor");
data/gramofile-1.6/tracksplit.c:912:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      tempfile2 = fopen (tempstring, "w");
data/gramofile-1.6/tracksplit.c:927:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (tempstring, "%d tracks have been detected. More information \
data/gramofile-1.6/tracksplit_filenm.c:45: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 helpstring[500];
data/gramofile-1.6/tracksplit_filenm.c:50: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 *helplines[4] =
data/gramofile-1.6/tracksplit_parammenu.c:46: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 *helplines[12] =
data/gramofile-1.6/tracksplit_parammenu.c:74:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (blocklen_string.string, "%ld", *blocklen);
data/gramofile-1.6/tracksplit_parammenu.c:85:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (global_silence_factor_string.string, "%d",
data/gramofile-1.6/tracksplit_parammenu.c:97:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (local_silence_threshold_string.string, "%d",
data/gramofile-1.6/tracksplit_parammenu.c:109:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (min_silence_blocks_string.string, "%d",
data/gramofile-1.6/tracksplit_parammenu.c:121:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (min_track_blocks_string.string, "%d",
data/gramofile-1.6/tracksplit_parammenu.c:133:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (extra_blocks_start_string.string, "%d",
data/gramofile-1.6/tracksplit_parammenu.c:145:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (extra_blocks_end_string.string, "%d",
data/gramofile-1.6/tracksplit_parammenu.c:341:19:  [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).
	      templong = atol (blocklen_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:352: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 (blocklen_string.string,
data/gramofile-1.6/tracksplit_parammenu.c:376:19:  [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).
	      templong = atol (
data/gramofile-1.6/tracksplit_parammenu.c:389: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 (global_silence_factor_string.string,
data/gramofile-1.6/tracksplit_parammenu.c:413:19:  [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).
	      templong = atol (
data/gramofile-1.6/tracksplit_parammenu.c:426: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 (local_silence_threshold_string.string,
data/gramofile-1.6/tracksplit_parammenu.c:451:19:  [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).
	      templong = atol (
data/gramofile-1.6/tracksplit_parammenu.c:464: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 (min_silence_blocks_string.string,
data/gramofile-1.6/tracksplit_parammenu.c:489:19:  [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).
	      templong = atol (
data/gramofile-1.6/tracksplit_parammenu.c:502: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 (min_track_blocks_string.string,
data/gramofile-1.6/tracksplit_parammenu.c:527:19:  [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).
	      templong = atol (
data/gramofile-1.6/tracksplit_parammenu.c:540: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 (extra_blocks_start_string.string,
data/gramofile-1.6/tracksplit_parammenu.c:565:19:  [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).
	      templong = atol (
data/gramofile-1.6/tracksplit_parammenu.c:578: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 (extra_blocks_end_string.string,
data/gramofile-1.6/tracksplit_parammenu.c:639:19:  [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).
	      templong = atol (blocklen_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:651:19:  [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).
	      templong = atol (global_silence_factor_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:663:19:  [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).
	      templong = atol (local_silence_threshold_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:675:19:  [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).
	      templong = atol (min_silence_blocks_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:687:19:  [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).
	      templong = atol (min_track_blocks_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:699:19:  [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).
	      templong = atol (extra_blocks_start_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:711:19:  [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).
	      templong = atol (extra_blocks_end_string.string);
data/gramofile-1.6/bplaysrc/bplay.c:240:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		themask = umask(0);
data/gramofile-1.6/bplaysrc/bplay.c:241:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		umask(themask);
data/gramofile-1.6/bplaysrc/bplay.c:415:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		count = read(thefd, hd_buf, 20);
data/gramofile-1.6/bplaysrc/bplay.c:522:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count = read(thefd, ((char*)&wavhd)+20, sizeof(wavhd) - 20);
data/gramofile-1.6/bplaysrc/bplay.c:575:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count = read(thefd, ((char*)&vochd)+20, sizeof(vochd) - 20);
data/gramofile-1.6/bplaysrc/bplay.c:591:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(thefd, junk, off);
data/gramofile-1.6/bplaysrc/bplay.c:595:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((read(thefd, (char*)&ccblock, sizeof(ccblock))) == -1)
data/gramofile-1.6/bplaysrc/bplay.c:612:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(thefd, (char*)&tblock, sizeof(tblock));
data/gramofile-1.6/bplaysrc/bplay.c:628:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(thefd, (char*)&tblock, sizeof(tblock));
data/gramofile-1.6/bplaysrc/bplay.c:643:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(thefd, (char*)&tblock, sizeof(tblock));
data/gramofile-1.6/bplaysrc/bplay.c:667:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read(thefd, (char*)&loop_times, 2);
data/gramofile-1.6/bplaysrc/bplay.c:709:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    count = read(thefd, junkbuf, trgt);
data/gramofile-1.6/bplaysrc/shmbuf.c:399: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).
               3, strlen (ok_button.text) + 2);
data/gramofile-1.6/bplaysrc/shmbuf.c:437:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		((count = read(audio, tmpptr, trgt - numrd)) > 0) &&
data/gramofile-1.6/bplaysrc/shmbuf.c:539:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    ((count = read(infd, tmppt, trgt - numread)) != 0) )
data/gramofile-1.6/checkfile.c:29: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 (path) - 1;
data/gramofile-1.6/checkfile.c:52: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 (filename, "/");
data/gramofile-1.6/checkfile.c:67:2:  [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 (myfilename, ".");
data/gramofile-1.6/clrscr.c:25: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).
  mvaddstr (0, (80 - strlen (headertext) + 1) / 2,
data/gramofile-1.6/dirfilemenu.c:57:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy (menu->items[i] + indent, mybasedir,
data/gramofile-1.6/dirfilemenu.c:68: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).
      while (strlen (mybasedir) > 0);
data/gramofile-1.6/dirfilemenu.c:88: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 (namelist[j]->d_name) + 1 + indent + isadir)
data/gramofile-1.6/dirfilemenu.c:97: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 (menu->items[i], "/");
data/gramofile-1.6/dirfilemenu.c:137: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 (menu->items[menu->selected]) - 1] == '/')
data/gramofile-1.6/errorwindow.c:31: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).
    - 1 - strlen (ok_button.text);
data/gramofile-1.6/gmffileio.c:65:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      i = fgetc (gmffile);
data/gramofile-1.6/gmffileio.c:81:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    (*line)[i] = fgetc (gmffile);
data/gramofile-1.6/gramofile.c:59: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 (startdir, "/");
data/gramofile-1.6/gramofile.c:61: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 (startdir, "/");
data/gramofile-1.6/mainmenu.c:107: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 (options[i])
data/gramofile-1.6/mainmenu.c:116:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		    usleep (100000);
data/gramofile-1.6/mainmenu.c:161:8:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	      usleep (100000);
data/gramofile-1.6/playwav.c:232: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).
  string.cursorpos = strlen (string.string);
data/gramofile-1.6/playwav.c:233: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).
  string.firstcharonscreen = strlen (string.string) - string.w + 2;
data/gramofile-1.6/playwav.c:250: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 (trackstring.string, "1");
data/gramofile-1.6/playwav.c:254: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).
  trackstring.cursorpos = strlen (trackstring.string);
data/gramofile-1.6/playwav.c:264: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).
  begintimestring.cursorpos = strlen (begintimestring.string);
data/gramofile-1.6/playwav.c:274: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).
  endtimestring.cursorpos = strlen (endtimestring.string);
data/gramofile-1.6/playwav.c:339: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/playwav.c:342: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/playwav.c:375: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/playwav.c:389: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 (begintimestring.string);
data/gramofile-1.6/playwav.c:393: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).
		      endtimestring.cursorpos = strlen (endtimestring.string);
data/gramofile-1.6/playwav.c:475: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).
	      trackstring.cursorpos = strlen (trackstring.string);
data/gramofile-1.6/playwav.c:484: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).
	      trackstring.cursorpos = strlen (trackstring.string);
data/gramofile-1.6/playwav.c:532: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 (begintimestring.string);
data/gramofile-1.6/playwav.c:539: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 (begintimestring.string);
data/gramofile-1.6/playwav.c:565: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 (endtimestring.string);
data/gramofile-1.6/playwav.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 (endtimestring.string);
data/gramofile-1.6/playwav.c:594: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).
	      while (strlen (helpstring) > 0 &&
data/gramofile-1.6/playwav.c:595: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).
		     helpstring[strlen (helpstring) - 1] == '/')
data/gramofile-1.6/playwav.c:596: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).
		helpstring[strlen (helpstring) - 1] = '\0';
data/gramofile-1.6/playwav.c:598: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 (helpstring, "/");
data/gramofile-1.6/playwav.c:610: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/playwav.c:629: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 (begintimestring.string);
data/gramofile-1.6/playwav.c:633: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).
		      endtimestring.cursorpos = strlen (endtimestring.string);
data/gramofile-1.6/playwav.c:679: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 (begintimestring.string);
data/gramofile-1.6/playwav.c:692: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 (endtimestring.string);
data/gramofile-1.6/playwav.c:704: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 (begintimestring.string);
data/gramofile-1.6/playwav.c:707: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 (endtimestring.string);
data/gramofile-1.6/playwav.c:726: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/playwav.c:733: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/reclp_filenm.c:74: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).
  string.cursorpos = strlen (string.string);
data/gramofile-1.6/reclp_filenm.c:75: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).
  string.firstcharonscreen = strlen (string.string) - string.w + 2;
data/gramofile-1.6/reclp_filenm.c:129: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/reclp_filenm.c:132: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).
	     3, strlen (mixer_button.text) + 2);
data/gramofile-1.6/reclp_filenm.c:135: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/reclp_filenm.c:160:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/reclp_filenm.c:210: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).
	      while (strlen (helpstring) > 0 &&
data/gramofile-1.6/reclp_filenm.c:211: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).
		     helpstring[strlen (helpstring) - 1] == '/')
data/gramofile-1.6/reclp_filenm.c:212: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).
		helpstring[strlen (helpstring) - 1] = '\0';
data/gramofile-1.6/reclp_filenm.c:214: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 (helpstring, "/");
data/gramofile-1.6/reclp_filenm.c:226: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/reclp_filenm.c:300: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).
		    string.cursorpos = strlen (string.string);
data/gramofile-1.6/reclp_filenm.c:308: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).
		string.cursorpos = strlen (string.string);
data/gramofile-1.6/reclp_filenm.c:321: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).
		string.cursorpos = strlen (string.string);
data/gramofile-1.6/secshms.c:46: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 (instring))
data/gramofile-1.6/signpr_cmf.c:107: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).
  medlengthstr.cursorpos = strlen (medlengthstr.string);
data/gramofile-1.6/signpr_cmf.c:118: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).
  rmslengthstr.cursorpos = strlen (rmslengthstr.string);
data/gramofile-1.6/signpr_cmf.c:129: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).
  rmflengthstr.cursorpos = strlen (rmflengthstr.string);
data/gramofile-1.6/signpr_cmf.c:139: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).
  decimatestr.cursorpos = strlen (decimatestr.string);
data/gramofile-1.6/signpr_cmf.c:149: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).
  thresholdstr.cursorpos = strlen (thresholdstr.string);
data/gramofile-1.6/signpr_cmf.c:213: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_cmf.c:216: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).
	     3, strlen (defaults_button.text) + 2);
data/gramofile-1.6/signpr_cmf.c:219: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/signpr_cmf.c:420: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 (medlengthstr.string);
data/gramofile-1.6/signpr_cmf.c:434: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 (rmslengthstr.string);
data/gramofile-1.6/signpr_cmf.c:448: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 (rmflengthstr.string);
data/gramofile-1.6/signpr_cmf.c:462: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 (decimatestr.string);
data/gramofile-1.6/signpr_cmf.c:475: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 (thresholdstr.string);
data/gramofile-1.6/signpr_cmf2.c:111: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).
  rmslengthstr.cursorpos = strlen (rmslengthstr.string);
data/gramofile-1.6/signpr_cmf2.c:122: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).
  rmflengthstr.cursorpos = strlen (rmflengthstr.string);
data/gramofile-1.6/signpr_cmf2.c:132: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).
  decimatestr.cursorpos = strlen (decimatestr.string);
data/gramofile-1.6/signpr_cmf2.c:142: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).
  threshold1str.cursorpos = strlen (threshold1str.string);
data/gramofile-1.6/signpr_cmf2.c:152: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).
  threshold2str.cursorpos = strlen (threshold2str.string);
data/gramofile-1.6/signpr_cmf2.c:216: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_cmf2.c:219: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).
	     3, strlen (defaults_button.text) + 2);
data/gramofile-1.6/signpr_cmf2.c:222: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/signpr_cmf2.c:421: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 (rmslengthstr.string);
data/gramofile-1.6/signpr_cmf2.c:435:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strlen (rmflengthstr.string);
data/gramofile-1.6/signpr_cmf2.c:449: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 (decimatestr.string);
data/gramofile-1.6/signpr_cmf2.c:462: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 (threshold1str.string);
data/gramofile-1.6/signpr_cmf2.c:475: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 (threshold2str.string);
data/gramofile-1.6/signpr_cmf3.c:123: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).
  rmslengthstr.cursorpos = strlen (rmslengthstr.string);
data/gramofile-1.6/signpr_cmf3.c:134: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).
  rmflengthstr.cursorpos = strlen (rmflengthstr.string);
data/gramofile-1.6/signpr_cmf3.c:144: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).
  decimatestr.cursorpos = strlen (decimatestr.string);
data/gramofile-1.6/signpr_cmf3.c:154: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).
  threshold1str.cursorpos = strlen (threshold1str.string);
data/gramofile-1.6/signpr_cmf3.c:164: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).
  threshold2str.cursorpos = strlen (threshold2str.string);
data/gramofile-1.6/signpr_cmf3.c:174: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).
  fftstr.cursorpos = strlen (fftstr.string);
data/gramofile-1.6/signpr_cmf3.c:243: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_cmf3.c:246: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).
	     3, strlen (defaults_button.text) + 2);
data/gramofile-1.6/signpr_cmf3.c:249: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/signpr_cmf3.c:473: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 (rmslengthstr.string);
data/gramofile-1.6/signpr_cmf3.c:487: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 (rmflengthstr.string);
data/gramofile-1.6/signpr_cmf3.c:501: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 (decimatestr.string);
data/gramofile-1.6/signpr_cmf3.c:514: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 (threshold1str.string);
data/gramofile-1.6/signpr_cmf3.c:527: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 (threshold2str.string);
data/gramofile-1.6/signpr_cmf3.c:538: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).
		fftstr.cursorpos = strlen(fftstr.string);
data/gramofile-1.6/signpr_doubmed.c:64: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).
  medlength1str.cursorpos = strlen (medlength1str.string);
data/gramofile-1.6/signpr_doubmed.c:75: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).
  medlength2str.cursorpos = strlen (medlength2str.string);
data/gramofile-1.6/signpr_doubmed.c:117: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_doubmed.c:120: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/signpr_doubmed.c:219: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 (medlength1str.string);
data/gramofile-1.6/signpr_doubmed.c:233: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 (medlength2str.string);
data/gramofile-1.6/signpr_filtmenu.c:93: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).
  begintimestring.cursorpos = strlen (begintimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:103: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).
  endtimestring.cursorpos = strlen (endtimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:197: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).
	     3, strlen (prev_button.text) + 2);
data/gramofile-1.6/signpr_filtmenu.c:200: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_filtmenu.c:203: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).
	     3, strlen (next_button.text) + 2);
data/gramofile-1.6/signpr_filtmenu.c:213: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).
	  while (i < strlen (helptexts[filtlist->selected])
data/gramofile-1.6/signpr_filtmenu.c:435:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strlen (begintimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:442: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 (begintimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:468: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 (endtimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:475: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 (endtimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:546: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 (begintimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:559: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 (endtimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:571: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 (begintimestring.string);
data/gramofile-1.6/signpr_filtmenu.c:574: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 (endtimestring.string);
data/gramofile-1.6/signpr_infilenm.c:74: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).
  string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_infilenm.c:75: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).
  string.firstcharonscreen = strlen (string.string) - string.w + 2;
data/gramofile-1.6/signpr_infilenm.c:117: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_infilenm.c:120: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).
	     3, strlen (next_button.text) + 2);
data/gramofile-1.6/signpr_infilenm.c:145: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_infilenm.c:195: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).
	      while (strlen (helpstring) > 0 &&
data/gramofile-1.6/signpr_infilenm.c:196: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).
		     helpstring[strlen (helpstring) - 1] == '/')
data/gramofile-1.6/signpr_infilenm.c:197: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).
		helpstring[strlen (helpstring) - 1] = '\0';
data/gramofile-1.6/signpr_infilenm.c:199: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 (helpstring, "/");
data/gramofile-1.6/signpr_infilenm.c:211: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_infilenm.c:263: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).
		string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_infilenm.c:271: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).
		string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_main.c:160: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).
	 strncasecmp (tempstring, TRACKS_TEXT, strlen (TRACKS_TEXT)))
data/gramofile-1.6/signpr_main.c:176: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).
			   NUM_OF_TRACKS_TEXT, strlen (NUM_OF_TRACKS_TEXT)))
data/gramofile-1.6/signpr_main.c:180: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 (NUM_OF_TRACKS_TEXT)))
data/gramofile-1.6/signpr_main.c:189: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).
  *number_of_tracks = atoi (tempstring + strlen (NUM_OF_TRACKS_TEXT));
data/gramofile-1.6/signpr_main.c:207: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).
					 tempstring2, strlen (tempstring2)))
data/gramofile-1.6/signpr_main.c:210:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncasecmp (tempstring, tempstring2, strlen (tempstring2)))
data/gramofile-1.6/signpr_main.c:219: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).
      tempstring[strlen (tempstring) - 1] = '\0';	/* Del \n */
data/gramofile-1.6/signpr_main.c:220: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 (!hmsf2fsec (tempstring + strlen (tempstring2), &seconds))
data/gramofile-1.6/signpr_main.c:236: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).
					 tempstring2, strlen (tempstring2)))
data/gramofile-1.6/signpr_main.c:239:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strncasecmp (tempstring, tempstring2, strlen (tempstring2)))
data/gramofile-1.6/signpr_main.c:248: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).
      tempstring[strlen (tempstring) - 1] = '\0';	/* Del \n */
data/gramofile-1.6/signpr_main.c:249: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 (!hmsf2fsec (tempstring + strlen (tempstring2), &seconds))
data/gramofile-1.6/signpr_mean.c:61: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).
  meanlengthstr.cursorpos = strlen (meanlengthstr.string);
data/gramofile-1.6/signpr_mean.c:99: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_mean.c:102: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/signpr_mean.c:169: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 (meanlengthstr.string);
data/gramofile-1.6/signpr_median.c:61: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).
  medlengthstr.cursorpos = strlen (medlengthstr.string);
data/gramofile-1.6/signpr_median.c:62: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).
  medlengthstr.firstcharonscreen = strlen (medlengthstr.string) -
data/gramofile-1.6/signpr_median.c:102: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_median.c:105: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/signpr_median.c:172: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 (medlengthstr.string);
data/gramofile-1.6/signpr_outfilenm.c:78: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).
  string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_outfilenm.c:79: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).
  string.firstcharonscreen = strlen (string.string) - string.w + 2;
data/gramofile-1.6/signpr_outfilenm.c:131: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).
	     3, strlen (prev_button.text) + 2);
data/gramofile-1.6/signpr_outfilenm.c:134: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_outfilenm.c:137: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).
	     3, strlen (next_button.text) + 2);
data/gramofile-1.6/signpr_outfilenm.c:162: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_outfilenm.c:212: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).
	      while (strlen (helpstring) > 0 &&
data/gramofile-1.6/signpr_outfilenm.c:213: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).
		     helpstring[strlen (helpstring) - 1] == '/')
data/gramofile-1.6/signpr_outfilenm.c:214: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).
		helpstring[strlen (helpstring) - 1] = '\0';
data/gramofile-1.6/signpr_outfilenm.c:216: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 (helpstring, "/");
data/gramofile-1.6/signpr_outfilenm.c:228: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_outfilenm.c:301: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).
		    string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_outfilenm.c:311: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).
		string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_outfilenm.c:334: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).
		    string.cursorpos = strlen (string.string);
data/gramofile-1.6/signpr_rms.c:62: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).
  rmslengthstr.cursorpos = strlen (rmslengthstr.string);
data/gramofile-1.6/signpr_rms.c:100: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/signpr_rms.c:103: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).
	     3, strlen (ok_button.text) + 2);
data/gramofile-1.6/signpr_rms.c:170: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 (rmslengthstr.string);
data/gramofile-1.6/splashscr.c:54:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep (500000);
data/gramofile-1.6/stringinput.c:26: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 (data->cursorpos > strlen (data->string))
data/gramofile-1.6/stringinput.c:27: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).
    data->cursorpos = strlen (data->string);
data/gramofile-1.6/stringinput.c:39: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).
  while (i < strlen (data->string) && i < data->firstcharonscreen + data->w)
data/gramofile-1.6/stringinput.c:74: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).
      data->cursorpos = strlen (data->string);
data/gramofile-1.6/stringinput.c:93: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 (data->cursorpos < strlen (data->string))
data/gramofile-1.6/stringinput.c:116: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 (data->cursorpos > strlen (data->string))
data/gramofile-1.6/stringinput.c:117: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).
    data->cursorpos = strlen (data->string);
data/gramofile-1.6/sun_scandir.c:47:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  entrysize = sizeof (struct dirent) - sizeof (entry->d_name) + strlen (entry->d_na
data/gramofile-1.6/textwindow.c:34:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (mytext, text, DISPLAYMENU_MAXTEXTLEN);
data/gramofile-1.6/textwindow.c:38:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (mytext2, mytext, w + 1);
data/gramofile-1.6/textwindow.c:41: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 (mytext2) > w)
data/gramofile-1.6/textwindow.c:66: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).
      for (i = strlen (mytext2) + 1; i <= w; i++)
data/gramofile-1.6/tracksplit_filenm.c:74: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).
  string.cursorpos = strlen (string.string);
data/gramofile-1.6/tracksplit_filenm.c:75: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).
  string.firstcharonscreen = strlen (string.string) - string.w + 2;
data/gramofile-1.6/tracksplit_filenm.c:119: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/tracksplit_filenm.c:122: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).
	     3, strlen (next_button.text) + 2);
data/gramofile-1.6/tracksplit_filenm.c:147: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/tracksplit_filenm.c:196: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).
	      while (strlen (helpstring) > 0 &&
data/gramofile-1.6/tracksplit_filenm.c:197: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).
		     helpstring[strlen (helpstring) - 1] == '/')
data/gramofile-1.6/tracksplit_filenm.c:198: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).
		helpstring[strlen (helpstring) - 1] = '\0';
data/gramofile-1.6/tracksplit_filenm.c:200: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 (helpstring, "/");
data/gramofile-1.6/tracksplit_filenm.c:212: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).
		  string.cursorpos = strlen (string.string);
data/gramofile-1.6/tracksplit_filenm.c:263: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).
		string.cursorpos = strlen (string.string);
data/gramofile-1.6/tracksplit_filenm.c:270: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).
		string.cursorpos = strlen (string.string);
data/gramofile-1.6/tracksplit_parammenu.c:79: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 (blocklen_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:91: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 (global_silence_factor_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:103: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 (local_silence_threshold_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:115: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 (min_silence_blocks_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:127: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 (min_track_blocks_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:139: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 (extra_blocks_start_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:151: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 (extra_blocks_end_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:240: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).
	     3, strlen (prev_button.text) + 2);
data/gramofile-1.6/tracksplit_parammenu.c:243: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).
	     3, strlen (cancel_button.text) + 2);
data/gramofile-1.6/tracksplit_parammenu.c:246: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).
	     3, strlen (next_button.text) + 2);
data/gramofile-1.6/tracksplit_parammenu.c:347: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 (blocklen_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:355: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 (blocklen_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:383: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 (
data/gramofile-1.6/tracksplit_parammenu.c:392: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 (global_silence_factor_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:420: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 (
data/gramofile-1.6/tracksplit_parammenu.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 (
data/gramofile-1.6/tracksplit_parammenu.c:458: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 (
data/gramofile-1.6/tracksplit_parammenu.c:467: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 (
data/gramofile-1.6/tracksplit_parammenu.c:496: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 (
data/gramofile-1.6/tracksplit_parammenu.c:505: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 (
data/gramofile-1.6/tracksplit_parammenu.c:534: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 (
data/gramofile-1.6/tracksplit_parammenu.c:543: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 (
data/gramofile-1.6/tracksplit_parammenu.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 (
data/gramofile-1.6/tracksplit_parammenu.c:581: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 (
data/gramofile-1.6/tracksplit_parammenu.c:645: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 (blocklen_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:657: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 (global_silence_factor_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:669: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 (local_silence_threshold_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:681: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 (min_silence_blocks_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:693: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 (min_track_blocks_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:705: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 (extra_blocks_start_string.string);
data/gramofile-1.6/tracksplit_parammenu.c:717: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 (extra_blocks_end_string.string);
data/gramofile-1.6/yesnowindow.c:34: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).
    - 1 - strlen (yes_button.text);

ANALYSIS SUMMARY:

Hits = 525
Lines analyzed = 14914 in approximately 2.19 seconds (6823 lines/second)
Physical Source Lines of Code (SLOC) = 11281
Hits@level = [0] 132 [1] 246 [2] 166 [3]   1 [4] 112 [5]   0
Hits@level+ = [0+] 657 [1+] 525 [2+] 279 [3+] 113 [4+] 112 [5+]   0
Hits/KSLOC@level+ = [0+] 58.2395 [1+] 46.5384 [2+] 24.7319 [3+] 10.0168 [4+] 9.9282 [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.