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/mp3blaster-3.2.6/mpegsound/mpegsound.h
Examining data/mp3blaster-3.2.6/mpegsound/mpeglayer1.cc
Examining data/mp3blaster-3.2.6/mpegsound/mpeglayer3.cc
Examining data/mp3blaster-3.2.6/mpegsound/esdplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/nasplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/httpinput.cc
Examining data/mp3blaster-3.2.6/mpegsound/bitwindow.cc
Examining data/mp3blaster-3.2.6/mpegsound/sidplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/wavetoraw.cc
Examining data/mp3blaster-3.2.6/mpegsound/mpeglayer2.cc
Examining data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc
Examining data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc
Examining data/mp3blaster-3.2.6/mpegsound/huffmantable.cc
Examining data/mp3blaster-3.2.6/mpegsound/fileinput.cc
Examining data/mp3blaster-3.2.6/mpegsound/filter.cc
Examining data/mp3blaster-3.2.6/mpegsound/mpegtable.cc
Examining data/mp3blaster-3.2.6/mpegsound/xingheader.h
Examining data/mp3blaster-3.2.6/mpegsound/rawtofile.cc
Examining data/mp3blaster-3.2.6/mpegsound/rawplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/filter_2.cc
Examining data/mp3blaster-3.2.6/mpegsound/sdlplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.h
Examining data/mp3blaster-3.2.6/mpegsound/fileplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/oggplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/mpegsound_locals.h
Examining data/mp3blaster-3.2.6/mpegsound/soundplayer.cc
Examining data/mp3blaster-3.2.6/mpegsound/soundinputstream.cc
Examining data/mp3blaster-3.2.6/mpegsound/xingheader.cc
Examining data/mp3blaster-3.2.6/nmixer/nasmixer.cc
Examining data/mp3blaster-3.2.6/nmixer/nmixer.cc
Examining data/mp3blaster-3.2.6/nmixer/getopt_local.h
Examining data/mp3blaster-3.2.6/nmixer/getopt1.c
Examining data/mp3blaster-3.2.6/nmixer/ossmixer.cc
Examining data/mp3blaster-3.2.6/nmixer/mixers.cc
Examining data/mp3blaster-3.2.6/nmixer/nmixer.h
Examining data/mp3blaster-3.2.6/nmixer/main.cc
Examining data/mp3blaster-3.2.6/nmixer/nullmixer.cc
Examining data/mp3blaster-3.2.6/nmixer/getopt.c
Examining data/mp3blaster-3.2.6/doc/charmap/chargen.c
Examining data/mp3blaster-3.2.6/doc/charmap/maketbl.c
Examining data/mp3blaster-3.2.6/src/global.h
Examining data/mp3blaster-3.2.6/src/splay.h
Examining data/mp3blaster-3.2.6/src/scrollwin.cc
Examining data/mp3blaster-3.2.6/src/id3parse.h
Examining data/mp3blaster-3.2.6/src/fileman.cc
Examining data/mp3blaster-3.2.6/src/winitem.h
Examining data/mp3blaster-3.2.6/src/splay.cc
Examining data/mp3blaster-3.2.6/src/scrollwin.h
Examining data/mp3blaster-3.2.6/src/fileman.h
Examining data/mp3blaster-3.2.6/src/getopt_local.h
Examining data/mp3blaster-3.2.6/src/splay_common.cc
Examining data/mp3blaster-3.2.6/src/getinput.h
Examining data/mp3blaster-3.2.6/src/exceptions.h
Examining data/mp3blaster-3.2.6/src/getopt1.c
Examining data/mp3blaster-3.2.6/src/config.cc
Examining data/mp3blaster-3.2.6/src/mp3item.h
Examining data/mp3blaster-3.2.6/src/mp3item.cc
Examining data/mp3blaster-3.2.6/src/history.h
Examining data/mp3blaster-3.2.6/src/keybindings.h
Examining data/mp3blaster-3.2.6/src/genretab.h
Examining data/mp3blaster-3.2.6/src/global.cc
Examining data/mp3blaster-3.2.6/src/main.cc
Examining data/mp3blaster-3.2.6/src/mp3win.cc
Examining data/mp3blaster-3.2.6/src/id3parse.cc
Examining data/mp3blaster-3.2.6/src/getopt.c
Examining data/mp3blaster-3.2.6/src/mp3tag.cc
Examining data/mp3blaster-3.2.6/src/history.cc
Examining data/mp3blaster-3.2.6/src/mp3win.h
Examining data/mp3blaster-3.2.6/src/winitem.cc
Examining data/mp3blaster-3.2.6/src/getinput.cc
Examining data/mp3blaster-3.2.6/src/mp3blaster.h

FINAL RESULTS:

data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:349: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(info.mode, server->getmodestring());
data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:354: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(info.songname, server->getname());
data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:355: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(info.artist, server->getartist());
data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:356: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(info.comment, server->getcomment());
data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:357: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(info.year, server->getyear());
data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:358: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(info.album, server->getalbum());
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:150: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(url, urrel);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:224: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(request,httpstr);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:225: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(request,purl);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:238: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 (request, sptr);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:245: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(request, host);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:250:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (agent, "User-Agent: %s/%s\r\n\r\n",
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:252: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 (request, agent);
data/mp3blaster-3.2.6/nmixer/nmixer.cc:43:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(this->mixdev, MIXER_DEVICE);
data/mp3blaster-3.2.6/nmixer/nmixer.cc:48: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(this->mixdev, mixdev);
data/mp3blaster-3.2.6/nmixer/nmixer.cc:180: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(mixdev, MIXER_DEVICE);
data/mp3blaster-3.2.6/nmixer/nmixer.cc:185:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(mixdev, "%s%d", MIXER_DEVICE, mixNr);
data/mp3blaster-3.2.6/src/config.cc:716:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(errstring, "In config file, line %04d: %s", lineno, dummy);
data/mp3blaster-3.2.6/src/config.cc:718:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(errstring, "%s", dummy);
data/mp3blaster-3.2.6/src/fileman.cc:111: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(path, tmppwd);
data/mp3blaster-3.2.6/src/fileman.cc:217: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(entries[diritems - 1], entry->d_name);
data/mp3blaster-3.2.6/src/fileman.cc:248: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(dirs[dircount], entries[i]);
data/mp3blaster-3.2.6/src/fileman.cc:326:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(fdesc, "[%4d%s] %s", fsize, fsizedesc, entries[i]);
data/mp3blaster-3.2.6/src/global.cc:126: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(new_path, hd);
data/mp3blaster-3.2.6/src/global.cc:130: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(new_path, org_path+1);
data/mp3blaster-3.2.6/src/global.cc:141:17:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		int scanval = sscanf(org_path, "~%[^/]/%s", user, rest_path);
data/mp3blaster-3.2.6/src/global.cc:155: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(new_path, hd);
data/mp3blaster-3.2.6/src/global.cc:157: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(new_path, rest_path);
data/mp3blaster-3.2.6/src/global.cc:162: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(new_path, hd);
data/mp3blaster-3.2.6/src/global.cc:188:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(to_open, "%s/%s", homedir, flnam);
data/mp3blaster-3.2.6/src/global.cc:194:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf,1024,fmt,ap);
data/mp3blaster-3.2.6/src/global.cc:234: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(line, tmp);
data/mp3blaster-3.2.6/src/global.cc:266: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(newstring, tmpstring);
data/mp3blaster-3.2.6/src/global.cc:319: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(new_path, a);
data/mp3blaster-3.2.6/src/global.cc:480: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(filename, flname);
data/mp3blaster-3.2.6/src/global.cc:487: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(filename, flname+(strlen(flname)-length));
data/mp3blaster-3.2.6/src/global.cc:493: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(filename,flname);
data/mp3blaster-3.2.6/src/global.cc:588:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(id3name, "[ID3] %s - %s", artist, song);
data/mp3blaster-3.2.6/src/global.cc:609: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(result, (char*)filename);
data/mp3blaster-3.2.6/src/global.cc: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(result2, result);
data/mp3blaster-3.2.6/src/id3parse.cc:24: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(flnam, filename);
data/mp3blaster-3.2.6/src/main.cc:474:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(itemname, "%s/%s", path, selitems[i]);
data/mp3blaster-3.2.6/src/main.cc:476:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(itemname, "%s%s", path, selitems[i]);
data/mp3blaster-3.2.6/src/main.cc:557: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(file, pwd);
data/mp3blaster-3.2.6/src/main.cc:560: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(file, selitems[i]);
data/mp3blaster-3.2.6/src/main.cc:910:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmpname, "[%s]", name);	
data/mp3blaster-3.2.6/src/main.cc:995:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(title, "%02d:%s", globalopts.current_group, tmp);
data/mp3blaster-3.2.6/src/main.cc:1449: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(currentPath, line);
data/mp3blaster-3.2.6/src/main.cc:1479:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(name, filename);
data/mp3blaster-3.2.6/src/main.cc:1487: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(newname, startup_path);
data/mp3blaster-3.2.6/src/main.cc:1488: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(newname, name);
data/mp3blaster-3.2.6/src/main.cc:1576:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(gname, "%s<GROUP NAME=\"%s\"%s>\n", indent_string,
data/mp3blaster-3.2.6/src/main.cc:1592:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(gname, "%s</GROUP>\n", indent_string);
data/mp3blaster-3.2.6/src/main.cc:1606:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(itemname, "%s%s\n", indent_string, tmpname);
data/mp3blaster-3.2.6/src/main.cc:1643:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(globalstr, "<GLOBAL PLAYMODE=\"%s\"%s>\n", pmstr,
data/mp3blaster-3.2.6/src/main.cc:1671: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(newname, startup_path);
data/mp3blaster-3.2.6/src/main.cc:1672: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(newname, name);
data/mp3blaster-3.2.6/src/main.cc:2155: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(playopts.one_mp3, mp3);
data/mp3blaster-3.2.6/src/main.cc:2184: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(newmp3,playopts.one_mp3);
data/mp3blaster-3.2.6/src/main.cc:2282: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(songinf.warning, get_error_string(vaut));
data/mp3blaster-3.2.6/src/main.cc:2359: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(song, tmpsong);
data/mp3blaster-3.2.6/src/main.cc:2468: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(songinf.path, sp);
data/mp3blaster-3.2.6/src/main.cc:2534: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(selected_files[offset], file);
data/mp3blaster-3.2.6/src/main.cc:2638: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(newpath, path);
data/mp3blaster-3.2.6/src/main.cc:2641: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(newpath, entry->d_name);
data/mp3blaster-3.2.6/src/main.cc:2738:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(rnpath, "[%s]", npath);
data/mp3blaster-3.2.6/src/main.cc:3288: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(selitems[0], fm->getSelectedItem());
data/mp3blaster-3.2.6/src/main.cc:3297: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(fullpath, halfpath);
data/mp3blaster-3.2.6/src/main.cc:3298: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(fullpath, selitems[i]);
data/mp3blaster-3.2.6/src/main.cc:3325:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(bla, "%s/%s", fm->getPath(), fm->getSelectedItem());
data/mp3blaster-3.2.6/src/main.cc:3481:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(configfile, "%s/%s", MP3BLASTER_DOCDIR, "commands.txt");
data/mp3blaster-3.2.6/src/main.cc:3603: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(selitems[0], file_window->getSelectedItem());
data/mp3blaster-3.2.6/src/main.cc:3625: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(file, pwd);
data/mp3blaster-3.2.6/src/main.cc:3628: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(file, selitems[i]);
data/mp3blaster-3.2.6/src/main.cc:3630: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(file2write, dir2write);
data/mp3blaster-3.2.6/src/main.cc:3633: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(file2write, selitems[i]);
data/mp3blaster-3.2.6/src/main.cc:3649:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(bla, "Decoding of %s failed.", selitems[i]);
data/mp3blaster-3.2.6/src/main.cc:3657:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(bla, "Converting '%s' to wavefile, please wait.", 
data/mp3blaster-3.2.6/src/main.cc:3760: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(tmp, fw_searchstring);
data/mp3blaster-3.2.6/src/main.cc:3783: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(fw_searchstring, tmp);
data/mp3blaster-3.2.6/src/main.cc:3785:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(bla, "Search: %s", fw_searchstring);
data/mp3blaster-3.2.6/src/main.cc:3810: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(globalopts.sound_device, devname);
data/mp3blaster-3.2.6/src/main.cc:3823: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(globalopts.mixer_device, devname);
data/mp3blaster-3.2.6/src/main.cc:3870: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(globalopts.extensions[i], matches[i]);
data/mp3blaster-3.2.6/src/main.cc:3898: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(globalopts.plist_exts[i], matches[i]);
data/mp3blaster-3.2.6/src/main.cc:4106: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(song, mysong);
data/mp3blaster-3.2.6/src/main.cc:4269:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(bla, "%s (%s)", (si.album && strlen(si.album) ? si.album :
data/mp3blaster-3.2.6/src/main.cc:4416:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(desc, "[%3s] %-19s ", keylabel, k.desc);
data/mp3blaster-3.2.6/src/main.cc:4418: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(line, desc);
data/mp3blaster-3.2.6/src/main.cc:4420: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(line, desc);
data/mp3blaster-3.2.6/src/main.cc:4498:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(label, "%s", kl.desc);
data/mp3blaster-3.2.6/src/main.cc:4734: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(baddir, oldpath);
data/mp3blaster-3.2.6/src/main.cc:4735: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(baddir, app_path);
data/mp3blaster-3.2.6/src/main.cc:4760: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(baddir, baditem);
data/mp3blaster-3.2.6/src/main.cc:5028:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, 1024, txt, ap);
data/mp3blaster-3.2.6/src/main.cc:5177:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmp_pfile, "%s.lst", playlistfile);
data/mp3blaster-3.2.6/src/main.cc:5242:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(new_path, "%s/%s", base_path, newname);
data/mp3blaster-3.2.6/src/main.cc:5261:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(warningmsg, "Rename failed: %s", errormsg);
data/mp3blaster-3.2.6/src/main.cc:5506: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(init_playlist, optarg);
data/mp3blaster-3.2.6/src/main.cc:5528: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(init_playlist, optarg);
data/mp3blaster-3.2.6/src/main.cc:5544: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(chroot_dir, optarg);
data/mp3blaster-3.2.6/src/main.cc:5549:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(tmp.play_mode, optarg);
data/mp3blaster-3.2.6/src/main.cc:5622: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(playmp3s[i - optind], argv[i]);
data/mp3blaster-3.2.6/src/mp3tag.cc:250: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(h1->songname, h2->songname);
data/mp3blaster-3.2.6/src/mp3tag.cc:251: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(h1->artist, h2->artist);
data/mp3blaster-3.2.6/src/mp3tag.cc:252: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(h1->type, h2->type);
data/mp3blaster-3.2.6/src/mp3tag.cc:253: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(h1->year, h2->year);
data/mp3blaster-3.2.6/src/mp3tag.cc:254: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(h1->etc, h2->etc);
data/mp3blaster-3.2.6/src/mp3win.cc:42: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(group_header, header);
data/mp3blaster-3.2.6/src/mp3win.cc:43: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(group_header, getTitle());
data/mp3blaster-3.2.6/src/scrollwin.cc:209: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(sw_title, tmp);
data/mp3blaster-3.2.6/src/scrollwin.cc:940: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(arr[i], bla);
data/mp3blaster-3.2.6/src/scrollwin.cc:1032: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(selitems[i], bla);
data/mp3blaster-3.2.6/src/scrollwin.cc:1162:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buff, "%03d: %s\n", i++, tmp->getName(0));
data/mp3blaster-3.2.6/src/splay_common.cc:195:2:  [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,fmt,ap);
data/mp3blaster-3.2.6/src/winitem.cc:65: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(names[index].value, name);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:169:31:  [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 (!proxyurl && !(proxyurl=getenv("MP3_HTTP_PROXY")) && 
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:170:15:  [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.
			!(proxyurl=getenv("http_proxy")))
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:172:15:  [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.
			proxyurl = getenv("HTTP_PROXY");
data/mp3blaster-3.2.6/nmixer/getopt.c:211: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/mp3blaster-3.2.6/nmixer/getopt.c:402: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/mp3blaster-3.2.6/nmixer/getopt.c:968: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/mp3blaster-3.2.6/nmixer/getopt.c:998: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/mp3blaster-3.2.6/nmixer/getopt1.c:67: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/mp3blaster-3.2.6/nmixer/getopt1.c:123: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/mp3blaster-3.2.6/nmixer/getopt_local.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/mp3blaster-3.2.6/nmixer/getopt_local.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/mp3blaster-3.2.6/nmixer/getopt_local.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/mp3blaster-3.2.6/nmixer/getopt_local.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/mp3blaster-3.2.6/nmixer/getopt_local.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/mp3blaster-3.2.6/nmixer/main.cc:75:7:  [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, "s:d:q");
data/mp3blaster-3.2.6/nmixer/main.cc:112:24:  [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 *devnam = getenv("DISPLAY");
data/mp3blaster-3.2.6/src/getopt.c:211: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/mp3blaster-3.2.6/src/getopt.c:402: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/mp3blaster-3.2.6/src/getopt.c:968: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/mp3blaster-3.2.6/src/getopt.c:998: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/mp3blaster-3.2.6/src/getopt1.c:68: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/mp3blaster-3.2.6/src/getopt1.c:124: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/mp3blaster-3.2.6/src/getopt_local.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/mp3blaster-3.2.6/src/getopt_local.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/mp3blaster-3.2.6/src/getopt_local.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/mp3blaster-3.2.6/src/getopt_local.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/mp3blaster-3.2.6/src/getopt_local.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/mp3blaster-3.2.6/src/main.cc:5453:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand((unsigned int)time(&t));
data/mp3blaster-3.2.6/src/main.cc:5483:7:  [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, "28a:c:df:hl:m:no:p:qRr:s:t:v", long_options,
data/mp3blaster-3.2.6/src/main.cc:5736:7:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
		if (chroot(chroot_dir) < 0) {
data/mp3blaster-3.2.6/src/mp3tag.cc:110:16:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ( (c =  getopt(argc, argv, "a:c:d:e:g:k:l:m:n:p:rs:t:u:y:")) != EOF)
data/mp3blaster-3.2.6/src/splay.cc:131: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.
  while((c=getopt(argc,argv,
data/mp3blaster-3.2.6/src/splay_common.cc:178:3:  [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(&t));
data/mp3blaster-3.2.6/src/splay_common.cc:182:7:  [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.
    p=random()%i;
data/mp3blaster-3.2.6/doc/charmap/maketbl.c:9: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).
    fFrom=fopen(argv[1], "r");
data/mp3blaster-3.2.6/doc/charmap/maketbl.c:10:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fTo=fopen(argv[2], "r");
data/mp3blaster-3.2.6/mpegsound/bitwindow.cc:24: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 store[4];
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc:191:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf, buffer + readIndex, toread);
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc:197:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf, buffer + readIndex, len);
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc:205: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(buf + bytesRead, buffer, toread);
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc:226:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer + writeIndex, buf, towrite);
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc:232:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer + writeIndex, buf, len);
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc:240: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(buffer, buf + bytesWritten, towrite);
data/mp3blaster-3.2.6/mpegsound/fileinput.cc:33:32:  [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).
bool Soundinputstreamfromfile::open(const char *filename)
data/mp3blaster-3.2.6/mpegsound/fileinput.cc:43: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).
  else if((fp=fopen(filename,"r"))==NULL)
data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:213: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(info.mode, "stereo");
data/mp3blaster-3.2.6/mpegsound/fileplayer.cc:215: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(info.mode, "mono");
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:120:9:  [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).
  *port=atoi(++cptr);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:138: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 agent[50];
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:220: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(request,"GET ");
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:241: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(request, " HTTP/1.1\r\n");
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:244: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(request, "Host: ");
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:246: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(request, "\r\n");
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:344:32:  [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).
bool Soundinputstreamfromhttp::open(const char *url)
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:232: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 songname[31];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:233: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 artist[31];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:234: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 comment[31];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:235: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 year[5];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h: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 album[31];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:238: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 mode[20];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:260:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  virtual bool open(const char *filename)              =0;
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:288: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).
  bool open(const char *filename);
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:311: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).
  bool open(const char *filename);
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:611: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 buffer[2*WINDOWSIZE];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:760: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 name   [30+1];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:761: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 artist [30+1];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:762: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 album  [30+1];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:763: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 year   [ 4+1];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:764: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 comment[30+1];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:804: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.
    unsigned char store[4];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:807: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 buffer[4096];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:1000: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 option[30];
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:1123: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 soundbuf[4096];
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:251: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(sound_buf+offset,bufje->data,bufje->framesize);
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:370: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[100];
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:372: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(d, "Framenumber = %d\n", framenumber);
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:392: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(d,"Bumped into an unset frame position (%d)!\n", framenumber);
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:399: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(d,"Found first initialized frame at %d bytes (framenumber %d)\n", 
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:589: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 store[4];
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:675:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	 memcpy(bufje->data,rawdata,bufje->framesize);
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:690:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(threadqueue.buffer+(threadqueue.tail*RAWDATASIZE),rawdata,
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:1073: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[100];
data/mp3blaster-3.2.6/mpegsound/mpegtoraw.cc:1099: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(d, "Found first offset at %d (%d/%d)\n", loader->getposition(),
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:56:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(f = fopen(filename, "r")))
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:97: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 hdr[strlen(*ptr)+1], value[strlen(*ptr)+1];
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:185: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 bla[100];
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:186: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(bla, "channels/wordsize/rate=%d/%d/%ld\n",vi->channels,wordsize,
data/mp3blaster-3.2.6/mpegsound/rawplayer.cc:58:9:  [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).
	handle=open("/dev/mixer",O_RDWR);
data/mp3blaster-3.2.6/mpegsound/rawplayer.cc:112:18:  [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((audiohandle=open(filename,O_WRONLY|O_NDELAY,0))==-1)
data/mp3blaster-3.2.6/mpegsound/rawplayer.cc:114:18:  [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((audiohandle=open(filename,O_WRONLY,0))==-1)
data/mp3blaster-3.2.6/mpegsound/rawplayer.cc:220:19:  [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((audiohandle=open(filename,O_WRONLY|O_NDELAY,0))==-1)
data/mp3blaster-3.2.6/mpegsound/rawplayer.cc:222:19:  [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((audiohandle=open(filename,O_WRONLY,0))==-1)
data/mp3blaster-3.2.6/mpegsound/rawplayer.cc:451:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char fiepje[255];
data/mp3blaster-3.2.6/mpegsound/rawplayer.cc:452: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(fiepje,"Partial/bad write, wsize=%d remainsize=%d wbuf=%d (%d)\n",
data/mp3blaster-3.2.6/mpegsound/rawtofile.cc:28:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char byte_represent[4];
data/mp3blaster-3.2.6/mpegsound/rawtofile.cc:33: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 byte_represent[2];
data/mp3blaster-3.2.6/mpegsound/soundinputstream.cc:46: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).
	if (!st->open(filename))
data/mp3blaster-3.2.6/mpegsound/wavetoraw.cc:31: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 byte_represent[4];
data/mp3blaster-3.2.6/mpegsound/wavetoraw.cc:36: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 byte_represent[2];
data/mp3blaster-3.2.6/mpegsound/wavetoraw.cc:82: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 tmpbuffer[1024];
data/mp3blaster-3.2.6/mpegsound/xingheader.cc:105:24:  [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.
int SeekPoint(unsigned char TOC[100], int file_bytes, float percent)
data/mp3blaster-3.2.6/mpegsound/xingheader.h:53:24:  [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.
int SeekPoint(unsigned char TOC[100], int file_bytes, float percent);
data/mp3blaster-3.2.6/nmixer/getopt.c:330: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/mp3blaster-3.2.6/nmixer/getopt.c:442:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (__getopt_nonoption_flags, orig_str, len);
data/mp3blaster-3.2.6/nmixer/main.cc:207: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 soundlabel[10];
data/mp3blaster-3.2.6/nmixer/mixers.cc:41: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(ret, devs, sizeof(int) * num_devs);
data/mp3blaster-3.2.6/nmixer/nasmixer.cc:22:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(d + i, t, sizeof(AuDeviceAttributes));
data/mp3blaster-3.2.6/nmixer/ossmixer.cc:23:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	mixer = open(mixerDevice, O_RDWR);
data/mp3blaster-3.2.6/src/config.cc:191: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 errstring[256];
data/mp3blaster-3.2.6/src/config.cc:203:3:  [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).
		atoi(string) == 1)
data/mp3blaster-3.2.6/src/config.cc:206:3:  [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).
		atoi(string) == 0)
data/mp3blaster-3.2.6/src/config.cc:215:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if ((!sscanf(string, "%d", &tmp) || tmp != atoi(string)) && succeed)
data/mp3blaster-3.2.6/src/config.cc:601:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char keyword[strlen(line)+1],
data/mp3blaster-3.2.6/src/config.cc:694: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 dummy[100];
data/mp3blaster-3.2.6/src/config.cc:698: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(dummy, "Too many values");
data/mp3blaster-3.2.6/src/config.cc:701: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(dummy, "Bad value[s]");
data/mp3blaster-3.2.6/src/config.cc:704: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(dummy, "Unknown keyword");
data/mp3blaster-3.2.6/src/config.cc:707: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(dummy, "File not found");
data/mp3blaster-3.2.6/src/config.cc:710: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(dummy, "Bad Value");
data/mp3blaster-3.2.6/src/config.cc:713: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(dummy, "Unkown error");
data/mp3blaster-3.2.6/src/config.cc:759:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(f = fopen(filename, "r")))
data/mp3blaster-3.2.6/src/fileman.cc:231: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 *dirs[diritems];
data/mp3blaster-3.2.6/src/fileman.cc:246:22:  [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.
			dirs[dircount] = (char *)malloc((strlen(entries[i]) + 2) *
data/mp3blaster-3.2.6/src/fileman.cc:274: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
data/mp3blaster-3.2.6/src/getopt.c:330: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/mp3blaster-3.2.6/src/getopt.c:442:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		  memcpy (__getopt_nonoption_flags, orig_str, len);
data/mp3blaster-3.2.6/src/global.cc:136: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
data/mp3blaster-3.2.6/src/global.cc:175:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/mp3blaster-3.2.6/src/global.cc:187: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 to_open[strlen(homedir) + strlen(flnam) + 2];
data/mp3blaster-3.2.6/src/global.cc:189:22:  [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 (!(debug_info = fopen(to_open, "a")))
data/mp3blaster-3.2.6/src/global.cc:215: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 tmp[256];
data/mp3blaster-3.2.6/src/global.cc:502:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *f = fopen(filename, "r");
data/mp3blaster-3.2.6/src/id3parse.cc:98: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(flnam, "r")))
data/mp3blaster-3.2.6/src/id3parse.cc:106: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[40];
data/mp3blaster-3.2.6/src/id3parse.cc:183: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).
	FILE *fp = fopen(flnam, "r+");
data/mp3blaster-3.2.6/src/id3parse.h:9: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 songname[31];
data/mp3blaster-3.2.6/src/id3parse.h:10: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 artist[31];
data/mp3blaster-3.2.6/src/id3parse.h:11: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 type[31];
data/mp3blaster-3.2.6/src/id3parse.h:12: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 year[5];
data/mp3blaster-3.2.6/src/id3parse.h:13: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 etc[31];
data/mp3blaster-3.2.6/src/main.cc:252: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 tag[80];
data/mp3blaster-3.2.6/src/main.cc:253: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 keywords[5][80];
data/mp3blaster-3.2.6/src/main.cc:254: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 values[5][255];
data/mp3blaster-3.2.6/src/main.cc:471:21:  [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 *itemname = (char *)malloc(strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:492: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 *bla[4];
data/mp3blaster-3.2.6/src/main.cc:636: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 klabel[4];
data/mp3blaster-3.2.6/src/main.cc:669: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 klabel[4];
data/mp3blaster-3.2.6/src/main.cc:728: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 klabel[4];
data/mp3blaster-3.2.6/src/main.cc:909: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 tmpname[strlen(name)+3];
data/mp3blaster-3.2.6/src/main.cc:921: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 emptyline[width+1];
data/mp3blaster-3.2.6/src/main.cc:1015:40:  [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).
				((mp3Win*)sw)->setPlaymode((short)(atoi(tmp) ? 1 : 0));
data/mp3blaster-3.2.6/src/main.cc:1031:12:  [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 *bla[4];
data/mp3blaster-3.2.6/src/main.cc:1357:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!filename || !(f = fopen(filename, "r")))
data/mp3blaster-3.2.6/src/main.cc:1441: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 *bla[4];
data/mp3blaster-3.2.6/src/main.cc:1493:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(name, "r");
data/mp3blaster-3.2.6/src/main.cc:1516: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 tmp[strlen(line)+1];
data/mp3blaster-3.2.6/src/main.cc:1626:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *f = fopen(filename, "w");
data/mp3blaster-3.2.6/src/main.cc:1628: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 globalstr[255];
data/mp3blaster-3.2.6/src/main.cc:1682:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(name, "w");
data/mp3blaster-3.2.6/src/main.cc:2208: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 *sound_errors[21] =
data/mp3blaster-3.2.6/src/main.cc:2737: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 rnpath[strlen(npath)+3];
data/mp3blaster-3.2.6/src/main.cc:2749: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.
				const char *bla[4];
data/mp3blaster-3.2.6/src/main.cc:3322: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
data/mp3blaster-3.2.6/src/main.cc:3538: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 emptyline[stextlen + 1];
data/mp3blaster-3.2.6/src/main.cc:3636:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(".wav", (void*)(file2write + (len - 4)), 4);
data/mp3blaster-3.2.6/src/main.cc:3638: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(file2write, ".wav");
data/mp3blaster-3.2.6/src/main.cc:3642:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char bla[strlen(file)+80];
data/mp3blaster-3.2.6/src/main.cc:3784: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 bla[strlen(fw_searchstring)+20];
data/mp3blaster-3.2.6/src/main.cc:4130:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(status_file, "w");
data/mp3blaster-3.2.6/src/main.cc:4212: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 bla[64];
data/mp3blaster-3.2.6/src/main.cc:4395: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[80], desc[27], keylabel[4];
data/mp3blaster-3.2.6/src/main.cc:4481: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(label, " %c ", k);
data/mp3blaster-3.2.6/src/main.cc:4488: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(label, "F%2d", i);
data/mp3blaster-3.2.6/src/main.cc:4504: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(label, "s%02x", (unsigned int)k);
data/mp3blaster-3.2.6/src/main.cc:4652: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 emptyline[width+1];
data/mp3blaster-3.2.6/src/main.cc:4668: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 empty[mywidth+1];
data/mp3blaster-3.2.6/src/main.cc:4914: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 emptyline[maxlen + 1];
data/mp3blaster-3.2.6/src/main.cc:5022: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[1025];
data/mp3blaster-3.2.6/src/main.cc:5287: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.
	unsigned char buf[512],*p,*q;
data/mp3blaster-3.2.6/src/main.cc:5293:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fp=fopen((char *)charMapFileName,"r")) == NULL)
data/mp3blaster-3.2.6/src/main.cc:5559:14:  [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).
			tmp.fpl = atoi(optarg);
data/mp3blaster-3.2.6/src/main.cc:5570:18:  [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).
			tmp.threads = atoi(optarg);
data/mp3blaster-3.2.6/src/main.cc:5777: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 *bla[4];
data/mp3blaster-3.2.6/src/mp3blaster.h:70: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 desc[20]; //textlength is 19 max, 1 for terminating \0
data/mp3blaster-3.2.6/src/mp3blaster.h:77: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 desc[4];
data/mp3blaster-3.2.6/src/mp3blaster.h:134: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 plugname[20];
data/mp3blaster-3.2.6/src/mp3blaster.h:135: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 desc[4]; //maxlen of desc = 3
data/mp3blaster-3.2.6/src/mp3tag.cc:47: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 mode[20];
data/mp3blaster-3.2.6/src/mp3tag.cc:127:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				cdnr = atoi(optarg);
data/mp3blaster-3.2.6/src/mp3tag.cc:159:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				hdr->genre = (unsigned char)atoi(optarg);
data/mp3blaster-3.2.6/src/mp3tag.cc:164:18:  [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).
				hdr->track = atoi(optarg);
data/mp3blaster-3.2.6/src/mp3tag.cc:271:15:  [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 (!loader->open((char*)flnam))
data/mp3blaster-3.2.6/src/mp3tag.cc:357: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 track[50];
data/mp3blaster-3.2.6/src/mp3tag.cc:359: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(track, "Track: %02d", header->track);
data/mp3blaster-3.2.6/src/mp3tag.cc:363: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 balkje[81];
data/mp3blaster-3.2.6/src/mp3win.cc:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[20];
data/mp3blaster-3.2.6/src/mp3win.cc:54: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(temp, "PLAYMODE: %1d\n", playmode);
data/mp3blaster-3.2.6/src/scrollwin.cc:253:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char bla[50];sprintf(bla,"swRefresh(%d): no next item!!!\n",
data/mp3blaster-3.2.6/src/scrollwin.cc:253:17:  [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.
			char bla[50];sprintf(bla,"swRefresh(%d): no next item!!!\n",
data/mp3blaster-3.2.6/src/scrollwin.cc:292: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[maxdrawlen + 1];
data/mp3blaster-3.2.6/src/scrollwin.cc:483: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 *bla[2] = { item, NULL };
data/mp3blaster-3.2.6/src/scrollwin.cc:1154: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 overview[100];
data/mp3blaster-3.2.6/src/scrollwin.cc:1155: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(overview, "Total items: %d\n", nitems);
data/mp3blaster-3.2.6/src/scrollwin.cc:1161: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 buff[500];
data/mp3blaster-3.2.6/src/scrollwin.cc:1171: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 fiets[100];
data/mp3blaster-3.2.6/src/scrollwin.cc:1172: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(fiets, "sw_selection: %3d sr[0]: %3d sr[1]: %3d nitems: %3d\n",
data/mp3blaster-3.2.6/src/splay.h:20: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 *splay_list[MAXLISTSIZE];
data/mp3blaster-3.2.6/src/splay_common.cc:24: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 *splay_list[MAXLISTSIZE];
data/mp3blaster-3.2.6/src/splay_common.cc:35: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 *splay_Sounderrors[SOUND_ERROR_UNKNOWN]=
data/mp3blaster-3.2.6/src/splay_common.cc:91: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 songfilename[MAXFILENAMELENGTH*2];
data/mp3blaster-3.2.6/src/splay_common.cc:111: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 songfile[MAXFILENAMELENGTH];
data/mp3blaster-3.2.6/src/winitem.cc:93: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(names[index].value, "no name");
data/mp3blaster-3.2.6/doc/charmap/maketbl.c:14:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        in=fgetc(fFrom);
data/mp3blaster-3.2.6/doc/charmap/maketbl.c:15:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        out=fgetc(fTo);
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.cc:27:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CyclicBuffer::read(unsigned char * const buf, const unsigned int amount,
data/mp3blaster-3.2.6/mpegsound/cyclicbuffer.h:27:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read(unsigned char * const buf, const unsigned int amount,
data/mp3blaster-3.2.6/mpegsound/fileinput.cc:64:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if((c=getc(fp))<0)
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:41:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int result,bytes=strlen(string);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:85:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dst, src, num);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:149: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).
	url = new char[strlen(urrel) + 2];
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:160: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(url) > 0 && url[strlen(url)-1] != '/' && slash_count == 2)
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:160: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 (strlen(url) > 0 && url[strlen(url)-1] != '/' && slash_count == 2)
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:163: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).
		url[strlen(url)] = '/';
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:164: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).
		url[strlen(url)+1] = '\0';
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:198:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(purl,url,1022);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:209: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 ((linelength = strlen(purl) * 2 + 100) < 1024)
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:317:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy (purl,request+10,1023);
data/mp3blaster-3.2.6/mpegsound/httpinput.cc:361:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if((c=getc(fp))<0)
data/mp3blaster-3.2.6/mpegsound/mpegsound.h:40: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 USLEEP(x) usleep(x)
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:97: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).
		char hdr[strlen(*ptr)+1], value[strlen(*ptr)+1];
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:97: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).
		char hdr[strlen(*ptr)+1], value[strlen(*ptr)+1];
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:104:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(info.album, value, 30);
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:109:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(info.artist, value, 30);
data/mp3blaster-3.2.6/mpegsound/oggplayer.cc:114:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(info.songname, value, 30);
data/mp3blaster-3.2.6/mpegsound/sdlplayer.cc:100:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	(void)myBuffer->read((unsigned char * const)stream, (unsigned int)len);
data/mp3blaster-3.2.6/mpegsound/sdlplayer.cc:177:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(10000); //sleep 10 millisec
data/mp3blaster-3.2.6/nmixer/getopt.c:235: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/mp3blaster-3.2.6/nmixer/getopt.c:433: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/mp3blaster-3.2.6/nmixer/getopt.c:657: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/mp3blaster-3.2.6/nmixer/getopt.c:681: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/mp3blaster-3.2.6/nmixer/getopt.c:711: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/mp3blaster-3.2.6/nmixer/getopt.c:727: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/mp3blaster-3.2.6/nmixer/getopt.c:732: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/mp3blaster-3.2.6/nmixer/getopt.c:843: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/mp3blaster-3.2.6/nmixer/getopt.c:866: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/mp3blaster-3.2.6/nmixer/getopt.c:886: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/mp3blaster-3.2.6/nmixer/getopt.c:900: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/mp3blaster-3.2.6/nmixer/getopt.c:904: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/mp3blaster-3.2.6/nmixer/main.cc:103: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).
	mvprintw(0, (COLS - strlen(MYVERSION)) / 2, MYVERSION);
data/mp3blaster-3.2.6/nmixer/nmixer.cc:42: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).
		this->mixdev = new char[strlen(MIXER_DEVICE)+1];
data/mp3blaster-3.2.6/nmixer/nmixer.cc:47: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).
		this->mixdev = new char[strlen(mixdev)+1];
data/mp3blaster-3.2.6/nmixer/nmixer.cc:179: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).
		mixdev = new char[strlen(MIXER_DEVICE) + 1];
data/mp3blaster-3.2.6/nmixer/nmixer.cc:184: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).
		mixdev = new char[strlen(MIXER_DEVICE) + 2];
data/mp3blaster-3.2.6/nmixer/nmixer.cc:222: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).
			mvwchgat(mixwin, my_y - 1, my_x, strlen(source), A_REVERSE, 
data/mp3blaster-3.2.6/nmixer/nmixer.cc:243:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		mvwchgat(mixwin, yoffset, xoffset, strlen(source), A_NORMAL,
data/mp3blaster-3.2.6/src/config.cc:228: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(string) == 1)
data/mp3blaster-3.2.6/src/config.cc:265: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(string) == 1 && (dum=cf_type_char(string)) != ERR )
data/mp3blaster-3.2.6/src/config.cc:601: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).
	char keyword[strlen(line)+1],
data/mp3blaster-3.2.6/src/config.cc:602: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).
		tmpvals[strlen(line)+1],
data/mp3blaster-3.2.6/src/config.cc:613: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(line) || line[0] == '#' || !strlen((tmpval2 =
data/mp3blaster-3.2.6/src/config.cc:613:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!strlen(line) || line[0] == '#' || !strlen((tmpval2 =
data/mp3blaster-3.2.6/src/config.cc:634:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	values[val_index] = (char*)calloc(strlen(tmpvals)+1, sizeof(char));
data/mp3blaster-3.2.6/src/config.cc:635: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).
	while (i < strlen(tmpvals))
data/mp3blaster-3.2.6/src/config.cc:663:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			values[val_index] = (char*)calloc(strlen(tmpvals)+1, sizeof(char));
data/mp3blaster-3.2.6/src/fileman.cc:55:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(path, "/"); /* if this dir doesn't work, TOO BAD. */
data/mp3blaster-3.2.6/src/fileman.cc:110: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).
	path = new char[strlen(tmppwd) + 2];	
data/mp3blaster-3.2.6/src/fileman.cc:114: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(path, "/");
data/mp3blaster-3.2.6/src/fileman.cc:215: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).
		entries[diritems - 1] = (char *)malloc( (strlen(entry->d_name) + 1) *
data/mp3blaster-3.2.6/src/fileman.cc:246: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).
			dirs[dircount] = (char *)malloc((strlen(entries[i]) + 2) *
data/mp3blaster-3.2.6/src/fileman.cc:249: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(dirs[dircount], "/");
data/mp3blaster-3.2.6/src/fileman.cc:325: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).
			fdesc = new char[strlen(entries[i]) + 10];
data/mp3blaster-3.2.6/src/getinput.cc:23:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(input, prefill, maxlen);
data/mp3blaster-3.2.6/src/getinput.cc:24: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).
		curlen = strlen(prefill);
data/mp3blaster-3.2.6/src/getinput.cc:26: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(prefill) > maxlen)
data/mp3blaster-3.2.6/src/getopt.c:235: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/mp3blaster-3.2.6/src/getopt.c:433: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/mp3blaster-3.2.6/src/getopt.c:657: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/mp3blaster-3.2.6/src/getopt.c:681: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/mp3blaster-3.2.6/src/getopt.c:711: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/mp3blaster-3.2.6/src/getopt.c:727: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/mp3blaster-3.2.6/src/getopt.c:732: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/mp3blaster-3.2.6/src/getopt.c:843: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/mp3blaster-3.2.6/src/getopt.c:866: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/mp3blaster-3.2.6/src/getopt.c:886: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/mp3blaster-3.2.6/src/getopt.c:900: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/mp3blaster-3.2.6/src/getopt.c:904: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/mp3blaster-3.2.6/src/global.cc:108: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(org_path))
data/mp3blaster-3.2.6/src/global.cc:124: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).
		new_path = (char*)malloc((strlen(hd) + strlen(org_path) + 2) *
data/mp3blaster-3.2.6/src/global.cc:124:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_path = (char*)malloc((strlen(hd) + strlen(org_path) + 2) *
data/mp3blaster-3.2.6/src/global.cc:129: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(new_path, "/");
data/mp3blaster-3.2.6/src/global.cc:137: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).
			user[strlen(org_path)+1],
data/mp3blaster-3.2.6/src/global.cc:138:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			rest_path[strlen(org_path)+1],
data/mp3blaster-3.2.6/src/global.cc:152: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).
			new_path = (char*)malloc((strlen(hd)+1+strlen(rest_path)+1) *
data/mp3blaster-3.2.6/src/global.cc:152:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			new_path = (char*)malloc((strlen(hd)+1+strlen(rest_path)+1) *
data/mp3blaster-3.2.6/src/global.cc:156: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(new_path, "/");
data/mp3blaster-3.2.6/src/global.cc:161: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).
			new_path = (char*)malloc((strlen(hd)+2) * sizeof(char));
data/mp3blaster-3.2.6/src/global.cc:163: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(new_path, "/");
data/mp3blaster-3.2.6/src/global.cc:187: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).
		char to_open[strlen(homedir) + strlen(flnam) + 2];
data/mp3blaster-3.2.6/src/global.cc:187: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).
		char to_open[strlen(homedir) + strlen(flnam) + 2];
data/mp3blaster-3.2.6/src/global.cc:197: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).
		(void)fwrite(buf, sizeof(char), strlen(buf), debug_info);
data/mp3blaster-3.2.6/src/global.cc:223: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 (index && strlen(index) == 1) /* terminating \n found */
data/mp3blaster-3.2.6/src/global.cc:232: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).
		line = (char*)realloc(line, (strlen(line) + strlen(tmp) + 1) *
data/mp3blaster-3.2.6/src/global.cc:232:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		line = (char*)realloc(line, (strlen(line) + strlen(tmp) + 1) *
data/mp3blaster-3.2.6/src/global.cc:237:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (line && line[strlen(line) - 1] != '\n') /* no termin. \n! */
data/mp3blaster-3.2.6/src/global.cc:239: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).
		line = (char*)realloc(line, (strlen(line) + 2) * sizeof(char));
data/mp3blaster-3.2.6/src/global.cc:240: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(line, "\n");
data/mp3blaster-3.2.6/src/global.cc:261: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).
	while ( (index = strlen(tmpstring)-1) > -1 &&
data/mp3blaster-3.2.6/src/global.cc:265: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).
	newstring = (char*)malloc((strlen(tmpstring)+1)*sizeof(char));	
data/mp3blaster-3.2.6/src/global.cc:297: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).
		begin = strlen(a) - strlen(last_slash) + 1;
data/mp3blaster-3.2.6/src/global.cc:297: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).
		begin = strlen(a) - strlen(last_slash) + 1;
data/mp3blaster-3.2.6/src/global.cc:318: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).
	new_path = new char[strlen(a) + 1];
data/mp3blaster-3.2.6/src/global.cc:320: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).
	new_path[(strlen(new_path) - strlen(last_slash)) + 1] = '\0';
data/mp3blaster-3.2.6/src/global.cc:320: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).
	new_path[(strlen(new_path) - strlen(last_slash)) + 1] = '\0';
data/mp3blaster-3.2.6/src/global.cc:329: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 (!filename || (len = strlen(filename)) < 5)
data/mp3blaster-3.2.6/src/global.cc:345: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 (!filename || (len = strlen(filename)) < 5)
data/mp3blaster-3.2.6/src/global.cc:361: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 (!filename || (len = strlen(filename)) < 5)
data/mp3blaster-3.2.6/src/global.cc:476: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(flname) || length < 4)
data/mp3blaster-3.2.6/src/global.cc:479: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).
		filename = new char[strlen(flname) + 1];
data/mp3blaster-3.2.6/src/global.cc:484: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(flname) > length)
data/mp3blaster-3.2.6/src/global.cc:487:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strcpy(filename, flname+(strlen(flname)-length));
data/mp3blaster-3.2.6/src/global.cc:492: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).
		filename = new char[strlen(flname)+1];
data/mp3blaster-3.2.6/src/global.cc:558: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(hdr->artist) && !strlen(hdr->songname)) //not enough info
data/mp3blaster-3.2.6/src/global.cc:558: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 (!strlen(hdr->artist) && !strlen(hdr->songname)) //not enough info
data/mp3blaster-3.2.6/src/global.cc:566: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(hdr->artist))
data/mp3blaster-3.2.6/src/global.cc:571:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!strlen(hdr->songname))
data/mp3blaster-3.2.6/src/global.cc:585:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	id3name = (char*)malloc( (strlen(artist) + strlen(song) + 20) *
data/mp3blaster-3.2.6/src/global.cc:585: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).
	id3name = (char*)malloc( (strlen(artist) + strlen(song) + 20) *
data/mp3blaster-3.2.6/src/global.cc:608: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).
		result = new char[strlen((char*)filename) + 1];
data/mp3blaster-3.2.6/src/global.cc:614:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char * result2 = new char[strlen(result) + 1];
data/mp3blaster-3.2.6/src/global.cc:674:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(input, defval, maxlen);
data/mp3blaster-3.2.6/src/global.cc:675: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).
		curlen = strlen(defval);
data/mp3blaster-3.2.6/src/global.cc:677: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(defval) > (unsigned int)maxlen)
data/mp3blaster-3.2.6/src/id3parse.cc:11: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).
		cnt = strlen(s),
data/mp3blaster-3.2.6/src/id3parse.cc:23: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).
	flnam = new char[strlen(filename)+1];
data/mp3blaster-3.2.6/src/id3parse.cc:54:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ( (c = fgetc(fp)) < 0)
data/mp3blaster-3.2.6/src/id3parse.cc:58:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ( fgetc(fp) == 0x41)
data/mp3blaster-3.2.6/src/id3parse.cc:60:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (fgetc(fp) == 0x47)
data/mp3blaster-3.2.6/src/id3parse.cc:110:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(song->songname, buf, 30);
data/mp3blaster-3.2.6/src/id3parse.cc:117:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(song->artist, buf, 30);
data/mp3blaster-3.2.6/src/id3parse.cc:124:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(song->type, buf, 30);
data/mp3blaster-3.2.6/src/id3parse.cc:131:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(song->year, buf, 4);
data/mp3blaster-3.2.6/src/id3parse.cc:138:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(song->etc, buf, 30);
data/mp3blaster-3.2.6/src/main.cc:78: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 USLEEP(x) usleep(x)
data/mp3blaster-3.2.6/src/main.cc:471: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).
		char *itemname = (char *)malloc(strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:472:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(path) + 2);
data/mp3blaster-3.2.6/src/main.cc:473: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 (path[strlen(path) - 1] != '/')
data/mp3blaster-3.2.6/src/main.cc:554: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).
				*file = (char *)malloc((strlen(pwd) + strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:554:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				*file = (char *)malloc((strlen(pwd) + strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:558: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 (pwd[strlen(pwd) - 1] != '/')
data/mp3blaster-3.2.6/src/main.cc:559:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(file, "/");
data/mp3blaster-3.2.6/src/main.cc:578: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).
			const char *oldPtr = oldPath + strlen(oldPath) - 1;
data/mp3blaster-3.2.6/src/main.cc:909: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).
	char tmpname[strlen(name)+3];
data/mp3blaster-3.2.6/src/main.cc:972: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).
				*tmp = (char*)malloc((strlen(line) + 1) * sizeof(char));
data/mp3blaster-3.2.6/src/main.cc:994:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				title = (char*)malloc((strlen(tmp) + 16) * sizeof(char));
data/mp3blaster-3.2.6/src/main.cc:1006: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 = new char[strlen(line) + 1];
data/mp3blaster-3.2.6/src/main.cc:1025: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).
				char *songname = new char[strlen(line) + 1];
data/mp3blaster-3.2.6/src/main.cc:1161: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).
	if (!mystr || !strlen(mystr) || strlen(mystr) < 2 || mystr[0] != '<' ||
data/mp3blaster-3.2.6/src/main.cc:1161: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).
	if (!mystr || !strlen(mystr) || strlen(mystr) < 2 || mystr[0] != '<' ||
data/mp3blaster-3.2.6/src/main.cc:1162: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).
		mystr[strlen(mystr)-1] != '>')
data/mp3blaster-3.2.6/src/main.cc:1166: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).
	mystr[strlen(mystr)-1] = '\0';
data/mp3blaster-3.2.6/src/main.cc:1360: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(filename)>=4)
data/mp3blaster-3.2.6/src/main.cc:1362: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).
		extension = filename + (strlen(filename)-4);
data/mp3blaster-3.2.6/src/main.cc:1372: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(line))
data/mp3blaster-3.2.6/src/main.cc:1411:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					char *gname = new char[strlen(group_name) + 3];
data/mp3blaster-3.2.6/src/main.cc:1412: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).
					memset(gname, '\0', (strlen(group_name) + 3) * sizeof(char));
data/mp3blaster-3.2.6/src/main.cc:1413:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
					strcat(gname, "[");
data/mp3blaster-3.2.6/src/main.cc:1414:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
					strncat(gname, group_name, 48);
data/mp3blaster-3.2.6/src/main.cc:1415:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
					strcat(gname, "]");
data/mp3blaster-3.2.6/src/main.cc:1447:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			currentPath = (char*)realloc(currentPath, (strlen(currentPath) +
data/mp3blaster-3.2.6/src/main.cc:1448:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(line) + 1) * sizeof(char));
data/mp3blaster-3.2.6/src/main.cc:1478:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name = (char*)malloc((strlen(filename)  + 1) * sizeof(char));
data/mp3blaster-3.2.6/src/main.cc:1483: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(name) && name[0] != '/')
data/mp3blaster-3.2.6/src/main.cc:1485:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char *newname = (char*)malloc(strlen(startup_path) +
data/mp3blaster-3.2.6/src/main.cc:1486:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(name) + 1);
data/mp3blaster-3.2.6/src/main.cc:1516: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).
		char tmp[strlen(line)+1];
data/mp3blaster-3.2.6/src/main.cc:1573: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).
				tmp_gname[strlen(tmp_gname)-1] = '\0'; //chop off ']';
data/mp3blaster-3.2.6/src/main.cc:1574:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				char *gname = new char[strlen(indent_string) + strlen(tmp_gname) + 20];
data/mp3blaster-3.2.6/src/main.cc:1574:52:  [1] (buffer) strlen:
  Does not handle 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 *gname = new char[strlen(indent_string) + strlen(tmp_gname) + 20];
data/mp3blaster-3.2.6/src/main.cc:1580:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (fwrite(gname, sizeof(char), strlen(gname), f) < strlen(gname) *
data/mp3blaster-3.2.6/src/main.cc:1580:57:  [1] (buffer) strlen:
  Does not handle 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 (fwrite(gname, sizeof(char), strlen(gname), f) < strlen(gname) *
data/mp3blaster-3.2.6/src/main.cc:1591: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).
				gname = new char[strlen(indent_string) + 10];
data/mp3blaster-3.2.6/src/main.cc:1593:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (fwrite(gname, sizeof(char), strlen(gname), f) < strlen(gname) *
data/mp3blaster-3.2.6/src/main.cc:1593:57:  [1] (buffer) strlen:
  Does not handle 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 (fwrite(gname, sizeof(char), strlen(gname), f) < strlen(gname) *
data/mp3blaster-3.2.6/src/main.cc:1605: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).
			itemname = new char[strlen(indent_string) + strlen(tmpname) + 2];
data/mp3blaster-3.2.6/src/main.cc:1605:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			itemname = new char[strlen(indent_string) + strlen(tmpname) + 2];
data/mp3blaster-3.2.6/src/main.cc:1607:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (fwrite(itemname, sizeof(char), strlen(itemname), f) < 
data/mp3blaster-3.2.6/src/main.cc:1608:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(itemname) * sizeof(char))
data/mp3blaster-3.2.6/src/main.cc:1645:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fwrite(globalstr, sizeof(char), strlen(globalstr), f) !=
data/mp3blaster-3.2.6/src/main.cc:1646:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen(globalstr) * sizeof(char))
data/mp3blaster-3.2.6/src/main.cc:1667: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(name) && name[0] != '/')
data/mp3blaster-3.2.6/src/main.cc:1669:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char *newname = (char*)malloc(strlen(startup_path) +
data/mp3blaster-3.2.6/src/main.cc:1670:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(name) + 1);
data/mp3blaster-3.2.6/src/main.cc:2154: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).
		playopts.one_mp3 = new char[strlen(mp3)+1];
data/mp3blaster-3.2.6/src/main.cc:2183: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).
	newmp3 = new char[strlen(playopts.one_mp3)+1];
data/mp3blaster-3.2.6/src/main.cc:2281: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).
			songinf.warning = new char[strlen(get_error_string(vaut))+1];
data/mp3blaster-3.2.6/src/main.cc:2358: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).
				song = new char[strlen(tmpsong) + 1];
data/mp3blaster-3.2.6/src/main.cc:2467: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).
		songinf.path = new char[strlen(sp)+1];
data/mp3blaster-3.2.6/src/main.cc:2533:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	selected_files[offset] = (char *)malloc((strlen(file) + 1) * sizeof(char));
data/mp3blaster-3.2.6/src/main.cc:2634: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).
		char *newpath = (char *)malloc((strlen(entry->d_name) + 2 + strlen(path)) *
data/mp3blaster-3.2.6/src/main.cc:2634:63:  [1] (buffer) strlen:
  Does not handle 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 *newpath = (char *)malloc((strlen(entry->d_name) + 2 + strlen(path)) *
data/mp3blaster-3.2.6/src/main.cc:2639: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 (path[strlen(path) - 1] != '/')
data/mp3blaster-3.2.6/src/main.cc:2640: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(newpath, "/");
data/mp3blaster-3.2.6/src/main.cc:2732:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (strlen(npath) > 1)
data/mp3blaster-3.2.6/src/main.cc:2737: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).
				char rnpath[strlen(npath)+3];
data/mp3blaster-3.2.6/src/main.cc:2813: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).
	tmppwd = (char *)realloc(tmppwd, strlen(tmppwd) + 2);
data/mp3blaster-3.2.6/src/main.cc:2816: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(tmppwd, "/");
data/mp3blaster-3.2.6/src/main.cc:3287:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				selitems[0] = new char[strlen(fm->getSelectedItem())+1];
data/mp3blaster-3.2.6/src/main.cc:3296: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).
				fullpath = new char[strlen(halfpath) + strlen(selitems[i]) + 1];
data/mp3blaster-3.2.6/src/main.cc:3296: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).
				fullpath = new char[strlen(halfpath) + strlen(selitems[i]) + 1];
data/mp3blaster-3.2.6/src/main.cc:3323: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).
					bla[strlen(fm->getPath()) + strlen(fm->getSelectedItem()) + 2];
data/mp3blaster-3.2.6/src/main.cc:3323: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).
					bla[strlen(fm->getPath()) + strlen(fm->getSelectedItem()) + 2];
data/mp3blaster-3.2.6/src/main.cc:3480: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).
		configfile = new char[strlen(MP3BLASTER_DOCDIR) + 20];
data/mp3blaster-3.2.6/src/main.cc:3569:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (tmp && !strlen(tmp))
data/mp3blaster-3.2.6/src/main.cc:3602: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).
		selitems[0] = new char[strlen(file_window->getSelectedItem()) + 1];
data/mp3blaster-3.2.6/src/main.cc:3619: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).
			*file = new char[(strlen(pwd) + strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:3619:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			*file = new char[(strlen(pwd) + strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:3621:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			*file2write = new char[(strlen(dir2write) + strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:3621:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			*file2write = new char[(strlen(dir2write) + strlen(selitems[i]) +
data/mp3blaster-3.2.6/src/main.cc:3626:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (pwd[strlen(pwd) - 1] != '/')
data/mp3blaster-3.2.6/src/main.cc:3627: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(file, "/");
data/mp3blaster-3.2.6/src/main.cc:3631:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (pwd[strlen(dir2write) - 1] != '/')
data/mp3blaster-3.2.6/src/main.cc:3632: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(file2write, "/");
data/mp3blaster-3.2.6/src/main.cc:3634:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((len = strlen(file2write)) > 4 && !fnmatch(".[mm][pP][23]",
data/mp3blaster-3.2.6/src/main.cc:3642: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).
			char bla[strlen(file)+80];
data/mp3blaster-3.2.6/src/main.cc:3759: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).
		tmp = new char[strlen(fw_searchstring)+2];
data/mp3blaster-3.2.6/src/main.cc:3761: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(tmp, &nxt, 1);
data/mp3blaster-3.2.6/src/main.cc:3768: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 (!strncmp(item, tmp, strlen(tmp)))
data/mp3blaster-3.2.6/src/main.cc:3782: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).
		fw_searchstring = new char[strlen(tmp) + 1];
data/mp3blaster-3.2.6/src/main.cc:3784: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).
		char bla[strlen(fw_searchstring)+20];
data/mp3blaster-3.2.6/src/main.cc:3809: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).
	globalopts.sound_device = new char[strlen(devname)+1];
data/mp3blaster-3.2.6/src/main.cc:3822: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).
	globalopts.mixer_device = new char[strlen(devname)+1];
data/mp3blaster-3.2.6/src/main.cc:3869:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		globalopts.extensions[i] = new char[strlen(matches[i])+1];
data/mp3blaster-3.2.6/src/main.cc:3897:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		globalopts.plist_exts[i] = new char[strlen(matches[i])+1];
data/mp3blaster-3.2.6/src/main.cc:4105: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).
		song = new char[strlen(mysong)+1];
data/mp3blaster-3.2.6/src/main.cc:4263: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(si.artist))
data/mp3blaster-3.2.6/src/main.cc:4266: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).
		printw("%s - %s", (strlen(si.artist) ? si.artist :
data/mp3blaster-3.2.6/src/main.cc:4267: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).
		"<Unknown Artist>"), (strlen(si.songname) ? si.songname : 
data/mp3blaster-3.2.6/src/main.cc:4269:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	sprintf(bla, "%s (%s)", (si.album && strlen(si.album) ? si.album :
data/mp3blaster-3.2.6/src/main.cc:4270:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		"<Unknown Album>"), (si.comment && strlen(si.comment) ? si.comment : 
data/mp3blaster-3.2.6/src/main.cc:4686:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!dirname || !strlen(dirname))
data/mp3blaster-3.2.6/src/main.cc:4733: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).
	baddir = new char[strlen(oldpath) + strlen(app_path) + strlen(baditem) + 1];
data/mp3blaster-3.2.6/src/main.cc:4733:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	baddir = new char[strlen(oldpath) + strlen(app_path) + strlen(baditem) + 1];
data/mp3blaster-3.2.6/src/main.cc:4733:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	baddir = new char[strlen(oldpath) + strlen(app_path) + strlen(baditem) + 1];
data/mp3blaster-3.2.6/src/main.cc:5084:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(tmp->option, option, 29);
data/mp3blaster-3.2.6/src/main.cc:5133:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!pattern || !strlen(pattern))
data/mp3blaster-3.2.6/src/main.cc:5171: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 (!playlistfile || !strlen(playlistfile))
data/mp3blaster-3.2.6/src/main.cc:5176: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).
		tmp_pfile = (char*)malloc((strlen(playlistfile) + 5) * sizeof(char));
data/mp3blaster-3.2.6/src/main.cc:5185: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 (!plistfile || !strlen(plistfile))
data/mp3blaster-3.2.6/src/main.cc:5236: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 (!oldname || !newname || !strlen(newname))
data/mp3blaster-3.2.6/src/main.cc:5241:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *new_path = new char[strlen(base_path) + 1 + strlen(newname) + 1];
data/mp3blaster-3.2.6/src/main.cc:5241:52:  [1] (buffer) strlen:
  Does not handle 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 *new_path = new char[strlen(base_path) + 1 + strlen(newname) + 1];
data/mp3blaster-3.2.6/src/main.cc:5260: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).
		char *warningmsg = new char[strlen(errormsg) + 50];
data/mp3blaster-3.2.6/src/main.cc:5346: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(tabName))
data/mp3blaster-3.2.6/src/main.cc:5505: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).
			init_playlist = new char[strlen(optarg)+1];
data/mp3blaster-3.2.6/src/main.cc:5527: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).
			init_playlist = new char[strlen(optarg)+1];
data/mp3blaster-3.2.6/src/main.cc:5543: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).
			chroot_dir = new char[strlen(optarg)+1];
data/mp3blaster-3.2.6/src/main.cc:5548: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).
			tmp.play_mode = new char[strlen(optarg)+1];
data/mp3blaster-3.2.6/src/main.cc:5620:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			playmp3s[i - optind] = (char*)malloc((strlen(argv[i])+1) * 
data/mp3blaster-3.2.6/src/mp3tag.cc:85:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(a, b, n);
data/mp3blaster-3.2.6/src/mp3tag.cc:292:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(mp3info.mode, mp3->getmodestring(), 19);
data/mp3blaster-3.2.6/src/mp3tag.cc:302:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(oldtag->songname, bla->songname, 30);
data/mp3blaster-3.2.6/src/mp3tag.cc:303:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(oldtag->artist, bla->artist, 30);
data/mp3blaster-3.2.6/src/mp3tag.cc:304:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(oldtag->type, bla->type, 30);
data/mp3blaster-3.2.6/src/mp3tag.cc:305:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(oldtag->year, bla->year, 4);
data/mp3blaster-3.2.6/src/mp3tag.cc:306:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(oldtag->etc, bla->etc, 30);
data/mp3blaster-3.2.6/src/mp3tag.cc:324: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(header->songname))
data/mp3blaster-3.2.6/src/mp3tag.cc:326: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(header->artist))
data/mp3blaster-3.2.6/src/mp3tag.cc:328: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(header->type))
data/mp3blaster-3.2.6/src/mp3tag.cc:330: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(header->year))
data/mp3blaster-3.2.6/src/mp3tag.cc:332: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(header->etc))
data/mp3blaster-3.2.6/src/mp3tag.cc:361:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(track, "");
data/mp3blaster-3.2.6/src/mp3tag.cc:365: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).
	memset(balkje, '-', (strlen(flnam) > 80 ? 80 : strlen(flnam)));
data/mp3blaster-3.2.6/src/mp3tag.cc:365:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memset(balkje, '-', (strlen(flnam) > 80 ? 80 : strlen(flnam)));
data/mp3blaster-3.2.6/src/mp3win.cc:38:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		*group_header = new char[strlen(header) +
data/mp3blaster-3.2.6/src/mp3win.cc:39:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(getTitle()) + 2];
data/mp3blaster-3.2.6/src/mp3win.cc:44: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(group_header, "\n");
data/mp3blaster-3.2.6/src/mp3win.cc:46:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!fwrite(group_header, sizeof(char), strlen(group_header), f))
data/mp3blaster-3.2.6/src/mp3win.cc:55: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).
	if (!fwrite(temp, sizeof(char), strlen(temp), f))
data/mp3blaster-3.2.6/src/mp3win.cc:65:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!fwrite(iname, sizeof(char), strlen(iname), f))
data/mp3blaster-3.2.6/src/scrollwin.cc:207:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	sw_title = (char *)malloc(strlen(tmp) + 1);
data/mp3blaster-3.2.6/src/scrollwin.cc:285: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 ((int)strlen(item_name) <= panoffset)
data/mp3blaster-3.2.6/src/scrollwin.cc:291: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).
		    drawlen = MIN(strlen(item_name), maxdrawlen);
data/mp3blaster-3.2.6/src/scrollwin.cc:296:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(str, item_name, drawlen);
data/mp3blaster-3.2.6/src/scrollwin.cc:652: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).
		!item || !strlen(item))
data/mp3blaster-3.2.6/src/scrollwin.cc:939: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).
		arr[i] = new char[strlen(bla)+1];
data/mp3blaster-3.2.6/src/scrollwin.cc:1031: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).
			selitems[i] = new char[strlen(bla)+1];
data/mp3blaster-3.2.6/src/scrollwin.cc:1109: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).
		len = (width - 4 - strlen(nt));
data/mp3blaster-3.2.6/src/scrollwin.cc:1455: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(line) - maxdrawlen;
data/mp3blaster-3.2.6/src/winitem.cc:64: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).
	names[index].value = new char[strlen(name)+1];

ANALYSIS SUMMARY:

Hits = 605
Lines analyzed = 26913 in approximately 0.74 seconds (36158 lines/second)
Physical Source Lines of Code (SLOC) = 20739
Hits@level = [0] 161 [1] 277 [2] 178 [3]  34 [4] 116 [5]   0
Hits@level+ = [0+] 766 [1+] 605 [2+] 328 [3+] 150 [4+] 116 [5+]   0
Hits/KSLOC@level+ = [0+] 36.9352 [1+] 29.1721 [2+] 15.8156 [3+] 7.23275 [4+] 5.59333 [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.