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/dbmix-0.9.8/acconfig.h
Examining data/dbmix-0.9.8/include/dbchannel.h
Examining data/dbmix-0.9.8/include/dbaudiolib.h
Examining data/dbmix-0.9.8/include/dbdebug.h
Examining data/dbmix-0.9.8/include/dbsoundcard.h
Examining data/dbmix-0.9.8/dbaudiolib/debug.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Get_Version.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Ready.c
Examining data/dbmix-0.9.8/dbaudiolib/prototypes.h
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Flags.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Name.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Type.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Channels.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Close.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Cue.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Format.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Get_Bufsize.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_IPC.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Init.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Mute.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Pause.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Rate.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Read.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Volume.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_Write.c
Examining data/dbmix-0.9.8/dbaudiolib/DBAudio_perror.c
Examining data/dbmix-0.9.8/dbaudiolib/dbaudiolib.c
Examining data/dbmix-0.9.8/dbfsd_src/debug.c
Examining data/dbmix-0.9.8/dbfsd_src/fsadders.c
Examining data/dbmix-0.9.8/dbfsd_src/dbaudio.c
Examining data/dbmix-0.9.8/dbfsd_src/debug.h
Examining data/dbmix-0.9.8/dbfsd_src/dbaudio.h
Examining data/dbmix-0.9.8/dbfsd_src/fsadders.h
Examining data/dbmix-0.9.8/dbfsd_src/dbcat.c
Examining data/dbmix-0.9.8/dbfsd_src/dbfsd.c
Examining data/dbmix-0.9.8/dbfsd_src/dbin.c
Examining data/dbmix-0.9.8/xmms_plugin/dbmix.c
Examining data/dbmix-0.9.8/xmms_plugin/dbmixout.h
Examining data/dbmix-0.9.8/xmms_plugin/mixer.c
Examining data/dbmix-0.9.8/xmms_plugin/configure.c
Examining data/dbmix-0.9.8/xmms_plugin/init.c
Examining data/dbmix-0.9.8/xmms_plugin/debug.c
Examining data/dbmix-0.9.8/xmms_plugin/about.c
Examining data/dbmix-0.9.8/xmms_plugin/audio.c
Examining data/dbmix-0.9.8/dbmixer/dbmixer_standalone.c
Examining data/dbmix-0.9.8/dbmixer/debug.c
Examining data/dbmix-0.9.8/dbmixer/dbmixer.h
Examining data/dbmix-0.9.8/dbmixer/preferences.c
Examining data/dbmix-0.9.8/dbmixer/exmixer_prefs.c
Examining data/dbmix-0.9.8/dbmixer/save_prefs.h
Examining data/dbmix-0.9.8/dbmixer/exmixer.h
Examining data/dbmix-0.9.8/dbmixer/exmixer_prefs.h
Examining data/dbmix-0.9.8/dbmixer/debug.h
Examining data/dbmix-0.9.8/dbmixer/dbmsg_test.c
Examining data/dbmix-0.9.8/dbmixer/about.c
Examining data/dbmix-0.9.8/dbmixer/channel.c
Examining data/dbmix-0.9.8/dbmixer/crossfader.c
Examining data/dbmix-0.9.8/dbmixer/dbmixer.c
Examining data/dbmix-0.9.8/dbmixer/exmixer.c
Examining data/dbmix-0.9.8/dbmixer/light.c
Examining data/dbmix-0.9.8/dbmixer/sample_editor.c
Examining data/dbmix-0.9.8/dbmixer/save_prefs.c
Examining data/dbmix-0.9.8/dbmixer/soundcard_control.c
Examining data/dbmix-0.9.8/dbplaylist/debug.c
Examining data/dbmix-0.9.8/dbplaylist/playerctrl.c
Examining data/dbmix-0.9.8/dbplaylist/dbplaylist.h
Examining data/dbmix-0.9.8/dbplaylist/about.c
Examining data/dbmix-0.9.8/dbplaylist/dbplaylist.c

FINAL RESULTS:

data/dbmix-0.9.8/dbplaylist/dbplaylist.c:560:16:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		if ((count = readlink(srcstr,linkstr,1024)) == -1)
data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Name.c:73: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(name,ch->channel_name);
data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Name.c:110:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(temp2,"%s - %d",temp,ch->index+1);
data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Name.c:114:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(temp2,"%s - %d",name,ch->index+1);
data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Name.c:117: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(ch->channel_name,temp2);
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:239:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(header,"%s %f %d %d %d %d %d %c",
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:320:4:  [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.
			sscanf(header,"%s %f %d %d %d %d %d",
data/dbmix-0.9.8/dbaudiolib/DBAudio_perror.c:116:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr,str);
data/dbmix-0.9.8/dbaudiolib/DBAudio_perror.c:117:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr,str2);
data/dbmix-0.9.8/dbaudiolib/debug.c:52:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(tempstr,fmt,args);
data/dbmix-0.9.8/dbaudiolib/debug.c:67:3:  [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(stdout, fmt, args);
data/dbmix-0.9.8/dbfsd_src/dbaudio.c:83:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(str,"init_audio: cannot open device \"%s\"",dsp_device);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:218: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(sysdata->main_audio_device,DEFAULT_AUDIO_DEVICE);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:230: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(sysdata->main_audio_device,optarg);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:234: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(sysdata->cue_audio_device,optarg);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:299: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(sysdata->cue_audio_device,DEFAULT_CUE_AUDIO_DEVICE);	
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:425:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tempstr,"reset_channel: Error creating %s",ch->comm_filename);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:434:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tempstr,"reset_channel: Error opening %s for read:",ch->comm_filename);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:450:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tempstr,"reset_channel: Error creating %s",
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:461:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tempstr,"reset_channel: Error opening %s for read:",
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:585:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(local_channels[i].comm_filename,"%s%d_comm",tempdirstr,i+1);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:589:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(local_channels[i].cue_filename,"%s%d_cue",tempdirstr,i+1);
data/dbmix-0.9.8/dbfsd_src/dbin.c:161: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(audio_source_path,optarg);
data/dbmix-0.9.8/dbfsd_src/dbin.c:319:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(str,"init_audio: cannot open device \"%s\"",audio_source_path);
data/dbmix-0.9.8/dbfsd_src/debug.c:52:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(tempstr,fmt,args);
data/dbmix-0.9.8/dbfsd_src/debug.c:67:3:  [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(stdout, fmt, args);
data/dbmix-0.9.8/dbmixer/about.c:40:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tempstr,
data/dbmix-0.9.8/dbmixer/dbmixer.c:213:44:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	if(sysdata->main_mixer_device[0] == '\0') strcpy(sysdata->main_mixer_device,MASTER_MIXER);
data/dbmix-0.9.8/dbmixer/dbmixer.c:215:43:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	if(sysdata->cue_mixer_device[0] == '\0') strcpy(sysdata->cue_mixer_device,CUE_MIXER);
data/dbmix-0.9.8/dbmixer/dbmixer.c:281:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(str,UPDATE_STR);
data/dbmix-0.9.8/dbmixer/dbmixer.c:291:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(str,RESET_STR);
data/dbmix-0.9.8/dbmixer/dbmixer.c:300:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(str,PREFERENCES_STR);
data/dbmix-0.9.8/dbmixer/dbmixer.c:326:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(str,ABOUT_STR);
data/dbmix-0.9.8/dbmixer/dbmixer.c:335:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(str,QUIT_STR);
data/dbmix-0.9.8/dbmixer/dbmixer.c:441: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(sysdata->filename,filename);
data/dbmix-0.9.8/dbmixer/debug.c:47:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(tempstr,fmt,args);
data/dbmix-0.9.8/dbmixer/debug.c:62:3:  [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(stdout, fmt, args);
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:168:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(D_FILENAME, label); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:538:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(label, D_FILENAME); 
data/dbmix-0.9.8/dbmixer/sample_editor.c:409: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(sysdata->filename,filename);
data/dbmix-0.9.8/dbmixer/sample_editor.c:465: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(sysdata->filename,filename);
data/dbmix-0.9.8/dbmixer/save_prefs.c:131:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( buf, SK_CutLeadingBlanks( buf ) ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:134:18:  [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.
            if ( sscanf( buf, "%s = %s", key, arg ) == 2 ) 
data/dbmix-0.9.8/dbmixer/save_prefs.c:139:6:  [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.
					sscanf( arg, "%s", D_FILENAME); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:164:18:  [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.
            if ( sscanf( buf, "%s", key ) == 1 ) 
data/dbmix-0.9.8/dbmixer/save_prefs.c:215:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( buf, SK_CutLeadingBlanks( buf ) ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:218: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.
            if( sscanf( buf, "%s = %s", key, arg ) == 2 ) 
data/dbmix-0.9.8/dbmixer/save_prefs.c:296:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(sysdata->main_audio_device, arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:302:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(sysdata->main_audio_device, arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:308:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(sysdata->cue_audio_device, arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:314:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(sysdata->main_mixer_device, arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:320:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					sprintf(sysdata->cue_mixer_device, arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:404:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(label, "\ndevice_filename = %s\n", D_FILENAME); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:453:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(label, "\nmain_audio_device = %s\n", sysdata->main_audio_device); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:455:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(label, "cue_audio_device = %s\n", sysdata->cue_audio_device); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:457:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(label, "main_mixer_device = %s\n", sysdata->main_mixer_device); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:459:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(label, "cue_mixer_device = %s\n", sysdata->cue_mixer_device); 
data/dbmix-0.9.8/dbplaylist/about.c:40:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tempstr,
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:615:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(templink,"%s/%s",srcstr,linkstr);
data/dbmix-0.9.8/dbplaylist/debug.c:47:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(tempstr,fmt,args);
data/dbmix-0.9.8/dbplaylist/debug.c:62:3:  [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(stdout, fmt, args);
data/dbmix-0.9.8/xmms_plugin/about.c:52:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tempstr,
data/dbmix-0.9.8/xmms_plugin/configure.c:118:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(dbmix_cfg.channel_name,gtk_entry_get_text(GTK_ENTRY(entry)));
data/dbmix-0.9.8/xmms_plugin/configure.c:185:4:  [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.
			sscanf(str1,"%s - %d",channel_name,&tempint);
data/dbmix-0.9.8/xmms_plugin/debug.c:52:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(tempstr,fmt,args);
data/dbmix-0.9.8/xmms_plugin/debug.c:67:3:  [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(stdout, fmt, args);
data/dbmix-0.9.8/xmms_plugin/init.c:47:15:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
extern char * cuserid (char *__s) __THROW;
data/dbmix-0.9.8/xmms_plugin/init.c:84:14:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
		username = cuserid(NULL);
data/dbmix-0.9.8/xmms_plugin/init.c:88:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(scanfstr,"xmms_%s.",username);
data/dbmix-0.9.8/xmms_plugin/init.c:105:7:  [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. If the scanf format is influenceable by an
  attacker, it's exploitable.
						sscanf(entry->d_name,scanfstr,&xmms_session_id);
data/dbmix-0.9.8/xmms_plugin/init.c:145:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(dbmix_cfg.channel_name,tempstr);
data/dbmix-0.9.8/dbfsd_src/dbcat.c:124:15:  [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((opt = getopt(argc,argv,"hvdr:c:m8S")) != -1)
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:221: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 ((opt = getopt(argc,argv,"n:s:a:b:ovqhdcer:")) != -1)
data/dbmix-0.9.8/dbfsd_src/dbin.c:140: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 ((opt = getopt(argc,argv,"hsvda:lr:c:m8")) != -1)
data/dbmix-0.9.8/dbmixer/save_prefs.c:106:15:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    js_file = g_get_home_dir(); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:195:17:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    pref_file = g_get_home_dir(); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:377:17:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    pref_file = g_get_home_dir(); 
data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Name.c:86:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static char temp[DB_CHANNEL_NAME_SIZE],temp2[DB_CHANNEL_NAME_SIZE];
data/dbmix-0.9.8/dbaudiolib/DBAudio_Init.c:114: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 init_buffer[PIPE_BUF];
data/dbmix-0.9.8/dbaudiolib/DBAudio_Init.c:291:30:  [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 ((ch->client_comm_fd = open(ch->comm_filename, O_WRONLY)) == -1)
data/dbmix-0.9.8/dbaudiolib/DBAudio_Init.c:310:30:  [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 ((ch->client_cue_fd = open(ch->cue_filename, O_WRONLY | O_NONBLOCK)) == -1)
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:215: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   header[512];
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:223: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 ((fid = open(filename,O_CREAT | O_WRONLY,0777)) == -1)
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:295: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   header[512];
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:296: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   dbmixname[128];
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:305: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 ((fid = open(filename,O_RDONLY)) == -1)
data/dbmix-0.9.8/dbaudiolib/DBAudio_Write.c:207:6:  [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(conv_buf,(ch->sampler_buf + ch->sampler_readoffset),tempsize);
data/dbmix-0.9.8/dbaudiolib/DBAudio_Write.c:209:6:  [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(conv_buf+tempsize,ch->sampler_buf+ch->sampler_startoffset,(len - tempsize));
data/dbmix-0.9.8/dbaudiolib/DBAudio_Write.c:229:6:  [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(conv_buf,(ch->sampler_buf + ch->sampler_readoffset),tempsize);
data/dbmix-0.9.8/dbaudiolib/DBAudio_Write.c:362: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(((ch->sampler_buf) + (ch->sampler_size)),tempbuf,tempsize);
data/dbmix-0.9.8/dbaudiolib/DBAudio_Write.c:371: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(output_buf,tempbuf,buflen*2);
data/dbmix-0.9.8/dbaudiolib/debug.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tempstr[1024];
data/dbmix-0.9.8/dbfsd_src/dbaudio.c:80: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).
	if ((local_oss_ctrl->fd_dsp = open(dsp_device,flags,0)) == -1)
data/dbmix-0.9.8/dbfsd_src/dbaudio.c:82: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[256];
data/dbmix-0.9.8/dbfsd_src/dbcat.c:142:19:  [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).
				sample_rate = atoi(optarg);
data/dbmix-0.9.8/dbfsd_src/dbcat.c:146:15:  [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).
				chindex = atoi(optarg);
data/dbmix-0.9.8/dbfsd_src/dbcat.c:251: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[PIPE_BUF*2];
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:129: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 tempdirstr[512], cue_tempdirstr[512];
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:213: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(tempdirstr,"/tmp/ch");
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:252:29:  [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).
				sysdata->num_channels = atoi(optarg);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:264:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				sysdata->num_main_buffs = atoi(optarg);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:275:28:  [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).
				sysdata->num_sockets = atoi(optarg);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:295: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(cue_tempdirstr,"/tmp/cue");
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:381: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      tempstr[256];
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:406: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(ch->channel_name,"Channel - %d",ch->index+1);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:431:28:  [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 ((ch->server_comm_fd = open(ch->comm_filename,
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:459:28:  [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 ((ch->server_cue_fd = open(ch->cue_filename,O_RDONLY | O_NONBLOCK )) == -1)
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:647:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		record_fid = fopen(sysdata->filename,"wb");
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:656:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&header.main_chunk, "RIFF", 4);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:658:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&header.chunk_type, "WAVE", 4);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:659:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&header.sub_chunk, "fmt ", 4);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:667:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&header.data_chunk, "data", 4);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:883: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(out_buf,buf_pointers[0]->buffer.buf,DB_BUFSIZE_CHAR);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:948: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(out_buf,buf_pointers[0]->cue_buffer.buf,DB_BUFSIZE_CHAR);
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:1371:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
							memcpy(output_buf,cue_output_buf,DB_BUFSIZE_CHAR);
data/dbmix-0.9.8/dbfsd_src/dbin.c:62: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 audio_source_path[256];
data/dbmix-0.9.8/dbfsd_src/dbin.c:138:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(audio_source_path,"/dev/dsp0");
data/dbmix-0.9.8/dbfsd_src/dbin.c:169:19:  [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).
				sample_rate = atoi(optarg);
data/dbmix-0.9.8/dbfsd_src/dbin.c:173:15:  [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).
				chindex = atoi(optarg);
data/dbmix-0.9.8/dbfsd_src/dbin.c:316:27:  [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((main_audio.fd_dsp = open(audio_source_path,flags,0)) == -1)
data/dbmix-0.9.8/dbfsd_src/dbin.c:318: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 str[256];
data/dbmix-0.9.8/dbfsd_src/dbin.c:399:14:  [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_fd = open("/dev/mixer0",O_RDONLY);
data/dbmix-0.9.8/dbfsd_src/debug.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tempstr[1024];
data/dbmix-0.9.8/dbmixer/about.c:34: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 tempstr[1024];
data/dbmix-0.9.8/dbmixer/crossfader.c:504:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[20];
data/dbmix-0.9.8/dbmixer/crossfader.c:546: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(str,"%d",local_channels[i].index + 1);
data/dbmix-0.9.8/dbmixer/crossfader.c:579: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(str,"%d",local_channels[i].index + 1);
data/dbmix-0.9.8/dbmixer/dbmixer.c:276:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[256];
data/dbmix-0.9.8/dbmixer/debug.c:35:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tempstr[1024];
data/dbmix-0.9.8/dbmixer/exmixer.c:435: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 ( (D_FD = open(D_FILENAME, O_RDONLY) ) < 0 ) 
data/dbmix-0.9.8/dbmixer/exmixer.c:474:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
           sprintf(s_assign, "nothing"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:477:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
           sprintf(s_assign, "pitch"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:480:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "volume"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:483:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "main_volume"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:486:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "cue_volume"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:489:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "cross_fade"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:492:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "fade_speed"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:495:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "balance"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:498:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "unknown, A_ASSIGN = %d", A_ASSIGN); 
data/dbmix-0.9.8/dbmixer/exmixer.c:516:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
           sprintf(s_assign, "nothing"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:519:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
           sprintf(s_assign, "mute"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:522:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "cue"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:525:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "play"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:528:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "pause"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:531:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "stop"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:534:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "punch left"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:537:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "punch right"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:540:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "fast forward"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:543:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "rewind"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:546:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "eject"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:549:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "next track"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:552:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "previous track"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:555:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s_assign, "unknown, B_ASSIGN = %d", B_ASSIGN); 
data/dbmix-0.9.8/dbmixer/exmixer.c:584:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(D_NAME, "Unknown"); 
data/dbmix-0.9.8/dbmixer/exmixer.c:585:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(D_FILENAME, "/dev/js%d", dev_id); 
data/dbmix-0.9.8/dbmixer/exmixer.h:107: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[NAME_LENGTH]; 
data/dbmix-0.9.8/dbmixer/exmixer.h:108: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 filename[FILENAME_LENGTH]; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:181:16:  [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).
       ch_id = atoi( label ) - 1; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:238:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(label, " %d ", A_CHAN + 1); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:328:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(label, " %d ", B_CHAN + 1); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:350:25:  [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.
       case EM_A_PITCH: sprintf(assign_label, "Pitch"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:351:26:  [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.
       case EM_A_VOLUME: sprintf(assign_label, "Volume"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:352:30:  [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.
       case EM_A_CUE_VOLUME: sprintf(assign_label, "Cue Volume"); ch_sens = FALSE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:353:31:  [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.
       case EM_A_MAIN_VOLUME: sprintf(assign_label, "Main Volume"); ch_sens = FALSE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:354:30:  [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.
       case EM_A_CROSS_FADE: sprintf(assign_label, "Cross Fade"); ch_sens = FALSE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:355:30:  [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.
       case EM_A_FADE_SPEED: sprintf(assign_label, "Fade Speed"); ch_sens = FALSE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:356:27:  [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.
       case EM_A_BALANCE: sprintf(assign_label, "Balance"); ch_sens = FALSE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:380:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(chan_label, " %d ", A_CHAN + 1); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:405:24:  [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.
       case EM_B_PLAY: sprintf(assign_label, "Play"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:406:25:  [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.
       case EM_B_PAUSE: sprintf(assign_label, "Pause"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:407:24:  [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.
       case EM_B_STOP: sprintf(assign_label, "Stop"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:408:23:  [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.
       case EM_B_CUE: sprintf(assign_label, "Cue"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:409:32:  [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.
       case EM_B_FAST_FORWARD: sprintf(assign_label, "Fast Forward"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:410:26:  [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.
       case EM_B_REWIND: sprintf(assign_label, "Rewind"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:411:24:  [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.
       case EM_B_MUTE: sprintf(assign_label, "Mute"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:412:25:  [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.
       case EM_B_EJECT: sprintf(assign_label, "Eject"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:413:24:  [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.
       case EM_B_NEXT: sprintf(assign_label, "Next Track"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:414:24:  [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.
       case EM_B_PREV: sprintf(assign_label, "Previous Track"); ch_sens = TRUE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:415:30:  [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.
       case EM_B_PUNCH_LEFT: sprintf(assign_label, "Punch Left"); ch_sens = FALSE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:416:31:  [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.
       case EM_B_PUNCH_RIGHT: sprintf(assign_label, "Punch Right"); ch_sens = FALSE; break; 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:440:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(chan_label, " %d ", B_CHAN + 1); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:484:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( label, "Device %d", dev_id ); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:520:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(dev_label[i], "/dev/js%d", i); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:563:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(ch_label[ch_id], " %d ", ch_id + 1); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:596:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(label, "Slider %d", axis_id + 1); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:653:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(label, "Button %d", but_id + 1); 
data/dbmix-0.9.8/dbmixer/preferences.c:57: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(sysdata->main_audio_device,"/dev/dsp%d",main_device_index);
data/dbmix-0.9.8/dbmixer/preferences.c:58: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(sysdata->cue_audio_device,"/dev/dsp%d",cue_device_index);
data/dbmix-0.9.8/dbmixer/preferences.c:59: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(sysdata->main_mixer_device,"/dev/mixer%d",main_mixer_index);
data/dbmix-0.9.8/dbmixer/preferences.c:60: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(sysdata->cue_mixer_device,"/dev/mixer%d",cue_mixer_index);
data/dbmix-0.9.8/dbmixer/preferences.c:176:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = fopen("/dev/sndstat", "r")))
data/dbmix-0.9.8/dbmixer/sample_editor.c:367: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(sysdata->filename,"/tmp/dbmixtempfile%d",copy_count);
data/dbmix-0.9.8/dbmixer/save_prefs.c:117: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).
    fHandle = fopen(js_file, "r"); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:121: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).
		fHandle = fopen("/etc/joystick.cal", "r"); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:144:16:  [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).
					axis_id = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:149: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).
					A_MIN = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:154: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).
					A_CEN = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:159: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).
					A_MAX = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:206: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).
    fHandle = fopen(pref_file, "r"); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:223:24:  [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).
					exmixer_enabled = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:234: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).
					D_ENABLED = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:240:16:  [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).
					axis_id = atoi(arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:251:15:  [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).
					A_CHAN = atoi(arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:262:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					A_ASSIGN = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:268:15:  [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).
					but_id = atoi(arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:279:15:  [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).
					B_CHAN = atoi(arg); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:290:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					B_ASSIGN = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:326:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					sysdata->num_main_buffs = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:332:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					sysdata->num_cue_buffs = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:338:36:  [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).
					sysdata->clipping_threshold = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:344:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					sysdata->skip_max = atoi( arg ); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:351:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					fade_time_base = atoi( arg );
data/dbmix-0.9.8/dbmixer/save_prefs.c:388: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).
    fHandle = fopen(pref_file, "w"); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:399:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(label, "exmixer_enabled = %d\n", exmixer_enabled); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:406:11:  [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, "  enabled = %d\n", D_ENABLED); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:411:12:  [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, "  slider = %d\n", axis_id); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:413:12:  [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, "    slider_assigned = %d\n", A_ASSIGN); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:419:16:  [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, "    slider_channel = %d\n", A_CHAN); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:428:12:  [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, "  button = %d\n", but_id); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:430:12:  [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, "    button_assigned = %d\n", B_ASSIGN); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:443:18:  [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, "    button_channel = %d\n", B_CHAN); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:463:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(label, "num_main_buffs = %d\n", sysdata->num_main_buffs); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:465:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(label, "num_cue_buffs = %d\n", sysdata->num_cue_buffs); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:467:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(label, "clipping_threshold = %d\n", sysdata->clipping_threshold); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:469:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(label, "skip_value = %d\n", sysdata->skip_max); 
data/dbmix-0.9.8/dbmixer/save_prefs.c:474:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(label, "fade_time_base = %d\n", fade_time_base); 
data/dbmix-0.9.8/dbmixer/soundcard_control.c:71: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).
	fd1 = open(MASTER_MIXER,O_RDONLY);
data/dbmix-0.9.8/dbmixer/soundcard_control.c:109: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).
		fd1 = open(CUE_MIXER,O_RDONLY);
data/dbmix-0.9.8/dbmixer/soundcard_control.c:150:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(MASTER_MIXER,O_RDONLY);
data/dbmix-0.9.8/dbmixer/soundcard_control.c:171:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(CUE_MIXER,O_RDONLY);
data/dbmix-0.9.8/dbmixer/soundcard_control.c:232:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(MASTER_MIXER,O_WRONLY);
data/dbmix-0.9.8/dbmixer/soundcard_control.c:263:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(CUE_MIXER,O_RDONLY);
data/dbmix-0.9.8/dbplaylist/about.c:34: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 tempstr[1024];
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:508: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 * list_labels[2], * tempstr;
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:933:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char   filename[1024];
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:942: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 * list_labels[2];
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:1000: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).
	fid = open(path,O_RDONLY);
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:1135: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).
	outfile = fopen(path,"w");
data/dbmix-0.9.8/dbplaylist/debug.c:35:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tempstr[1024];
data/dbmix-0.9.8/include/dbchannel.h:157: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   comm_filename[512]; /* filename for main data pipe */
data/dbmix-0.9.8/include/dbchannel.h:158: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   cue_filename[512];  /* filename for cue data pipe */
data/dbmix-0.9.8/include/dbchannel.h:159: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   channel_name[64];
data/dbmix-0.9.8/include/dbchannel.h:237: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  main_audio_device[256]; /* path names to audio and mixer devices */
data/dbmix-0.9.8/include/dbchannel.h:238: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  cue_audio_device[256];
data/dbmix-0.9.8/include/dbchannel.h:239: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  main_mixer_device[256];
data/dbmix-0.9.8/include/dbchannel.h:240: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  cue_mixer_device[256];
data/dbmix-0.9.8/include/dbchannel.h:241:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char  filename[FILENAME_MAX]; /* path name used to transfer samples between channels */
data/dbmix-0.9.8/include/dbsoundcard.h:149:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[4000]; /* Device spesific command/data record */
data/dbmix-0.9.8/include/dbsoundcard.h:160: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.
		unsigned char arr[8];
data/dbmix-0.9.8/include/dbsoundcard.h:263: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.
		unsigned char	env_rate[ 6 ];	 /* GUS HW ramping rate */
data/dbmix-0.9.8/include/dbsoundcard.h:264: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.
		unsigned char	env_offset[ 6 ]; /* 255 == 100% */
data/dbmix-0.9.8/include/dbsoundcard.h:287: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[1];	/* The waveform data starts here */
data/dbmix-0.9.8/include/dbsoundcard.h:296: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.
		unsigned char data[1];	/* Sysex data starts here */
data/dbmix-0.9.8/include/dbsoundcard.h:457:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef unsigned char sbi_instr_data[32];
data/dbmix-0.9.8/include/dbsoundcard.h:469: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	name[30];
data/dbmix-0.9.8/include/dbsoundcard.h:497: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 name[32];
data/dbmix-0.9.8/include/dbsoundcard.h:504: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		name[30];
data/dbmix-0.9.8/include/dbsoundcard.h:517: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.
		unsigned char data[30];
data/dbmix-0.9.8/include/dbsoundcard.h:666: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.
		unsigned char data[4000]; /* NOTE! 4000 is not 4k */
data/dbmix-0.9.8/include/dbsoundcard.h:679: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.
		unsigned char data[4000];
data/dbmix-0.9.8/include/dbsoundcard.h:868: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 id[16];
data/dbmix-0.9.8/include/dbsoundcard.h:869: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 name[32];
data/dbmix-0.9.8/include/dbsoundcard.h:876: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 id[16];
data/dbmix-0.9.8/include/dbsoundcard.h:877: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 name[32];
data/dbmix-0.9.8/include/dbsoundcard.h:889:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef unsigned char mixer_record[128];
data/dbmix-0.9.8/include/dbsoundcard.h:919: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 name[32];
data/dbmix-0.9.8/include/dbsoundcard.h:1065:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define SEQ_DEFINEBUF(len)		unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0
data/dbmix-0.9.8/xmms_plugin/about.c:46:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tempstr[1024];
data/dbmix-0.9.8/xmms_plugin/audio.c:521:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(buffer + wr_index, ptr + off, cnt);
data/dbmix-0.9.8/xmms_plugin/audio.c:822: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(dbmix_cfg.channel_name,"Xmms");
data/dbmix-0.9.8/xmms_plugin/audio.c:844: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(dbmix_cfg.channel_name,"Xmms");
data/dbmix-0.9.8/xmms_plugin/debug.c:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tempstr[1024];
data/dbmix-0.9.8/xmms_plugin/init.c:81: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 scanfstr[128];
data/dbmix-0.9.8/xmms_plugin/init.c:89: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(scanfstr,"%d");
data/dbmix-0.9.8/xmms_plugin/init.c:122: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(dbmix_cfg.channel_name,"Xmms");
data/dbmix-0.9.8/dbaudiolib/DBAudio_Channel_Name.c:102:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if ((strlen(name) - 6) > DB_CHANNEL_NAME_SIZE)
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:313:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((err = read(fid,header,512)) == -1)
data/dbmix-0.9.8/dbaudiolib/DBAudio_Sampler.c:344:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if ((err = read(fid,tempbuf,count)) == -1)
data/dbmix-0.9.8/dbfsd_src/dbaudio.c:223:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return read(in_ctrl->fd_dsp,buf,size);
data/dbmix-0.9.8/dbfsd_src/dbcat.c:334:4:  [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(50000);
data/dbmix-0.9.8/dbfsd_src/dbcat.c:342:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if((len = read(in_fd,buf+count,PIPE_BUF-count)) < 0)
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:532:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(tempdirstr) + 20;
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:1208:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
							result = read(temp_ch->server_comm_fd,temp_buf->buf,
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:1248:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
									result = read(temp_ch->server_cue_fd,temp_buf->buf,
data/dbmix-0.9.8/dbfsd_src/dbfsd.c:1277:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
								result = read(temp_ch->server_cue_fd,temp_buf->buf,
data/dbmix-0.9.8/dbfsd_src/dbin.c:525:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if ((len = read(main_audio.fd_dsp,buf,DBIN_READSIZE)) > 0)
data/dbmix-0.9.8/dbmixer/exmixer.c:365:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(D_FD, &em_event, sizeof(struct js_event)) != sizeof(struct js_event)) 
data/dbmix-0.9.8/dbmixer/exmixer.c:408:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(em_dev->filename, device_filename, FILENAME_LENGTH); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:359:12:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
           sprintf(assign_label, " "); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:370:8:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
       sprintf(assign_label, " "); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:383:8:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
       sprintf(chan_label, " "); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:419:12:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
           sprintf(assign_label, " "); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:430:8:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
       sprintf(assign_label, " "); 
data/dbmix-0.9.8/dbmixer/exmixer_prefs.c:442:8:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
       sprintf(chan_label, " "); 
data/dbmix-0.9.8/dbmixer/preferences.c:183:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (buffer[strlen(buffer) - 1] == '\n')
data/dbmix-0.9.8/dbmixer/preferences.c:184: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).
				buffer[strlen(buffer) - 1] = '\0';
data/dbmix-0.9.8/dbmixer/sample_editor.c:320:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(100000);
data/dbmix-0.9.8/dbmixer/sample_editor.c:379: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(50);
data/dbmix-0.9.8/dbmixer/sample_editor.c:391: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(USLEEP_TIME);
data/dbmix-0.9.8/dbmixer/sample_editor.c:420: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(USLEEP_TIME);
data/dbmix-0.9.8/dbmixer/sample_editor.c:478: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(USLEEP_TIME);
data/dbmix-0.9.8/dbmixer/save_prefs.c:63:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen( source ) == 0 ) 
data/dbmix-0.9.8/dbmixer/save_prefs.c:69:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(i=0;i<=(strlen( source ));i++) 
data/dbmix-0.9.8/dbmixer/save_prefs.c:90:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen( arg ) == 0 ) 
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:570: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).
			songname = srcstr + strlen(srcstr);
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:588: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).
		    songname = linkstr + strlen(linkstr);
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:597:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			tempstr = srcstr + strlen(srcstr);
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:695: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).
			songname = srcstr + strlen(srcstr);
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:964: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 (*((char *)(temppntr2 + strlen(temppntr))) == '\0')
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:1014:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			error = read(fid,temppntr,1);
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:1021:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				error = read(fid,temppntr,1);
data/dbmix-0.9.8/dbplaylist/dbplaylist.c:1050: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).
			songname = filename + strlen(filename);
data/dbmix-0.9.8/dbplaylist/playerctrl.c:225: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(1000);

ANALYSIS SUMMARY:

Hits = 313
Lines analyzed = 19642 in approximately 0.51 seconds (38627 lines/second)
Physical Source Lines of Code (SLOC) = 12386
Hits@level = [0] 122 [1]  38 [2] 198 [3]   6 [4]  70 [5]   1
Hits@level+ = [0+] 435 [1+] 313 [2+] 275 [3+]  77 [4+]  71 [5+]   1
Hits/KSLOC@level+ = [0+] 35.1203 [1+] 25.2705 [2+] 22.2025 [3+] 6.2167 [4+] 5.73228 [5+] 0.0807363
Dot directories skipped = 2 (--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.