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/mikmod-3.2.8/src/mplayer.c
Examining data/mikmod-3.2.8/src/mlist.h
Examining data/mikmod-3.2.8/src/mgetopt.h
Examining data/mikmod-3.2.8/src/mutilities.h
Examining data/mikmod-3.2.8/src/display.h
Examining data/mikmod-3.2.8/src/mthreads.h
Examining data/mikmod-3.2.8/src/display.c
Examining data/mikmod-3.2.8/src/player.h
Examining data/mikmod-3.2.8/src/mlistedit.c
Examining data/mikmod-3.2.8/src/mwidget.c
Examining data/mikmod-3.2.8/src/mgetopt1.c
Examining data/mikmod-3.2.8/src/mutilities.c
Examining data/mikmod-3.2.8/src/mplayer.h
Examining data/mikmod-3.2.8/src/mfnmatch.c
Examining data/mikmod-3.2.8/src/mlistedit.h
Examining data/mikmod-3.2.8/src/mwindow.c
Examining data/mikmod-3.2.8/src/keys.h
Examining data/mikmod-3.2.8/src/mdialog.h
Examining data/mikmod-3.2.8/src/mgetopt.c
Examining data/mikmod-3.2.8/src/mwidget.h
Examining data/mikmod-3.2.8/src/rcfile.c
Examining data/mikmod-3.2.8/src/mconfedit.h
Examining data/mikmod-3.2.8/src/mfnmatch.h
Examining data/mikmod-3.2.8/src/mdialog.c
Examining data/mikmod-3.2.8/src/mmenu.c
Examining data/mikmod-3.2.8/src/mmenu.h
Examining data/mikmod-3.2.8/src/mlist.c
Examining data/mikmod-3.2.8/src/rcfile.h
Examining data/mikmod-3.2.8/src/mikmod.c
Examining data/mikmod-3.2.8/src/mconfig.h
Examining data/mikmod-3.2.8/src/musleep.c
Examining data/mikmod-3.2.8/src/marchive.h
Examining data/mikmod-3.2.8/src/mwindow.h
Examining data/mikmod-3.2.8/src/marchive.c
Examining data/mikmod-3.2.8/src/mconfig.c
Examining data/mikmod-3.2.8/src/mconfedit.c
Examining data/mikmod-3.2.8/os2/config.h
Examining data/mikmod-3.2.8/macosx/config.h
Examining data/mikmod-3.2.8/win32/config.h
Examining data/mikmod-3.2.8/dos/config.h

FINAL RESULTS:

data/mikmod-3.2.8/src/display.c:167:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (storage,mikversion);
data/mikmod-3.2.8/src/display.c:965:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tmpfmt, "%%4i %%c...%%-%ds%%s(pack)", width - 22);
data/mikmod-3.2.8/src/display.c:972:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmpfmt, "%%4i %%c%%-%ds%%s(pack)", width - 19);
data/mikmod-3.2.8/src/display.c:981:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmpfmt, "%%4i %%c...%%-%ds%%s", width - 16);
data/mikmod-3.2.8/src/display.c:988:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmpfmt, "%%4i %%c%%-%ds%%s", width - 13);
data/mikmod-3.2.8/src/marchive.c:525:4:  [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(command);
data/mikmod-3.2.8/src/marchive.c:572:7:  [4] (shell) execvp:
  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.
						execvp (argv[0], argv);
data/mikmod-3.2.8/src/marchive.c:707:4:  [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(command);
data/mikmod-3.2.8/src/marchive.c:712:11:  [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.
			file = popen (command, "r");
data/mikmod-3.2.8/src/marchive.c:768:8:  [4] (shell) execvp:
  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.
					  execvp (argv[0], argv);
data/mikmod-3.2.8/src/mconfedit.c:363: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(entry->text,themes[i].color ? "(C) ":"(M) ");
data/mikmod-3.2.8/src/mconfedit.c:634:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy ((char *)output_entries[OPT_DRV_OPTION].data,cfg->driveroptions);
data/mikmod-3.2.8/src/mconfig.c:392: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 (str,attrs_colf_label
data/mikmod-3.2.8/src/mconfig.c:395: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 (str,attrs_colb_label
data/mikmod-3.2.8/src/mikmod.c:246:4:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			vfprintf(stderr, message, args);
data/mikmod-3.2.8/src/mikmod.c:248:4:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			vprintf(message, args);
data/mikmod-3.2.8/src/mikmod.c:380:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (storage, "%s:\n  %s.\nTry changing the configuration.",
data/mikmod-3.2.8/src/mlist.c:349:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(dummy, arc ? arc : mod);
data/mikmod-3.2.8/src/mlistedit.c:165:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (file,path);
data/mikmod-3.2.8/src/mlistedit.c:168:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (fstart,entries[i]+2);
data/mikmod-3.2.8/src/mlistedit.c:238:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (buffer,path);
data/mikmod-3.2.8/src/mlistedit.c:239:12:  [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).
	if (file) strcat (buffer,file);
data/mikmod-3.2.8/src/mlistedit.c:289:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (buffer,path);
data/mikmod-3.2.8/src/mlistedit.c:290:12:  [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).
	if (file) strcat (buffer,file);
data/mikmod-3.2.8/src/mlistedit.c:351:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (file,path);
data/mikmod-3.2.8/src/mlistedit.c:355: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 (pathend,entry->d_name);
data/mikmod-3.2.8/src/mlistedit.c:400: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 (pathend, dirs[i]);
data/mikmod-3.2.8/src/mlistedit.c:402: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 (pathend,PATH_SEP_STR);
data/mikmod-3.2.8/src/mlistedit.c:421:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (file,path);
data/mikmod-3.2.8/src/mlistedit.c:433: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 (pathend,".."PATH_SEP_STR);
data/mikmod-3.2.8/src/mlistedit.c:437: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 (help,pathend);
data/mikmod-3.2.8/src/mlistedit.c:446: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 (pathend,entry->d_name);
data/mikmod-3.2.8/src/mlistedit.c:450:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat (pathend,PATH_SEP_STR);
data/mikmod-3.2.8/src/mlistedit.c:454: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 (help,pathend);
data/mikmod-3.2.8/src/mlistedit.c:482: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 (path, &data->path[strlen(data->path)-max+3]);
data/mikmod-3.2.8/src/mlistedit.c:517: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 (data->path, path);
data/mikmod-3.2.8/src/mlistedit.c:608:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (dest, path);
data/mikmod-3.2.8/src/mlistedit.c:613:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (dest, path);
data/mikmod-3.2.8/src/mlistedit.c:615:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (dest, path);
data/mikmod-3.2.8/src/mlistedit.c:616:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat (dest, file);
data/mikmod-3.2.8/src/mlistedit.c:639:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (storage,"Scanning ...%s...\n"
data/mikmod-3.2.8/src/mlistedit.c:643:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (storage,"Scanning %s...\n"
data/mikmod-3.2.8/src/mlistedit.c:664:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (storage,"Scanning ...%-47s...\n"
data/mikmod-3.2.8/src/mlistedit.c:668:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (storage,"Scanning %-50s...\n"
data/mikmod-3.2.8/src/mlistedit.c:729:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (file, data->path);
data/mikmod-3.2.8/src/mlistedit.c:730: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 (file, data->w->entries[data->w->cur]+2);
data/mikmod-3.2.8/src/mlistedit.c:849: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 (data->path, PATH_SEP_STR);
data/mikmod-3.2.8/src/mlistedit.c:851: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 (data->path,path);
data/mikmod-3.2.8/src/mlistedit.c:895: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 (freq_data->path,"c:"PATH_SEP_STR);
data/mikmod-3.2.8/src/mlistedit.c:899: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 (freq_data->path,PATH_SEP_STR);
data/mikmod-3.2.8/src/mlistedit.c:938:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (str,"\rScanning ...%s... (%d added)",
data/mikmod-3.2.8/src/mlistedit.c:941:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (str,"\rScanning %s... (%d added)",path,added);
data/mikmod-3.2.8/src/mlistedit.c:968: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 (dir, PATH_SEP_STR);
data/mikmod-3.2.8/src/mlistedit.c:970: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 (dir,path);
data/mikmod-3.2.8/src/mmenu.c:129:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(storage, text,
data/mikmod-3.2.8/src/mmenu.c:162:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(storage, help, sub);
data/mikmod-3.2.8/src/mmenu.c:170:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(help, sub);
data/mikmod-3.2.8/src/mmenu.c:172:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(help, right);
data/mikmod-3.2.8/src/mmenu.c:177:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(storage, help, (int)(SINTPTR_T)(entry->data));
data/mikmod-3.2.8/src/mmenu.c:184:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(storage, help, pos);
data/mikmod-3.2.8/src/mmenu.c:188:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(storage, "%s", text);
data/mikmod-3.2.8/src/mmenu.c:190:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(storage, "%s", text);
data/mikmod-3.2.8/src/mmenu.c:305: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((char*)m->entries[m->cur].data, (char*)input);
data/mikmod-3.2.8/src/mutilities.c:207:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(msg, fmt, arg1, arg2);
data/mikmod-3.2.8/src/mutilities.c:338:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (fulltmpl, "%s%s%s", tmpdir, tmpsep, tmpl);
data/mikmod-3.2.8/src/mutilities.c:485:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (dir->name, dirName);
data/mikmod-3.2.8/src/mutilities.c:488: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 (dir->name,PATH_SEP_SYS_STR);
data/mikmod-3.2.8/src/mutilities.c:508:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (dir->d_name, fileBuffer.cFileName);
data/mikmod-3.2.8/src/mutilities.h:214:21:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define VSNPRINTF vsnprintf
data/mikmod-3.2.8/src/mutilities.h:217:39:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define VSNPRINTF(str,size,format,ap) vsprintf(str,format,ap)
data/mikmod-3.2.8/src/mutilities.h:225:20:  [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.
#  define SNPRINTF _snprintf
data/mikmod-3.2.8/src/mutilities.h:227:20:  [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.
#  define SNPRINTF snprintf
data/mikmod-3.2.8/src/mwidget.c:623: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 (&help[4],start);
data/mikmod-3.2.8/src/mwidget.c:637: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 (&help[x],hl_pos);
data/mikmod-3.2.8/src/mwidget.c:1228: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 (w->hkeys, hotkeys);
data/mikmod-3.2.8/src/display.c:1316:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env_term = getenv("TERM");
data/mikmod-3.2.8/src/mgetopt.c:209:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv ();
data/mikmod-3.2.8/src/mgetopt.c:400:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  posixly_correct = getenv ("POSIXLY_CORRECT");
data/mikmod-3.2.8/src/mgetopt.c:967:1:  [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.
getopt (argc, argv, optstring)
data/mikmod-3.2.8/src/mgetopt.c:997:11:  [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.
      c = getopt (argc, argv, "abc:d:0123456789");
data/mikmod-3.2.8/src/mgetopt.h:104:12:  [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.
extern int getopt (int argc, char *const *argv, const char *shortopts);
data/mikmod-3.2.8/src/mgetopt.h:106:12:  [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.
extern int getopt ();
data/mikmod-3.2.8/src/mgetopt.h:108:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
data/mikmod-3.2.8/src/mgetopt.h:120:12:  [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.
extern int getopt ();
data/mikmod-3.2.8/src/mgetopt.h:121:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long ();
data/mikmod-3.2.8/src/mgetopt1.c:63:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (argc, argv, options, long_options, opt_index)
data/mikmod-3.2.8/src/mgetopt1.c:119:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/mikmod-3.2.8/src/mlist.c:58:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return random() % limit;
data/mikmod-3.2.8/src/mlist.c:98:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand(time(NULL));
data/mikmod-3.2.8/src/mlist.c:101:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char * s = getenv("MIKMOD_SRAND_CONSTANT");
data/mikmod-3.2.8/src/mlist.c:104:4:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			srandom((unsigned int)atoi(s));
data/mikmod-3.2.8/src/mlist.c:108:4:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			srandom(time(NULL));
data/mikmod-3.2.8/src/mutilities.c:101:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *home = getenv("HOME");
data/mikmod-3.2.8/src/mutilities.c:122:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	home = getenv("USERPROFILE");
data/mikmod-3.2.8/src/mutilities.c:139:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		else if ((home = getenv("HOME")) != NULL) {
data/mikmod-3.2.8/src/mutilities.c:319:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		tmpdir = getenv ("TMPDIR");
data/mikmod-3.2.8/src/mutilities.c:320:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if (!tmpdir) tmpdir = getenv ("TMP");
data/mikmod-3.2.8/src/mutilities.c:321:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if (!tmpdir) tmpdir = getenv ("TEMP");
data/mikmod-3.2.8/src/mutilities.c:362:50:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	tmp_file = str_sprintf2("%s" PATH_SEP_STR "%s", getenv("TEMP"),
data/mikmod-3.2.8/src/mutilities.c:373:19:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
	if (!(tmp_file = tempnam(NULL, ".mod")))
data/mikmod-3.2.8/src/mutilities.c:374:20:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
		if (!(tmp_file = tempnam(get_homedir(), ".mod")))
data/mikmod-3.2.8/src/display.c:64: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 fmt_fullwidth[20];
data/mikmod-3.2.8/src/display.c:67: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 fmt_halfwidth[20];
data/mikmod-3.2.8/src/display.c:90:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char samp_char[4] = {
data/mikmod-3.2.8/src/display.c:176:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char old_message[STORAGELEN + 1];
data/mikmod-3.2.8/src/display.c:227: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 str[MAXWIDTH + 1];
data/mikmod-3.2.8/src/display.c:328: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 reverb[13];
data/mikmod-3.2.8/src/display.c:336: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(reverb, "no reverb");
data/mikmod-3.2.8/src/display.c:429: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 time[7] = "";
data/mikmod-3.2.8/src/display.c:430: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 channels[17] = "";
data/mikmod-3.2.8/src/display.c:497: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 paneltitle[STORAGELEN];
data/mikmod-3.2.8/src/display.c:711: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 sampchar[2];
data/mikmod-3.2.8/src/display.c:782: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 sampchar[2];
data/mikmod-3.2.8/src/display.c:903: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(storage, "1 Channel");
data/mikmod-3.2.8/src/display.c:907: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(storage, ", displaying instrument names");
data/mikmod-3.2.8/src/display.c:909: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(storage, ", displaying sample names");
data/mikmod-3.2.8/src/display.c:911: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(storage, " and fake volume bars");
data/mikmod-3.2.8/src/display.c:913: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(storage, " and real volume bars");
data/mikmod-3.2.8/src/display.c:940: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 time[8] = "", tmpfmt[30];
data/mikmod-3.2.8/src/display.c:968: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(tmpfmt, "%%4i %%c...%%-%ds(pack)", width - 16);
data/mikmod-3.2.8/src/display.c:975:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(tmpfmt, "%%4i %%c%%-%ds(pack)", width - 13);
data/mikmod-3.2.8/src/display.c:984:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(tmpfmt, "%%4i %%c...%%-%ds", width - 10);
data/mikmod-3.2.8/src/display.c:991: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(tmpfmt, "%%4i %%c%%-%ds", width - 7);
data/mikmod-3.2.8/src/display.c:1080:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!open) {
data/mikmod-3.2.8/src/marchive.c:212:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!(fp = fopen(path_conv_sys(filename), "rb")))
data/mikmod-3.2.8/src/marchive.c:292:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *arg[3];
data/mikmod-3.2.8/src/marchive.c:294:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[PATH_MAX];
data/mikmod-3.2.8/src/marchive.c:372:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[BUFSIZE];
data/mikmod-3.2.8/src/marchive.c:456:11:  [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).
	rd_err = open("nul", O_WRONLY | O_CREAT, S_IREAD | S_IWRITE);
data/mikmod-3.2.8/src/marchive.c:503:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		tmp_fd = open (path_conv_sys(file), O_RDONLY | O_BINARY, 0600);
data/mikmod-3.2.8/src/marchive.c:529: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).
			tmp_fd = open (tmp_file_sys, O_RDONLY | O_BINARY, 0600);
data/mikmod-3.2.8/src/marchive.c:541: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 *argv[20];
data/mikmod-3.2.8/src/marchive.c:708:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			file = fopen(dest, "r");
data/mikmod-3.2.8/src/marchive.c:754:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					  char *argv[20];
data/mikmod-3.2.8/src/mconfedit.c:109:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char driveroptions[100] = "";
data/mikmod-3.2.8/src/mconfedit.c:269:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(entry->text, "&Driver [%o]|Autodetect");
data/mikmod-3.2.8/src/mconfedit.c:332: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(entry->text, "Driver &options [%s]|Enter driver options");
data/mikmod-3.2.8/src/mconfedit.c:334: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 (entry->text, " (Options for ");
data/mikmod-3.2.8/src/mconfedit.c:336: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 (entry->text, ":\n");
data/mikmod-3.2.8/src/mconfedit.c:338: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 (entry->text, "):|255|16");
data/mikmod-3.2.8/src/mconfedit.c:340: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(entry->text, ":|255|16");
data/mikmod-3.2.8/src/mconfedit.c:344: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(entry->text, "Driver &options [%s]|Enter driver options:|255|16");
data/mikmod-3.2.8/src/mconfedit.c:360:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(entry->text, "T&heme  [%o]");
data/mikmod-3.2.8/src/mconfedit.c:511: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 title[200];
data/mikmod-3.2.8/src/mconfedit.c:551:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (title,"Edit theme ");
data/mikmod-3.2.8/src/mconfedit.c:559:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[THEME_NAME_LEN+1], *pos, *name;
data/mikmod-3.2.8/src/mconfedit.c:571:2:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	strcat (buf," %02d");
data/mikmod-3.2.8/src/mconfedit.c:634:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	strcpy ((char *)output_entries[OPT_DRV_OPTION].data,cfg->driveroptions);
data/mikmod-3.2.8/src/mconfedit.c:692:38:  [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.
	rc_set_string(&cfg->driveroptions, (char *)output_entries[OPT_DRV_OPTION].data, 99);
data/mikmod-3.2.8/src/mconfig.c:71:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *attrs_label[ATTRS_COUNT] = {
data/mikmod-3.2.8/src/mconfig.c:390: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 str[30];
data/mikmod-3.2.8/src/mconfig.c:420:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (dest->attrs,src->attrs,sizeof(int)*ATTRS_COUNT);
data/mikmod-3.2.8/src/mconfig.c:514:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						memcpy (attrs,mono_attributes,sizeof(int)*ATTRS_COUNT);
data/mikmod-3.2.8/src/mconfig.c:532:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
							memcpy (attrs,color_attributes,sizeof(int)*ATTRS_COUNT);
data/mikmod-3.2.8/src/mconfig.h:148:14:  [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 const char *attrs_label[ATTRS_COUNT];	/* "WARNING", "TITLE", ... */
data/mikmod-3.2.8/src/mdialog.c:60:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int value = atoi((char*)data->input);
data/mikmod-3.2.8/src/mdialog.c:168: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 title[40];
data/mikmod-3.2.8/src/mdialog.c:175:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(title, "%d", max);
data/mikmod-3.2.8/src/mdialog.c:185:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(title, "Enter value(%d - %d)", min, max);
data/mikmod-3.2.8/src/mgetopt.c:328: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 (new_str, __getopt_nonoption_flags, nonoption_flags_max_len);
data/mikmod-3.2.8/src/mgetopt.c:440:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (__getopt_nonoption_flags, orig_str, len);
data/mikmod-3.2.8/src/mikmod.c:168: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 output[4];
data/mikmod-3.2.8/src/mikmod.c:469:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[PATH_MAX + 40] = "";
data/mikmod-3.2.8/src/mikmod.c:531: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 *values [MAX_VALUES];
data/mikmod-3.2.8/src/mlist.c:104:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			srandom((unsigned int)atoi(s));
data/mikmod-3.2.8/src/mlist.c:296:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(file = fopen(path_conv_sys(filename), "r")))
data/mikmod-3.2.8/src/mlist.c:370:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(file = fopen(path_conv_sys(filename), "w")))
data/mikmod-3.2.8/src/mlistedit.c:94: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 path[PATH_MAX<<1];	/* path of currently displayed directory */
data/mikmod-3.2.8/src/mlistedit.c:163:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[PATH_MAX<<1], *fstart;
data/mikmod-3.2.8/src/mlistedit.c:236: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 buffer[STORAGELEN];
data/mikmod-3.2.8/src/mlistedit.c:285: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 buffer[STORAGELEN];
data/mikmod-3.2.8/src/mlistedit.c:330:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[PATH_MAX<<1], *pathend, **dirs=NULL;
data/mikmod-3.2.8/src/mlistedit.c:417:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[PATH_MAX<<1], *pathend, *help;
data/mikmod-3.2.8/src/mlistedit.c:436:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy (help,"  ");
data/mikmod-3.2.8/src/mlistedit.c:453:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy (help,"  ");
data/mikmod-3.2.8/src/mlistedit.c:480: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 path[MAXWIDTH];
data/mikmod-3.2.8/src/mlistedit.c:481: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 (path, "...");
data/mikmod-3.2.8/src/mlistedit.c:682:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (storage,"Added %d entrie(s) and removed %d entrie(s).",
data/mikmod-3.2.8/src/mlistedit.c:692: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 help[PATH_MAX<<1];
data/mikmod-3.2.8/src/mlistedit.c:727:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char file[PATH_MAX<<1];
data/mikmod-3.2.8/src/mlistedit.c:739: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 path[PATH_MAX<<1], *cur_entry;
data/mikmod-3.2.8/src/mlistedit.c:897: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 (freq_data->path,"SYS:"); /* or use ":" instead??? */
data/mikmod-3.2.8/src/mlistedit.c:933: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 str[70], *pos;
data/mikmod-3.2.8/src/mlistedit.c:957: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 dir[PATH_MAX<<1]="", *pos;
data/mikmod-3.2.8/src/mmenu.c:108: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 *text, help[100], sub[100], *start, *pos;
data/mikmod-3.2.8/src/mmenu.c:169:6:  [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(sub, "%d", (int)strlen(right));
data/mikmod-3.2.8/src/mmenu.c:214: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 *pos, *txt, hl[2], *help;
data/mikmod-3.2.8/src/mmenu.c:317:48:  [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).
		m->entries[m->cur].data = (void *)(SINTPTR_T)atoi((char*)input);
data/mikmod-3.2.8/src/mutilities.c:79:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char homdir[PATH_MAX];
data/mikmod-3.2.8/src/mutilities.c:84:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(homdir, "SYS:");
data/mikmod-3.2.8/src/mutilities.c:86:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(homdir, "SYS:");
data/mikmod-3.2.8/src/mutilities.c:130:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char d[PATH_MAX];
data/mikmod-3.2.8/src/mutilities.c:165:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char f[PATH_MAX];
data/mikmod-3.2.8/src/mutilities.c:184:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char f[PATH_MAX];
data/mikmod-3.2.8/src/mutilities.c:245:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	return mkstemp (tmpl);
data/mikmod-3.2.8/src/mutilities.c:290:8:  [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).
		fd = open (tmpl, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
data/mikmod-3.2.8/src/mutilities.c:369:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[16];
data/mikmod-3.2.8/src/mutilities.c:370:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s,"%d", rand());
data/mikmod-3.2.8/src/mutilities.c:632:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char **drv_cmdline[VERSION_MAX] = {
data/mikmod-3.2.8/src/mutilities.h:128:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char storage[STORAGELEN+2];
data/mikmod-3.2.8/src/mutilities.h:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[PATH_MAX+1];
data/mikmod-3.2.8/src/mutilities.h:167:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char d_name[PATH_MAX+1];
data/mikmod-3.2.8/src/mwidget.c:119: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 hl[2] = " ", ch = ' ', *pos = &w->input[w->start];
data/mikmod-3.2.8/src/mwidget.c:318: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 *pos, *hl_pos, *start, hl[2];
data/mikmod-3.2.8/src/mwidget.c:597: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 *start, *pos, *hl_pos, hl[2], end;
data/mikmod-3.2.8/src/mwidget.c:604: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 (help,"[ ] ");
data/mikmod-3.2.8/src/mwidget.c:606: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 (help,"( ) ");
data/mikmod-3.2.8/src/mwidget.c:839: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 key[2] = " ";
data/mikmod-3.2.8/src/mwidget.c:840:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *pat[2] = {".......< h      h >",
data/mikmod-3.2.8/src/mwidget.c:1065:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(w->input, "%d", value);
data/mikmod-3.2.8/src/mwidget.c:1074: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 val[20];
data/mikmod-3.2.8/src/mwidget.c:1075:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(val, "%d", value);
data/mikmod-3.2.8/src/mwidget.h:190:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hkeys[5];				/* hotkeys to move the selector <>^v */
data/mikmod-3.2.8/src/mwindow.c:104: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 storage[STORAGELEN+2];
data/mikmod-3.2.8/src/mwindow.c:149:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[STORAGELEN];
data/mikmod-3.2.8/src/mwindow.c:569:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char status_message[MAXWIDTH + 2];
data/mikmod-3.2.8/src/rcfile.c:69:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char indent[INDENT_MAX+1] = "";
data/mikmod-3.2.8/src/rcfile.c:490:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[LINE_LEN],*label,*arg;
data/mikmod-3.2.8/src/rcfile.c:537:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(fp = fopen (path_conv_sys(name),"r"))) return 0;
data/mikmod-3.2.8/src/rcfile.c:552:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(fp=fopen(path_conv_sys(name),"w"))) return 0;
data/mikmod-3.2.8/src/display.c:154:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (str);
data/mikmod-3.2.8/src/display.c:181:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(str)+1;
data/mikmod-3.2.8/src/display.c:188:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(&old_message[1], str, len-1);
data/mikmod-3.2.8/src/display.c:190: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).
	enlarge (strlen(mikversion),old_message);
data/mikmod-3.2.8/src/display.c:193: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).
	win_print(root, strlen(mikversion), 0, str);
data/mikmod-3.2.8/src/display.c:204: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).
		win_print(root, strlen(mikversion), 0, old_message);
data/mikmod-3.2.8/src/display.c:376:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((archive) && (strlen(file) < MAXWIDTH - 13)) {
data/mikmod-3.2.8/src/display.c:377: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(archive) + strlen(file) > MAXWIDTH - 10) {
data/mikmod-3.2.8/src/display.c:377:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(archive) + strlen(file) > MAXWIDTH - 10) {
data/mikmod-3.2.8/src/display.c:378: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).
				archive += strlen(archive) - (MAXWIDTH - 13 - strlen(file));
data/mikmod-3.2.8/src/display.c:378:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				archive += strlen(archive) - (MAXWIDTH - 13 - strlen(file));
data/mikmod-3.2.8/src/display.c:542: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).
		SNPRINTF(paneltitle + strlen(paneltitle), STORAGELEN, "%c%s%c",
data/mikmod-3.2.8/src/display.c:549:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tmp = paneltitle + strlen(paneltitle);
data/mikmod-3.2.8/src/display.c:946:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		timelen = strlen(time);
data/mikmod-3.2.8/src/display.c:962: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).
		if (strlen(name) > width - 13 - timelen) {
data/mikmod-3.2.8/src/display.c:963: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).
			name = name + strlen(name) - (width - 16 - timelen);
data/mikmod-3.2.8/src/display.c:978:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	} else if (strlen(name) > width - 7 - timelen) {
data/mikmod-3.2.8/src/display.c:979:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name = name + strlen(name) - (width - 10 - timelen);
data/mikmod-3.2.8/src/display.c:1257:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!mf->songname || strlen(mf->songname)==0) {
data/mikmod-3.2.8/src/display.c:1347:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		printf("\033&f0k%dD%s", (int) strlen(storage), storage);
data/mikmod-3.2.8/src/display.c:1348:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		printf("\033&f-1k%dD%s", (int) strlen(mikversion), mikversion);
data/mikmod-3.2.8/src/marchive.c:180:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		arch_nr = strlen(archive);
data/mikmod-3.2.8/src/marchive.c:199: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).
	int len = MIN(strlen(header_string), 255);
data/mikmod-3.2.8/src/marchive.c:242: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).
	dosmemput (l, strlen(l)+1,
data/mikmod-3.2.8/src/marchive.c:252:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (s, l, len_s);
data/mikmod-3.2.8/src/marchive.c:269:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (s, l, len_s);
data/mikmod-3.2.8/src/marchive.c:280:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (s, l, len_s);
data/mikmod-3.2.8/src/marchive.c:297:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(pattern) + 1;
data/mikmod-3.2.8/src/marchive.c:318:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len += strlen(arg[i]);
data/mikmod-3.2.8/src/marchive.c:392:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		(cnt=read(fd, buf, sizeof(char)*BUFSIZE)) > 0) {
data/mikmod-3.2.8/src/marchive.c:405:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		(cnt=read(fd, buf, sizeof(char)*(size>BUFSIZE ? BUFSIZE:size)))
data/mikmod-3.2.8/src/marchive.c:420:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		cnt = read(fd, buf, sizeof(char)*(size>BUFSIZE ? BUFSIZE:size));
data/mikmod-3.2.8/src/marchive.c:517:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (tmp_file_sys, path_conv_sys(tmp_file), PATH_MAX);
data/mikmod-3.2.8/src/marchive.c:545:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy (tmp_file_sys, path_conv_sys(tmp_file), PATH_MAX);
data/mikmod-3.2.8/src/marchive.c:719:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				string[strlen(string) - 1] = 0;
data/mikmod-3.2.8/src/marchive.c:794:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
						if (!read(fd[0], &ch, 1) && finished)
data/mikmod-3.2.8/src/marchive.c:837:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(spare, slash, dot - slash);
data/mikmod-3.2.8/src/mconfedit.c:228:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = MIN(strlen(storage), STORAGELEN);
data/mikmod-3.2.8/src/mconfedit.c:230:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(entry->help, storage, len);
data/mikmod-3.2.8/src/mconfedit.c:276:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(entry->text, "|");
data/mikmod-3.2.8/src/mconfedit.c:277:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(entry->text);
data/mikmod-3.2.8/src/mconfedit.c:289:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(entry->text, start, x);
data/mikmod-3.2.8/src/mconfedit.c:324: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).
				end = pos+strlen(pos);
data/mikmod-3.2.8/src/mconfedit.c:327:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			cmdlen = strlen (cmdline);
data/mikmod-3.2.8/src/mconfedit.c:335:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(entry->text, pos, end-pos);
data/mikmod-3.2.8/src/mconfedit.c:337:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(entry->text, cmdline, cmdlen);
data/mikmod-3.2.8/src/mconfedit.c:354: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).
		j = strlen (themes[i].name);
data/mikmod-3.2.8/src/mconfedit.c:362: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(entry->text, "|");
data/mikmod-3.2.8/src/mconfedit.c:365:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(entry->text);
data/mikmod-3.2.8/src/mconfedit.c:366: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).
		j = strlen (themes[i].name);
data/mikmod-3.2.8/src/mconfedit.c:368:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(entry->text, themes[i].name, j);
data/mikmod-3.2.8/src/mconfedit.c:552:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (title, data->theme.name, 180);
data/mikmod-3.2.8/src/mconfedit.c:562:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (buf,src_name,THEME_NAME_LEN);
data/mikmod-3.2.8/src/mconfedit.c:564:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (pos = buf+strlen(buf)-1; pos>=buf && isspace((int)*pos); pos--)
data/mikmod-3.2.8/src/mconfedit.c:569:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(buf) > THEME_NAME_LEN-5)
data/mikmod-3.2.8/src/mconfedit.c:573:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(buf)+1;
data/mikmod-3.2.8/src/mconfig.c:394:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat (str,",");
data/mikmod-3.2.8/src/mdialog.c:130:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(storage);
data/mikmod-3.2.8/src/mdialog.c:132:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
		strncat (storage,"\n",STORAGELEN-len);
data/mikmod-3.2.8/src/mdialog.c:133:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat (storage,err,STORAGELEN-len-1);
data/mikmod-3.2.8/src/mdialog.c:176:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int_wid = wid_int_add(d, 1, value, strlen(title));
data/mikmod-3.2.8/src/mgetopt.c:233:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
extern int strlen (const char *);
data/mikmod-3.2.8/src/mgetopt.c:431:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      int len = nonoption_flags_max_len = strlen (orig_str);
data/mikmod-3.2.8/src/mgetopt.c:655:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		== (unsigned int) strlen (p->name))
data/mikmod-3.2.8/src/mgetopt.c:679: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).
	  nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mgetopt.c:710:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mgetopt.c:726:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mgetopt.c:731: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).
	  nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mgetopt.c:842:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if ((unsigned int) (nameend - nextchar) == strlen (p->name))
data/mikmod-3.2.8/src/mgetopt.c:865: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).
	    nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mgetopt.c:885: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).
		    nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mgetopt.c:899: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).
		    nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mgetopt.c:903: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).
	    nextchar += strlen (nextchar);
data/mikmod-3.2.8/src/mikmod.c:527:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	cmdend = cmdline + strlen (cmdline);
data/mikmod-3.2.8/src/mikmod.c:538: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).
			lineend = cur + strlen (cur);
data/mikmod-3.2.8/src/mikmod.c:877: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(optarg) > 2) {
data/mikmod-3.2.8/src/mlist.c:346:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				  malloc(slash + 1 - filename + strlen(arc ? arc : mod) + 1);
data/mikmod-3.2.8/src/mlist.c:347:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(dummy, filename, slash + 1 - filename);
data/mikmod-3.2.8/src/mlistedit.c:135:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (IS_PATH_SEP((*small)[strlen(*small)-1])) {
data/mikmod-3.2.8/src/mlistedit.c:136:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (IS_PATH_SEP((*big)[strlen(*big)-1]))
data/mikmod-3.2.8/src/mlistedit.c:140:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	} else if (IS_PATH_SEP((*big)[strlen(*big)-1]))
data/mikmod-3.2.8/src/mlistedit.c:148: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).
	if (IS_PATH_SEP(key[strlen(key)-1])) {
data/mikmod-3.2.8/src/mlistedit.c:149: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 (IS_PATH_SEP((*member)[strlen(*member)-1]))
data/mikmod-3.2.8/src/mlistedit.c:153: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).
	} else if (IS_PATH_SEP((*member)[strlen(*member)-1]))
data/mikmod-3.2.8/src/mlistedit.c:166: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).
	fstart = file+strlen(file);
data/mikmod-3.2.8/src/mlistedit.c:169:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!IS_PATH_SEP(fstart[strlen(fstart)]) &&
data/mikmod-3.2.8/src/mlistedit.c:352:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pathend = file+strlen(file);
data/mikmod-3.2.8/src/mlistedit.c:422:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pathend = file+strlen(file);
data/mikmod-3.2.8/src/mlistedit.c:435:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			help = (char *) malloc (sizeof(char) * (strlen(pathend) + 3));
data/mikmod-3.2.8/src/mlistedit.c:452:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			help = (char *) malloc (sizeof(char) * (strlen(pathend) + 3));
data/mikmod-3.2.8/src/mlistedit.c:477:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(data->path) <= max)
data/mikmod-3.2.8/src/mlistedit.c:482: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).
		strcat (path, &data->path[strlen(data->path)-max+3]);
data/mikmod-3.2.8/src/mlistedit.c:499: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).
		if (strlen(path) < strlen(data->path)) {
data/mikmod-3.2.8/src/mlistedit.c:499: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).
		if (strlen(path) < strlen(data->path)) {
data/mikmod-3.2.8/src/mlistedit.c:500: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).
			last = data->path+strlen(path);
data/mikmod-3.2.8/src/mlistedit.c:609: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).
		end = dest+strlen(dest)-2;
data/mikmod-3.2.8/src/mlistedit.c:614: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).
	} else if (IS_PATH_SEP(file[strlen(file)-1])) {
data/mikmod-3.2.8/src/mlistedit.c:638:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(path) > 50)
data/mikmod-3.2.8/src/mlistedit.c:641: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).
				&path[strlen(path)-47], added, removed);
data/mikmod-3.2.8/src/mlistedit.c:663:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(path) > 50)
data/mikmod-3.2.8/src/mlistedit.c:666: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).
				&path[strlen(path)-47]);
data/mikmod-3.2.8/src/mlistedit.c:768: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).
		pos = (char*)input + strlen((char*)input);
data/mikmod-3.2.8/src/mlistedit.c:848:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!IS_PATH_SEP(data->path[strlen(data->path)-1]))
data/mikmod-3.2.8/src/mlistedit.c:856: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).
	pos = data->path+strlen(data->path);
data/mikmod-3.2.8/src/mlistedit.c:937: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).
		if (strlen(path) > 43)
data/mikmod-3.2.8/src/mlistedit.c:939:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 &path[strlen(path)-40],added);
data/mikmod-3.2.8/src/mlistedit.c:942:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		pos = str+strlen(str);
data/mikmod-3.2.8/src/mlistedit.c:943: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).
		for (i=strlen(str); i<(70-1); i++)
data/mikmod-3.2.8/src/mlistedit.c:967:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!IS_PATH_SEP(dir[strlen(dir)-1]))
data/mikmod-3.2.8/src/mlistedit.c:971:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pos = dir+strlen(dir);
data/mikmod-3.2.8/src/mlistedit.c:1014: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).
		*ext = &(*name[strlen(*name)]);
data/mikmod-3.2.8/src/mlistedit.c:1159:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(cur->archive) > 60)
data/mikmod-3.2.8/src/mlistedit.c:1164: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).
										 archive[strlen(cur->archive) - 57]));
data/mikmod-3.2.8/src/mlistedit.c:1173:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(cur->file) > 50)
data/mikmod-3.2.8/src/mlistedit.c:1175: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).
									  &(cur->file[strlen(cur->file) - 47]));
data/mikmod-3.2.8/src/mmenu.c:60: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).
	int i = 0, end = strlen(entry->text) - 1;
data/mikmod-3.2.8/src/mmenu.c:96: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).
	int width = strlen(txt);
data/mikmod-3.2.8/src/mmenu.c:117: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).
			i = strlen(text);
data/mikmod-3.2.8/src/mmenu.c:135:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(help, text, start - text);
data/mikmod-3.2.8/src/mmenu.c:152:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(pos) > max)
data/mikmod-3.2.8/src/mmenu.c:153:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					max = strlen(pos);
data/mikmod-3.2.8/src/mmenu.c:166:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(help, text, pos - text);
data/mikmod-3.2.8/src/mmenu.c:169: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).
					sprintf(sub, "%d", (int)strlen(right));
data/mikmod-3.2.8/src/mmenu.c:173:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				i = strlen(help);
data/mikmod-3.2.8/src/mmenu.c:174:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
				strncat(help, pos, start - pos);
data/mikmod-3.2.8/src/mmenu.c:194: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).
		i = strlen(storage);
data/mikmod-3.2.8/src/mmenu.c:356: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).
				pos = &start[strlen(start)];
data/mikmod-3.2.8/src/mmenu.c:358:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(sub->text, start, pos - start);
data/mikmod-3.2.8/src/mmenu.c:375:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(msg, start, pos - start);
data/mikmod-3.2.8/src/mmenu.c:392:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(msg, start, pos - start);
data/mikmod-3.2.8/src/mthreads.h:34:6:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
void usleep(unsigned long);
data/mikmod-3.2.8/src/mthreads.h:47:19:  [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.
#define SLEEP(n)  usleep(n*1000)
data/mikmod-3.2.8/src/mutilities.c:88: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).
			home = homdir + strlen(homdir);
data/mikmod-3.2.8/src/mutilities.c:135:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(d, pw->pw_dir, sizeof(d));
data/mikmod-3.2.8/src/mutilities.c:140:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(d, home, sizeof(d));
data/mikmod-3.2.8/src/mutilities.c:204: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).
	char *msg = (char *) malloc(strlen(fmt) + strlen(arg1) + strlen(arg2) + 1);
data/mikmod-3.2.8/src/mutilities.c:204:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *msg = (char *) malloc(strlen(fmt) + strlen(arg1) + strlen(arg2) + 1);
data/mikmod-3.2.8/src/mutilities.c:204:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *msg = (char *) malloc(strlen(fmt) + strlen(arg1) + strlen(arg2) + 1);
data/mikmod-3.2.8/src/mutilities.c:255:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (tmpl);
data/mikmod-3.2.8/src/mutilities.c:330: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 (*tmpdir && tmpdir[strlen(tmpdir) - 1] == PATH_SEP_SYS)
data/mikmod-3.2.8/src/mutilities.c:337: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).
	fulltmpl = (char *) malloc (strlen(tmpdir)+strlen(tmpsep)+strlen(tmpl)+1);
data/mikmod-3.2.8/src/mutilities.c:337:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	fulltmpl = (char *) malloc (strlen(tmpdir)+strlen(tmpsep)+strlen(tmpl)+1);
data/mikmod-3.2.8/src/mutilities.c:337:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	fulltmpl = (char *) malloc (strlen(tmpdir)+strlen(tmpsep)+strlen(tmpl)+1);
data/mikmod-3.2.8/src/mutilities.c:486: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).
	if (dir->name[strlen(dir->name)-1] != PATH_SEP_SYS &&
data/mikmod-3.2.8/src/mutilities.c:487:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		dir->name[strlen(dir->name)-1] != PATH_SEP)
data/mikmod-3.2.8/src/mutilities.c:490:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat (dir->name, "*");
data/mikmod-3.2.8/src/mutilities.c:660:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (!strncmp (*cmd, pos, strlen(*cmd))) {
data/mikmod-3.2.8/src/mutilities.c:665:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
							strncpy (*version, start, pos-start);
data/mikmod-3.2.8/src/mwidget.c:130: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).
		dx = strlen(pos);
data/mikmod-3.2.8/src/mwidget.c:140:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(pos);
data/mikmod-3.2.8/src/mwidget.c:200: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).
		if (w->cur_pos < strlen(w->input))
data/mikmod-3.2.8/src/mwidget.c:213: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).
		w->cur_pos = strlen(w->input);
data/mikmod-3.2.8/src/mwidget.c:227: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).
		if (w->cur_pos < strlen(w->input))
data/mikmod-3.2.8/src/mwidget.c:249: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).
			i = strlen(w->input);
data/mikmod-3.2.8/src/mwidget.c:325: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).
			((int)strlen(w->button) + 5 * w->cnt - 1 - cnt_hl)) / 2;
data/mikmod-3.2.8/src/mwidget.c:345:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			x += strlen(start) + 2;
data/mikmod-3.2.8/src/mwidget.c:358: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).
				x += strlen(hl_pos) + 1;
data/mikmod-3.2.8/src/mwidget.c:453: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).
	*width = strlen(w->button) + 5 * w->cnt - 1 - hl_cnt;
data/mikmod-3.2.8/src/mwidget.c:478: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).
		if (strlen(w->title) > w->w.width-2) {
data/mikmod-3.2.8/src/mwidget.c:512:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (storage,w->entries[i],w->w.width-2);
data/mikmod-3.2.8/src/mwidget.c:515: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).
		for (x=strlen(storage); x<w->w.width-2; x++)
data/mikmod-3.2.8/src/mwidget.c:624: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).
			x = strlen(start) + 4;
data/mikmod-3.2.8/src/mwidget.c:638:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				xx = x+strlen(hl_pos);
data/mikmod-3.2.8/src/mwidget.c:845: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 (x=0; x<strlen(pat[p]); x++) {
data/mikmod-3.2.8/src/mwidget.c:1016: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).
	i = MIN(strlen(input), length);
data/mikmod-3.2.8/src/mwidget.c:1017:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(w->input, input, i);
data/mikmod-3.2.8/src/mwidget.c:1019: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).
	w->cur_pos = strlen(w->input);
data/mikmod-3.2.8/src/mwidget.c:1036: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).
		int i = MIN (strlen(input), w->length);
data/mikmod-3.2.8/src/mwidget.c:1037:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (w->input, input, i);
data/mikmod-3.2.8/src/mwidget.c:1039: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).
		if (w->cur_pos > strlen(w->input))
data/mikmod-3.2.8/src/mwidget.c:1040:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			w->cur_pos = strlen(w->input);
data/mikmod-3.2.8/src/mwidget.c:1066: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).
	w->cur_pos = strlen(w->input);
data/mikmod-3.2.8/src/mwidget.c:1230: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).
		for (i=0; i<strlen(w->hkeys); i++)
data/mikmod-3.2.8/src/mwindow.c:150: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).
	int l = strlen(str);
data/mikmod-3.2.8/src/mwindow.c:152:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, str, len);
data/mikmod-3.2.8/src/mwindow.c:609:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(msg);
data/mikmod-3.2.8/src/mwindow.c:612:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(status_message, msg, len);
data/mikmod-3.2.8/src/mwindow.c:614:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(status_message);
data/mikmod-3.2.8/src/mwindow.c:722:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(str);
data/mikmod-3.2.8/src/rcfile.c:74:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(indent);
data/mikmod-3.2.8/src/rcfile.c:360:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(arg);
data/mikmod-3.2.8/src/rcfile.c:367:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(*value, arg, len);
data/mikmod-3.2.8/src/rcfile.c:494:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line)-1]=='\n') line[strlen(line)-1]='\0';
data/mikmod-3.2.8/src/rcfile.c:494:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (line[strlen(line)-1]=='\n') line[strlen(line)-1]='\0';

ANALYSIS SUMMARY:

Hits = 404
Lines analyzed = 15619 in approximately 0.43 seconds (36512 lines/second)
Physical Source Lines of Code (SLOC) = 11674
Hits@level = [0]  82 [1] 184 [2] 119 [3]  26 [4]  75 [5]   0
Hits@level+ = [0+] 486 [1+] 404 [2+] 220 [3+] 101 [4+]  75 [5+]   0
Hits/KSLOC@level+ = [0+] 41.631 [1+] 34.6068 [2+] 18.8453 [3+] 8.6517 [4+] 6.42453 [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.