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/alsa-utils-1.2.3/alsactl/monitor.c
Examining data/alsa-utils-1.2.3/alsactl/init_sysdeps.c
Examining data/alsa-utils-1.2.3/alsactl/init_utils_string.c
Examining data/alsa-utils-1.2.3/alsactl/alsactl.h
Examining data/alsa-utils-1.2.3/alsactl/init_ucm.c
Examining data/alsa-utils-1.2.3/alsactl/lock.c
Examining data/alsa-utils-1.2.3/alsactl/list.h
Examining data/alsa-utils-1.2.3/alsactl/utils.c
Examining data/alsa-utils-1.2.3/alsactl/daemon.c
Examining data/alsa-utils-1.2.3/alsactl/init_sysfs.c
Examining data/alsa-utils-1.2.3/alsactl/alsactl.c
Examining data/alsa-utils-1.2.3/alsactl/init_parse.c
Examining data/alsa-utils-1.2.3/alsactl/init_utils_run.c
Examining data/alsa-utils-1.2.3/alsactl/state.c
Examining data/alsa-utils-1.2.3/alsaloop/alsaloop.h
Examining data/alsa-utils-1.2.3/alsaloop/pcmjob.c
Examining data/alsa-utils-1.2.3/alsaloop/control.c
Examining data/alsa-utils-1.2.3/alsaloop/alsaloop.c
Examining data/alsa-utils-1.2.3/speaker-test/speaker-test.c
Examining data/alsa-utils-1.2.3/speaker-test/pink.h
Examining data/alsa-utils-1.2.3/speaker-test/pink.c
Examining data/alsa-utils-1.2.3/topology/topology.c
Examining data/alsa-utils-1.2.3/amixer/amixer.h
Examining data/alsa-utils-1.2.3/amixer/amixer.c
Examining data/alsa-utils-1.2.3/bat/alsa.c
Examining data/alsa-utils-1.2.3/bat/latencytest.c
Examining data/alsa-utils-1.2.3/bat/bat-signal.h
Examining data/alsa-utils-1.2.3/bat/latencytest.h
Examining data/alsa-utils-1.2.3/bat/analyze.h
Examining data/alsa-utils-1.2.3/bat/signal.c
Examining data/alsa-utils-1.2.3/bat/tinyalsa.c
Examining data/alsa-utils-1.2.3/bat/convert.c
Examining data/alsa-utils-1.2.3/bat/bat.c
Examining data/alsa-utils-1.2.3/bat/analyze.c
Examining data/alsa-utils-1.2.3/bat/alsa.h
Examining data/alsa-utils-1.2.3/bat/common.h
Examining data/alsa-utils-1.2.3/bat/convert.h
Examining data/alsa-utils-1.2.3/bat/tinyalsa.h
Examining data/alsa-utils-1.2.3/bat/common.c
Examining data/alsa-utils-1.2.3/iecset/iecset.c
Examining data/alsa-utils-1.2.3/iecset/iecbits.c
Examining data/alsa-utils-1.2.3/seq/aconnect/aconnect.c
Examining data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c
Examining data/alsa-utils-1.2.3/seq/aseqdump/aseqdump.c
Examining data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c
Examining data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c
Examining data/alsa-utils-1.2.3/axfer/waiter.h
Examining data/alsa-utils-1.2.3/axfer/subcmd-list.c
Examining data/alsa-utils-1.2.3/axfer/container-raw.c
Examining data/alsa-utils-1.2.3/axfer/xfer-options.c
Examining data/alsa-utils-1.2.3/axfer/subcmd-transfer.c
Examining data/alsa-utils-1.2.3/axfer/mapper.h
Examining data/alsa-utils-1.2.3/axfer/xfer-libasound.c
Examining data/alsa-utils-1.2.3/axfer/waiter-poll.c
Examining data/alsa-utils-1.2.3/axfer/container-voc.c
Examining data/alsa-utils-1.2.3/axfer/waiter-epoll.c
Examining data/alsa-utils-1.2.3/axfer/mapper-single.c
Examining data/alsa-utils-1.2.3/axfer/xfer.h
Examining data/alsa-utils-1.2.3/axfer/container-riff-wave.c
Examining data/alsa-utils-1.2.3/axfer/mapper.c
Examining data/alsa-utils-1.2.3/axfer/waiter.c
Examining data/alsa-utils-1.2.3/axfer/frame-cache.h
Examining data/alsa-utils-1.2.3/axfer/test/mapper-test.c
Examining data/alsa-utils-1.2.3/axfer/test/generator.c
Examining data/alsa-utils-1.2.3/axfer/test/generator.h
Examining data/alsa-utils-1.2.3/axfer/test/container-test.c
Examining data/alsa-utils-1.2.3/axfer/container.h
Examining data/alsa-utils-1.2.3/axfer/container.c
Examining data/alsa-utils-1.2.3/axfer/xfer.c
Examining data/alsa-utils-1.2.3/axfer/waiter-select.c
Examining data/alsa-utils-1.2.3/axfer/xfer-libffado.c
Examining data/alsa-utils-1.2.3/axfer/xfer-libasound-irq-mmap.c
Examining data/alsa-utils-1.2.3/axfer/misc.h
Examining data/alsa-utils-1.2.3/axfer/frame-cache.c
Examining data/alsa-utils-1.2.3/axfer/main.c
Examining data/alsa-utils-1.2.3/axfer/xfer-libasound-timer-mmap.c
Examining data/alsa-utils-1.2.3/axfer/xfer-libasound-irq-rw.c
Examining data/alsa-utils-1.2.3/axfer/subcmd.h
Examining data/alsa-utils-1.2.3/axfer/container-au.c
Examining data/alsa-utils-1.2.3/axfer/xfer-libasound.h
Examining data/alsa-utils-1.2.3/axfer/mapper-multiple.c
Examining data/alsa-utils-1.2.3/aplay/formats.h
Examining data/alsa-utils-1.2.3/aplay/aplay.c
Examining data/alsa-utils-1.2.3/alsamixer/widget.c
Examining data/alsa-utils-1.2.3/alsamixer/colors.c
Examining data/alsa-utils-1.2.3/alsamixer/proc_files.c
Examining data/alsa-utils-1.2.3/alsamixer/mixer_controls.c
Examining data/alsa-utils-1.2.3/alsamixer/device_name.c
Examining data/alsa-utils-1.2.3/alsamixer/card_select.c
Examining data/alsa-utils-1.2.3/alsamixer/mem.c
Examining data/alsa-utils-1.2.3/alsamixer/mem.h
Examining data/alsa-utils-1.2.3/alsamixer/mixer_controls.h
Examining data/alsa-utils-1.2.3/alsamixer/textbox.c
Examining data/alsa-utils-1.2.3/alsamixer/widget.h
Examining data/alsa-utils-1.2.3/alsamixer/cli.c
Examining data/alsa-utils-1.2.3/alsamixer/die.c
Examining data/alsa-utils-1.2.3/alsamixer/volume_mapping.h
Examining data/alsa-utils-1.2.3/alsamixer/proc_files.h
Examining data/alsa-utils-1.2.3/alsamixer/device_name.h
Examining data/alsa-utils-1.2.3/alsamixer/mixer_display.h
Examining data/alsa-utils-1.2.3/alsamixer/mixer_display.c
Examining data/alsa-utils-1.2.3/alsamixer/mainloop.c
Examining data/alsa-utils-1.2.3/alsamixer/card_select.h
Examining data/alsa-utils-1.2.3/alsamixer/mixer_widget.h
Examining data/alsa-utils-1.2.3/alsamixer/utils.h
Examining data/alsa-utils-1.2.3/alsamixer/mainloop.h
Examining data/alsa-utils-1.2.3/alsamixer/die.h
Examining data/alsa-utils-1.2.3/alsamixer/textbox.h
Examining data/alsa-utils-1.2.3/alsamixer/colors.h
Examining data/alsa-utils-1.2.3/alsamixer/mixer_widget.c
Examining data/alsa-utils-1.2.3/alsamixer/volume_mapping.c
Examining data/alsa-utils-1.2.3/alsamixer/utils.c
Examining data/alsa-utils-1.2.3/include/version.h
Examining data/alsa-utils-1.2.3/include/gettext_curses.h
Examining data/alsa-utils-1.2.3/include/gettext.h
Examining data/alsa-utils-1.2.3/alsaucm/usecase.c
Examining data/alsa-utils-1.2.3/alsaucm/dump.c
Examining data/alsa-utils-1.2.3/alsaucm/usecase.h
Examining data/alsa-utils-1.2.3/amidi/amidi.c

FINAL RESULTS:

data/alsa-utils-1.2.3/alsactl/init_sysfs.c:120:9:  [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.
		len = readlink(path_full, link_target, sizeof(link_target) - 1);
data/alsa-utils-1.2.3/alsactl/alsactl.c:146:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s%s%s", sa[1] ? sa : "",
data/alsa-utils-1.2.3/alsactl/init_parse.c:87:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, arg);
data/alsa-utils-1.2.3/alsactl/init_parse.c:1580:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				count = access(string, F_OK);
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:49:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access(sysfs_test, F_OK)) {
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:52:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access(sysfs_test, F_OK)) {
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:120:3:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execv(argv[0], argv);
data/alsa-utils-1.2.3/alsactl/state.c:38:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(str, "%i,%i,%i,%s,%i", 
data/alsa-utils-1.2.3/alsactl/state.c:1562:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(nfile, file);
data/alsa-utils-1.2.3/alsactl/utils.c:112:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
data/alsa-utils-1.2.3/alsactl/utils.c:126: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, ap);
data/alsa-utils-1.2.3/alsactl/utils.c:141: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(stderr, fmt, ap);
data/alsa-utils-1.2.3/alsactl/utils.c:158: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(stderr, fmt, ap);
data/alsa-utils-1.2.3/alsactl/utils.c:175: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(stderr, fmt, ap);
data/alsa-utils-1.2.3/alsactl/utils.c:187:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, sizeof(buf), fmt, arg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.h:91:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/alsaloop/alsaloop.h:202:3:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
		syslog(priority, fmt, ##args);		\
data/alsa-utils-1.2.3/alsaloop/alsaloop.h:204: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, fmt, ##args);		\
data/alsa-utils-1.2.3/alsaloop/control.c:33:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(str, "%i,%s,%i,%i,%s,%i",
data/alsa-utils-1.2.3/alsaloop/control.c:222:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s \"\" 0\n", ossmix->oss_id);
data/alsa-utils-1.2.3/alsaloop/control.c:224:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s \"%s\" %i\n", ossmix->oss_id, ossmix->alsa_id, ossmix->alsa_index);
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:126:62:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = snd_pcm_hw_params_set_access(handle, params, lhandle->access);
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:1486:40:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (loop->play->access == loop->capt->access &&
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:2011:95:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	OUT("    access = %s, format = %s, rate = %u, channels = %u\n", snd_pcm_access_name(lhandle->access), snd_pcm_format_name(lhandle->format), lhandle->rate, lhandle->channels);
data/alsa-utils-1.2.3/alsamixer/mem.h:9:65:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
char *casprintf(const char *fmt, ...) __attribute__((__format__(printf, 1, 2)));
data/alsa-utils-1.2.3/alsamixer/proc_files.c:131:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access(file_name, F_OK) == 0) {
data/alsa-utils-1.2.3/alsaucm/dump.c:265:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf((j->block[level] && !last) ? ",\n" : "\n");
data/alsa-utils-1.2.3/amidi/amidi.c:64:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, format, ap);
data/alsa-utils-1.2.3/amidi/amidi.c:445:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, send_hex);
data/alsa-utils-1.2.3/amidi/amidi.c:450:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(s, str);
data/alsa-utils-1.2.3/amixer/amixer.c:54:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, va);
data/alsa-utils-1.2.3/aplay/aplay.c:190:2:  [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, __VA_ARGS__); \
data/alsa-utils-1.2.3/aplay/aplay.c:196:2:  [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, ##args); \
data/alsa-utils-1.2.3/aplay/aplay.c:3347:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(names[channel], format, channel);
data/alsa-utils-1.2.3/aplay/aplay.c:3400:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(names[channel], format, channel);
data/alsa-utils-1.2.3/axfer/frame-cache.c:48:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
int frame_cache_init(struct frame_cache *cache, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/frame-cache.c:53:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	cache->access = access;
data/alsa-utils-1.2.3/axfer/frame-cache.h:17:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/axfer/frame-cache.h:26:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
int frame_cache_init(struct frame_cache *cache, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/mapper.c:72:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			       snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/mapper.c:81:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	assert(access >= SND_PCM_ACCESS_MMAP_INTERLEAVED);
data/alsa-utils-1.2.3/axfer/mapper.c:82:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	assert(access <= SND_PCM_ACCESS_RW_NONINTERLEAVED);
data/alsa-utils-1.2.3/axfer/mapper.c:93:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	mapper->access = access;
data/alsa-utils-1.2.3/axfer/mapper.c:108:38:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		       snd_pcm_access_name(mapper->access));
data/alsa-utils-1.2.3/axfer/mapper.h:39:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/axfer/mapper.h:51:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			       snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:149:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int capture_pre_process(struct context *ctx, snd_pcm_access_t *access,
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:162:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				       access, frames_per_buffer);
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:204:72:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int playback_pre_process(struct context *ctx, snd_pcm_access_t *access,
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:291:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
					access, frames_per_buffer);
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:297:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:305:35:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		err = capture_pre_process(ctx, &access, &frames_per_buffer,
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:309:36:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		err = playback_pre_process(ctx, &access, &frames_per_buffer,
data/alsa-utils-1.2.3/axfer/subcmd-transfer.c:325:49:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = mapper_context_pre_process(&ctx->mapper, access, bytes_per_sample,
data/alsa-utils-1.2.3/axfer/test/container-test.c:29:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			 snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/container-test.c:76:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		        snd_pcm_access_t access, snd_pcm_format_t sample_format,
data/alsa-utils-1.2.3/axfer/test/container-test.c:118:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int callback(struct test_generator *gen, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/container-test.c:151:51:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		test_builder(&trial->cntr, trial->format, name, access,
data/alsa-utils-1.2.3/axfer/test/container-test.c:156:50:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		test_parser(&trial->cntr, trial->format, name, access,
data/alsa-utils-1.2.3/axfer/test/generator.c:48:44:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static void *allocate_buf(snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:60:47:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static void *allocate_vector(snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:88:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int fill_buf(int fd, void *frame_buffer, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:107:69:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int fill_vector(int fd, void *frame_buffer, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:149:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			    snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:153:38:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	void *(*allocator)(snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:157:59:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int (*fill)(int fd, void *frame_buffer, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:165:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-utils-1.2.3/axfer/test/generator.c:175:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	frame_buffer = allocator(access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/generator.c:180:36:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = fill(gen->fd, frame_buffer, access, sample_format,
data/alsa-utils-1.2.3/axfer/test/generator.c:188:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		err = gen->cb(gen, access ,sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/generator.c:200:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				  snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/generator.c:208:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		err = test_frame_count(gen, access, sample_format, i);
data/alsa-utils-1.2.3/axfer/test/generator.c:217:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			      snd_pcm_access_t access)
data/alsa-utils-1.2.3/axfer/test/generator.c:226:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		err = test_samples_per_frame(gen, access, i);
data/alsa-utils-1.2.3/axfer/test/generator.h:17:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			      snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:30:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static void test_demuxer(struct mapper_context *mapper, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:45:43:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = mapper_context_pre_process(mapper, access, bytes_per_sample,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:60:68:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int test_demux(struct mapper_trial *trial, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:108:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	test_demuxer(&trial->mapper, access, bytes_per_sample,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:123:72:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static void test_muxer(struct mapper_context *mapper, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:138:43:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = mapper_context_pre_process(mapper, access, bytes_per_sample,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:153:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int test_mux(struct mapper_trial *trial, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:199:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	test_muxer(&trial->mapper, access, bytes_per_sample, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:214:69:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int test_mapper(struct mapper_trial *trial, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:228:26:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = test_demux(trial, access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:234:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = test_mux(trial, access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:244:68:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int test_i_buf(struct mapper_trial *trial, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:262:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = test_mapper(trial, access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:271:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = test_mapper(trial, access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:284:69:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int test_vector(struct mapper_trial *trial, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:311:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = test_mapper(trial, access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:323:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = test_mapper(trial, access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:343:68:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int test_n_buf(struct mapper_trial *trial, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:364:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = test_vector(trial, access, sample_format, samples_per_frame,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:371:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int callback(struct test_generator *gen, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:377:62:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int (*handler)(struct mapper_trial *trial, snd_pcm_access_t access,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:391:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	return handler(trial, access, sample_format, samples_per_frame, 48000,
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:412:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:444:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access < SND_PCM_ACCESS_MMAP_INTERLEAVED &&
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:445:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		    access > SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-utils-1.2.3/axfer/test/mapper-test.c:454:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		access_mask = 1ull << access;
data/alsa-utils-1.2.3/axfer/xfer-libasound-irq-mmap.c:22:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/axfer/xfer-libasound-irq-mmap.c:32:56:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = snd_pcm_hw_params_get_access(state->hw_params, &access);
data/alsa-utils-1.2.3/axfer/xfer-libasound-irq-rw.c:14:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/axfer/xfer-libasound-irq-rw.c:384:65:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = snd_pcm_hw_params_get_access(state->hw_params, &closure->access);
data/alsa-utils-1.2.3/axfer/xfer-libasound-irq-rw.c:388:51:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = frame_cache_init(&closure->cache, closure->access,
data/alsa-utils-1.2.3/axfer/xfer-libasound-timer-mmap.c:25:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t access;
data/alsa-utils-1.2.3/axfer/xfer-libasound-timer-mmap.c:46:56:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = snd_pcm_hw_params_get_access(state->hw_params, &access);
data/alsa-utils-1.2.3/axfer/xfer-libasound.c:541:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				     snd_pcm_access_t *access,
data/alsa-utils-1.2.3/axfer/xfer-libasound.c:560:48:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = snd_pcm_hw_params_get_access(hw_params, access);
data/alsa-utils-1.2.3/axfer/xfer-libasound.c:646:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				      snd_pcm_access_t *access,
data/alsa-utils-1.2.3/axfer/xfer-libasound.c:672:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
					access, frames_per_buffer);
data/alsa-utils-1.2.3/axfer/xfer-libffado.c:391:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				     snd_pcm_access_t *access,
data/alsa-utils-1.2.3/axfer/xfer-libffado.c:454:41:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	err = frame_cache_init(&state->cache, *access,
data/alsa-utils-1.2.3/axfer/xfer-options.c:299: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(s_opts, data->s_opts);
data/alsa-utils-1.2.3/axfer/xfer-options.c:300: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(s_opts + strlen(s_opts), short_opts);
data/alsa-utils-1.2.3/axfer/xfer-options.c:438:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(xfer->paths[index], len, single_format, template,
data/alsa-utils-1.2.3/axfer/xfer-options.c:441:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(xfer->paths[index], len, multiple_format, template,
data/alsa-utils-1.2.3/axfer/xfer-options.c:465:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(xfer->paths[index], len, single_format, template);
data/alsa-utils-1.2.3/axfer/xfer-options.c:467:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(xfer->paths[index], len, multiple_format, template,
data/alsa-utils-1.2.3/axfer/xfer.c:118:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			     snd_pcm_access_t *access,
data/alsa-utils-1.2.3/axfer/xfer.c:127:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	assert(access);
data/alsa-utils-1.2.3/axfer/xfer.c:182:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				     frames_per_second, access,
data/alsa-utils-1.2.3/axfer/xfer.c:191:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	assert(*access >= SND_PCM_ACCESS_MMAP_INTERLEAVED);
data/alsa-utils-1.2.3/axfer/xfer.c:192:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	assert(*access <= SND_PCM_ACCESS_LAST);
data/alsa-utils-1.2.3/axfer/xfer.c:209:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			snd_pcm_access_name(*access));
data/alsa-utils-1.2.3/axfer/xfer.h:65:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			     snd_pcm_access_t *access,
data/alsa-utils-1.2.3/axfer/xfer.h:91:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			   snd_pcm_access_t *access,
data/alsa-utils-1.2.3/seq/aconnect/aconnect.c:40:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, arg);
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:85:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, ap);
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:96:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, ap);
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:115:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, ap);
data/alsa-utils-1.2.3/seq/aseqdump/aseqdump.c:45:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, ap);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:413:90:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
static int set_hwparams(snd_pcm_t *handle, snd_pcm_hw_params_t *params, snd_pcm_access_t access) {
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:429:54:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  err = snd_pcm_hw_params_set_access(handle, params, access);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:665:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file, "%s/%s", wav_file_dir, name);
data/alsa-utils-1.2.3/topology/topology.c:162:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(fname, output_file);
data/alsa-utils-1.2.3/alsactl/alsactl.c:231:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		if ((c = getopt_long(argc, argv, short_option, long_option,
data/alsa-utils-1.2.3/alsactl/init_parse.c:1187:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			pos = getenv(attr);
data/alsa-utils-1.2.3/alsactl/init_parse.c:1457:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				temp = getenv(attr);
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:39:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env = getenv("SYSFS_PATH");
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:417:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		if ((c = getopt_long(argc, argv,
data/alsa-utils-1.2.3/alsamixer/cli.c:67:19:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((option = getopt_long(argc, argv, short_options,
data/alsa-utils-1.2.3/alsaucm/usecase.c:423:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options,
data/alsa-utils-1.2.3/amidi/amidi.c:480:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options,
data/alsa-utils-1.2.3/amixer/amixer.c:1797:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		if ((c = getopt_long(argc, argv, "hc:D:qidnva:sRM", long_option, NULL)) < 0)
data/alsa-utils-1.2.3/aplay/aplay.c:569:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) {
data/alsa-utils-1.2.3/axfer/subcmd-list.c:218:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		int c = getopt_long(argc, argv, s_opts, l_opts, NULL);
data/alsa-utils-1.2.3/axfer/xfer-libasound-timer-mmap.c:149:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	planned_count = layout->frames_per_buffer * random() / RAND_MAX;
data/alsa-utils-1.2.3/axfer/xfer-options.c:321:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		key = getopt_long(argc, argv, s_opts, l_opts, &l_index);
data/alsa-utils-1.2.3/bat/bat.c:403:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options,
data/alsa-utils-1.2.3/iecset/iecset.c:330:14:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt(argc, argv, "D:c:n:xhi")) != -1) {
data/alsa-utils-1.2.3/seq/aconnect/aconnect.c:283:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "dior:t:elx", long_option, NULL)) != -1) {
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:879:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options,
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:908:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			const char *ports_str = getenv("ALSA_OUTPUT_PORTS");
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:757:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options,
data/alsa-utils-1.2.3/seq/aseqdump/aseqdump.c:370:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options,
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:107:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "p:s:d:vi", long_option, NULL)) != -1) {
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1010:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    if ((c = getopt_long(argc, argv, "hD:r:c:f:F:b:p:P:t:l:s:w:W:d:XS:"
data/alsa-utils-1.2.3/topology/topology.c:323:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) {
data/alsa-utils-1.2.3/alsactl/alsactl.c:119:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *larg, sa[4], buf[32];
data/alsa-utils-1.2.3/alsactl/alsactl.c:138:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
				strcat(buf, "<card>");
data/alsa-utils-1.2.3/alsactl/alsactl.c:140:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
				strcat(buf, "<cmd>");
data/alsa-utils-1.2.3/alsactl/alsactl.c:149:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(buf, " #=#");
data/alsa-utils-1.2.3/alsactl/alsactl.c:151:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(buf, " #");
data/alsa-utils-1.2.3/alsactl/alsactl.c:187: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 *cardname, ncardname[16];
data/alsa-utils-1.2.3/alsactl/alsactl.c:283:13:  [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).
			period = atoi(optarg);
data/alsa-utils-1.2.3/alsactl/alsactl.c:299: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).
			use_nice = atoi(optarg);
data/alsa-utils-1.2.3/alsactl/alsactl.c:339: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(ncardname, "%li", l);
data/alsa-utils-1.2.3/alsactl/daemon.c:95: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 device[16];
data/alsa-utils-1.2.3/alsactl/daemon.c:112: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(device, "hw:%i", index);
data/alsa-utils-1.2.3/alsactl/daemon.c:143: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 cardname[16];
data/alsa-utils-1.2.3/alsactl/daemon.c:151: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(cardname, "%i", card);
data/alsa-utils-1.2.3/alsactl/daemon.c:278: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 pid_txt[12];
data/alsa-utils-1.2.3/alsactl/daemon.c:280: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(pidfile, O_RDONLY);
data/alsa-utils-1.2.3/alsactl/daemon.c:287:10:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		return atol(pid_txt);
data/alsa-utils-1.2.3/alsactl/daemon.c:296: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 pid_txt[14];
data/alsa-utils-1.2.3/alsactl/daemon.c:298: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(pid_txt, "%10li\n", (long)getpid());
data/alsa-utils-1.2.3/alsactl/daemon.c:299: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(pidfile, O_WRONLY|O_CREAT|O_EXCL, 0600);
data/alsa-utils-1.2.3/alsactl/init_parse.c:182: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 device[16];
data/alsa-utils-1.2.3/alsactl/init_parse.c:190: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(device, "hw:%d", card);
data/alsa-utils-1.2.3/alsactl/init_parse.c:222:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char res[16];
data/alsa-utils-1.2.3/alsactl/init_parse.c:223: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(res, "%u", snd_ctl_card_info_get_card(space->ctl_card_info));
data/alsa-utils-1.2.3/alsactl/init_parse.c:274:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char res[1024], tmp[16];
data/alsa-utils-1.2.3/alsactl/init_parse.c:531:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char res[256];
data/alsa-utils-1.2.3/alsactl/init_parse.c:658: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(res, "%li.%02idB", (long)(val / 100), (int)abs(val % 100));
data/alsa-utils-1.2.3/alsactl/init_parse.c:737: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(res, "%d", index);
data/alsa-utils-1.2.3/alsactl/init_parse.c:744: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(res, "%lli", val);
data/alsa-utils-1.2.3/alsactl/init_parse.c:1006:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_parse.c:1007: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 temp2[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_parse.c:1294: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 string[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_parse.c:1295: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 result[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:21: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 sysfs_path[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:27:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:29: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 value_local[NAME_SIZE];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:35: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 sysfs_test[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:74:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path_full[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:76: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 value[NAME_SIZE];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:116: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 link_target[PATH_SIZE + 1];
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:142: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(path_full, O_RDONLY);
data/alsa-utils-1.2.3/alsactl/init_ucm.c:36: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 id[32];
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:39: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 arg[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:40: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 program[PATH_SIZE];
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:41: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 *argv[(sizeof(arg) / 2) + 1];
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:102:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		devnull = open("/dev/null", O_RDWR);
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:160:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 inbuf[1024];
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:179: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(&result[respos], inbuf, count);
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:194:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 errbuf[1024];
data/alsa-utils-1.2.3/alsactl/lock.c:38: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 lcktxt[14];
data/alsa-utils-1.2.3/alsactl/lock.c:56: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(nfile, O_RDWR);
data/alsa-utils-1.2.3/alsactl/lock.c:62: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).
			fd = open(nfile, O_RDWR|O_CREAT|O_EXCL, 0644);
data/alsa-utils-1.2.3/alsactl/monitor.c:45:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[16];
data/alsa-utils-1.2.3/alsactl/state.c:36:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char str[128];
data/alsa-utils-1.2.3/alsactl/state.c:49:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char str[32];
data/alsa-utils-1.2.3/alsactl/state.c:50: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(str, "%ld", n);
data/alsa-utils-1.2.3/alsactl/state.c:130: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(p, "%08x", tlv[i]);
data/alsa-utils-1.2.3/alsactl/state.c:235:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/alsa-utils-1.2.3/alsactl/state.c:274: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(buf, " read");
data/alsa-utils-1.2.3/alsactl/state.c:276: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(buf, " write");
data/alsa-utils-1.2.3/alsactl/state.c:278: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(buf, " inactive");
data/alsa-utils-1.2.3/alsactl/state.c:280: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(buf, " volatile");
data/alsa-utils-1.2.3/alsactl/state.c:282: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(buf, " locked");
data/alsa-utils-1.2.3/alsactl/state.c:284: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(buf, " user");
data/alsa-utils-1.2.3/alsactl/state.c:318: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(buf, "%li - %li (step %li)", min, max, step);
data/alsa-utils-1.2.3/alsactl/state.c:320: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(buf, "%li - %li", min, max);
data/alsa-utils-1.2.3/alsactl/state.c:339: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(buf, "%lli - %lli (step %lli)", min, max, step);
data/alsa-utils-1.2.3/alsactl/state.c:341: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(buf, "%lli - %lli", min, max);
data/alsa-utils-1.2.3/alsactl/state.c:415: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 buf[size * 2 + 1];
data/alsa-utils-1.2.3/alsactl/state.c:557:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[32];
data/alsa-utils-1.2.3/alsactl/state.c:564: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(name, "hw:%d", cardno);
data/alsa-utils-1.2.3/alsactl/state.c:865:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		numid = atoi(id);
data/alsa-utils-1.2.3/alsactl/state.c:1233:10:  [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).
	numid = atoi(id);
data/alsa-utils-1.2.3/alsactl/state.c:1436:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		idx = atoi(id);
data/alsa-utils-1.2.3/alsactl/state.c:1474:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[32], tmpid[16];
data/alsa-utils-1.2.3/alsactl/state.c:1478: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(name, "hw:%d", card);
data/alsa-utils-1.2.3/alsactl/state.c:1495: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(tmpid, "card%d", card);
data/alsa-utils-1.2.3/alsactl/state.c:1563: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(nfile, ".new");
data/alsa-utils-1.2.3/alsactl/state.c:1679: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 cardname1[16];
data/alsa-utils-1.2.3/alsactl/state.c:1706: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(cardname1, "%i", card);
data/alsa-utils-1.2.3/alsactl/state.c:1722: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 cardname1[16];
data/alsa-utils-1.2.3/alsactl/state.c:1745: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(cardname1, "%i", card);
data/alsa-utils-1.2.3/alsactl/utils.c:42: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(filename, O_RDONLY);
data/alsa-utils-1.2.3/alsactl/utils.c:87: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 sexitcode[16];
data/alsa-utils-1.2.3/alsactl/utils.c:93: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(sexitcode, "%i", exitcode);
data/alsa-utils-1.2.3/alsactl/utils.c:94: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).
	fp = open(statefile, O_WRONLY|O_CREAT|O_APPEND, 0644);
data/alsa-utils-1.2.3/alsactl/utils.c:108:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[1024];
data/alsa-utils-1.2.3/alsactl/utils.c:183: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[2048];
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:79: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 idbuf[1024];
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:322: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).
			mixer->alsa_index = atoi(str1);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:407: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 *arg_mixers[MAX_MIXERS];
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:409: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 *arg_ossmixers[MAX_MIXERS];
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:445:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:449:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:460:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:464:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:468:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:472:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:476:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:501:22:  [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).
				arg_samplerate = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:521: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).
				arg_sync = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:533: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).
				arg_slave = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:538: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).
			arg_thread = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:569: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).
			arg_wake = atoi(optarg);
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:641:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[2048], word[2048];
data/alsa-utils-1.2.3/alsaloop/alsaloop.c:646:7:  [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).
	fp = fopen(file, "r");
data/alsa-utils-1.2.3/alsaloop/control.c:31:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char str[128];
data/alsa-utils-1.2.3/alsaloop/control.c:56:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			numid = atoi(str);
data/alsa-utils-1.2.3/alsaloop/control.c:61:34:  [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).
			snd_ctl_elem_id_set_numid(id, atoi(str));
data/alsa-utils-1.2.3/alsaloop/control.c:88: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 buf[64];
data/alsa-utils-1.2.3/alsaloop/control.c:116:34:  [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).
			snd_ctl_elem_id_set_index(id, atoi(str));
data/alsa-utils-1.2.3/alsaloop/control.c:121:35:  [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).
			snd_ctl_elem_id_set_device(id, atoi(str));
data/alsa-utils-1.2.3/alsaloop/control.c:126:38:  [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).
			snd_ctl_elem_id_set_subdevice(id, atoi(str));
data/alsa-utils-1.2.3/alsaloop/control.c:216: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[128], file[128];
data/alsa-utils-1.2.3/alsaloop/control.c:226: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(file, "/proc/asound/card%i/oss_mixer", loop->capt->card_number);
data/alsa-utils-1.2.3/alsaloop/control.c:229: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(file, O_WRONLY);
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:526: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(play->buf + ppos * play->frame_size,
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:1256: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[16], *dev = lhandle->ctldev;
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:1258: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(name, "hw:%i", card);
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:1319: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 id[128];
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:1322: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).
	loop->cfile = fopen(FILE_CWRITE, "w+");
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:1325: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).
	loop->pfile = fopen(FILE_PWRITE, "w+");
data/alsa-utils-1.2.3/alsamixer/card_select.c:177: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[16];
data/alsa-utils-1.2.3/alsamixer/card_select.c:194: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(buf, "hw:%d", number);
data/alsa-utils-1.2.3/alsamixer/card_select.c:203: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(buf, "%d", number);
data/alsa-utils-1.2.3/alsamixer/card_select.c:206: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(buf, "hw:%d", number);
data/alsa-utils-1.2.3/alsamixer/cli.c:65:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char name_buf[16];
data/alsa-utils-1.2.3/alsamixer/cli.c:80: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(name_buf, "hw:%d", card_index);
data/alsa-utils-1.2.3/alsamixer/device_name.c:46: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(s, field_buffer(fields[1], 0), cols);
data/alsa-utils-1.2.3/alsamixer/mixer_controls.c:212: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(s, "S/PDIF", 6);
data/alsa-utils-1.2.3/alsamixer/mixer_display.c:97:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *labels_left[4] = {
data/alsa-utils-1.2.3/alsamixer/mixer_display.c:103:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *labels_right[4] = {
data/alsa-utils-1.2.3/alsamixer/mixer_display.c:191:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *modes[3] = {
data/alsa-utils-1.2.3/alsamixer/mixer_display.c:241: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[64];
data/alsa-utils-1.2.3/alsamixer/mixer_display.c:407: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[64];
data/alsa-utils-1.2.3/alsamixer/mixer_display.c:489: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(buf, "%d", (int)lrint(volumes[0] * 100));
data/alsa-utils-1.2.3/alsamixer/textbox.c:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *lines[2];
data/alsa-utils-1.2.3/alsamixer/textbox.c:57:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *lines[2];
data/alsa-utils-1.2.3/alsamixer/textbox.c:77:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(file_name, "r");
data/alsa-utils-1.2.3/alsaucm/dump.c:64: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 a[1];
data/alsa-utils-1.2.3/alsaucm/dump.c:98: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 buf1[128], buf2[128];
data/alsa-utils-1.2.3/alsaucm/dump.c:116: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 buf1[128], buf2[128];
data/alsa-utils-1.2.3/alsaucm/dump.c:161: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[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:198: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 buf1[256], buf2[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:283: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[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:311: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[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:365: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[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:401: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[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:453: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[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:486: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[256];
data/alsa-utils-1.2.3/alsaucm/dump.c:552: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[256];
data/alsa-utils-1.2.3/alsaucm/usecase.c:183:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[16];
data/alsa-utils-1.2.3/alsaucm/usecase.c:416: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 cmd[MAX_BUF];
data/alsa-utils-1.2.3/alsaucm/usecase.c:473:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			in = fopen(context->batch, "r");
data/alsa-utils-1.2.3/amidi/amidi.c:169:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[32];
data/alsa-utils-1.2.3/amidi/amidi.c:173: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(name, "hw:%d", card);
data/alsa-utils-1.2.3/amidi/amidi.c:281: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(send_file_name, O_RDONLY);
data/alsa-utils-1.2.3/amidi/amidi.c:523:21:  [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).
			sysex_interval = atoi(optarg);
data/alsa-utils-1.2.3/amidi/amidi.c:648:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char buf[256];
data/alsa-utils-1.2.3/amixer/amixer.c:46: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 card[64] = "default";
data/alsa-utils-1.2.3/amixer/amixer.c:148:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char result[10];
data/alsa-utils-1.2.3/amixer/amixer.c:836: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 itemname[64];
data/alsa-utils-1.2.3/amixer/amixer.c:1080: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[128];
data/alsa-utils-1.2.3/amixer/amixer.c:1119: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).
	snd_mixer_selem_id_set_index(sid, atoi(str));
data/alsa-utils-1.2.3/amixer/amixer.c:1281:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[64];
data/alsa-utils-1.2.3/amixer/amixer.c:1751: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[256], *args[MAX_ARGS];
data/alsa-utils-1.2.3/amixer/amixer.c:1808:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					sprintf(card, "hw:%i", i);
data/alsa-utils-1.2.3/aplay/aplay.c:280: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/alsa-utils-1.2.3/aplay/aplay.c:281: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(name, "hw:%d", card);
data/alsa-utils-1.2.3/aplay/aplay.c:870:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		pidf = fopen (pidfile_name, "w");
data/alsa-utils-1.2.3/aplay/aplay.c:1010:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer, _buffer + sizeof(WaveHeader), size - sizeof(WaveHeader));
data/alsa-utils-1.2.3/aplay/aplay.c:1156: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, buffer, size);
data/alsa-utils-1.2.3/aplay/aplay.c:1235: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 mapped[hwparams.channels];
data/alsa-utils-1.2.3/aplay/aplay.c:1286: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 buf[256];
data/alsa-utils-1.2.3/aplay/aplay.c:1362: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 plugex[64];
data/alsa-utils-1.2.3/aplay/aplay.c:1702:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[80];
data/alsa-utils-1.2.3/aplay/aplay.c:1713: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(line + val, "| MAX");
data/alsa-utils-1.2.3/aplay/aplay.c:1715: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(line + val, "| %02i%%", maxperc);
data/alsa-utils-1.2.3/aplay/aplay.c:1724:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[80];
data/alsa-utils-1.2.3/aplay/aplay.c:1732:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[4];
data/alsa-utils-1.2.3/aplay/aplay.c:1747: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(tmp, "MAX");
data/alsa-utils-1.2.3/aplay/aplay.c:1749: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(tmp, "%02d%%", maxperc[c]);
data/alsa-utils-1.2.3/aplay/aplay.c:1751: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(line + bar_length + 3 + 1, tmp, 3);
data/alsa-utils-1.2.3/aplay/aplay.c:1753: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(line + bar_length, tmp, 3);
data/alsa-utils-1.2.3/aplay/aplay.c:1999: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(dst, src + sample_bytes * hw_map[ch],
data/alsa-utils-1.2.3/aplay/aplay.c:2225: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(audiobuf + buffer_pos, data, size);
data/alsa-utils-1.2.3/aplay/aplay.c:2326: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(buf, data, in_buffer);
data/alsa-utils-1.2.3/aplay/aplay.c:2531:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(vh.magic, VOC_MAGIC_STRING, 20);
data/alsa-utils-1.2.3/aplay/aplay.c:2915:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((fd = open(name, O_RDONLY, 0)) == -1) {
data/alsa-utils-1.2.3/aplay/aplay.c:2966: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 formatstring[PATH_MAX] = "";
data/alsa-utils-1.2.3/aplay/aplay.c:2967: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 tempstring[PATH_MAX] = "";
data/alsa-utils-1.2.3/aplay/aplay.c:2990:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					sprintf(tempstr, "%02d", filenumber);
data/alsa-utils-1.2.3/aplay/aplay.c:3020:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[PATH_MAX-10];
data/alsa-utils-1.2.3/aplay/aplay.c:3112: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(name, O_WRONLY | O_CREAT, 0644);
data/alsa-utils-1.2.3/aplay/aplay.c:3117: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).
			fd = open(name, O_WRONLY | O_CREAT, 0644);
data/alsa-utils-1.2.3/aplay/aplay.c:3127: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 namebuf[PATH_MAX+2];
data/alsa-utils-1.2.3/aplay/aplay.c:3340: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 format[1024];
data/alsa-utils-1.2.3/aplay/aplay.c:3341: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(format, names[0], len);
data/alsa-utils-1.2.3/aplay/aplay.c:3342: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(format + len, ".%d");
data/alsa-utils-1.2.3/aplay/aplay.c:3356: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).
		fds[channel] = open(names[channel], O_RDONLY, 0);
data/alsa-utils-1.2.3/aplay/aplay.c:3393: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 format[1024];
data/alsa-utils-1.2.3/aplay/aplay.c:3394: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(format, names[0], len);
data/alsa-utils-1.2.3/aplay/aplay.c:3395: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(format + len, ".%d");
data/alsa-utils-1.2.3/aplay/aplay.c:3409: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).
		fds[channel] = open(names[channel], O_WRONLY + O_CREAT, 0644);
data/alsa-utils-1.2.3/axfer/container-au.c:83:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&header.magic, cntr->magic, sizeof(cntr->magic));
data/alsa-utils-1.2.3/axfer/container-riff-wave.c:158:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf.chunk.id, cntr->magic, sizeof(cntr->magic));
data/alsa-utils-1.2.3/axfer/container-voc.c:438:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&header.magic, cntr->magic, sizeof(cntr->magic));
data/alsa-utils-1.2.3/axfer/container-voc.c:473:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(cache, header, sizeof(*header));
data/alsa-utils-1.2.3/axfer/container.c:184: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).
		cntr->fd = open(path, O_RDONLY | O_NONBLOCK);
data/alsa-utils-1.2.3/axfer/container.c:268: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).
		cntr->fd = open(path, O_RDWR | O_NONBLOCK | O_CREAT | O_TRUNC,
data/alsa-utils-1.2.3/axfer/container.c:395:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf, cntr->magic, sizeof(cntr->magic));
data/alsa-utils-1.2.3/axfer/container.h:49: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 magic[4];
data/alsa-utils-1.2.3/axfer/mapper-multiple.c:43: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(dst + dst_pos, src + src_pos, bytes_per_sample);
data/alsa-utils-1.2.3/axfer/mapper-multiple.c:69: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(dst + dst_pos, src + src_pos, bytes_per_sample);
data/alsa-utils-1.2.3/axfer/mapper-single.c:36: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(dst + dst_pos, src + src_pos, bytes_per_sample);
data/alsa-utils-1.2.3/axfer/mapper-single.c:58: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(dst + dst_pos, src + src_pos, bytes_per_sample);
data/alsa-utils-1.2.3/axfer/subcmd-list.c:91:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[32];
data/alsa-utils-1.2.3/axfer/subcmd-list.c:108: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(name, "hw:%d", card);
data/alsa-utils-1.2.3/axfer/test/generator.c:28:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	gen->fd = open("/dev/urandom", O_RDONLY);
data/alsa-utils-1.2.3/axfer/xfer-libffado.c:306: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[32] = {0};
data/alsa-utils-1.2.3/axfer/xfer-libffado.c:307: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 *strings[1];
data/alsa-utils-1.2.3/axfer/xfer-options.c:310:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(l_opts, long_opts, ARRAY_SIZE(long_opts) * sizeof(*l_opts));
data/alsa-utils-1.2.3/axfer/xfer-options.c:311:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&l_opts[ARRAY_SIZE(long_opts)], data->l_opts,
data/alsa-utils-1.2.3/bat/alsa.c:388:8:  [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).
		fp = fopen(bat->debugplay, "wb");
data/alsa-utils-1.2.3/bat/alsa.c:472: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).
		bat->fp = fopen(bat->playback.file, "rb");
data/alsa-utils-1.2.3/bat/alsa.c:556:7:  [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).
	fp = fopen(bat->capture.file, "wb");
data/alsa-utils-1.2.3/bat/alsa.c:615:7:  [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).
	fp = fopen(bat->capture.file, "wb");
data/alsa-utils-1.2.3/bat/analyze.c:460: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).
	bat->fp = fopen(bat->capture.file, "rb");
data/alsa-utils-1.2.3/bat/bat.c:457:20:  [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).
			bat->channels = atoi(optarg);
data/alsa-utils-1.2.3/bat/bat.c:460: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).
			bat->rate = atoi(optarg);
data/alsa-utils-1.2.3/bat/bat.c:469:25:  [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).
			bat->periods_total = atoi(optarg);
data/alsa-utils-1.2.3/bat/bat.c:473:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/bat/bat.c:478:10:  [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).
			err = atoi(optarg);
data/alsa-utils-1.2.3/bat/bat.c:540: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).
		bat->log = fopen(bat->logarg, "wb");
data/alsa-utils-1.2.3/bat/bat.c:566:8:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
		fd = mkstemp(name);
data/alsa-utils-1.2.3/bat/bat.c:604: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).
		bat->fp = fopen(bat->playback.file, "rb");
data/alsa-utils-1.2.3/bat/signal.c:102:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(new_buf, val, bytes);
data/alsa-utils-1.2.3/bat/tinyalsa.c:205:8:  [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).
		fp = fopen(bat->debugplay, "wb");
data/alsa-utils-1.2.3/bat/tinyalsa.c:268: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).
	*tiny_device = atoi(tmp1);
data/alsa-utils-1.2.3/bat/tinyalsa.c:270: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).
	*tiny_card = atoi(tmp3);
data/alsa-utils-1.2.3/bat/tinyalsa.c:344: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).
		bat->fp = fopen(bat->playback.file, "rb");
data/alsa-utils-1.2.3/bat/tinyalsa.c:392:7:  [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).
	fp = fopen(bat->capture.file, "wb");
data/alsa-utils-1.2.3/bat/tinyalsa.c:437:7:  [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).
	fp = fopen(bat->capture.file, "wb");
data/alsa-utils-1.2.3/iecset/iecset.c:144:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[1024], *cmd, *arg;
data/alsa-utils-1.2.3/iecset/iecset.c:324:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmpname[32];
data/alsa-utils-1.2.3/iecset/iecset.c:336:8:  [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).
			i = atoi(optarg);
data/alsa-utils-1.2.3/iecset/iecset.c:341: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(tmpname, "hw:%d", i);
data/alsa-utils-1.2.3/iecset/iecset.c:345: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).
			spdif_index = atoi(optarg);
data/alsa-utils-1.2.3/seq/aconnect/aconnect.c:300:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			queue = atoi(optarg);
data/alsa-utils-1.2.3/seq/aconnect/aconnect.c:305:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			queue = atoi(optarg);
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:52: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 d[3];	/* channel and data bytes */
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:56:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char sysex[0];
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:781:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(file_name, "rb");
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:895: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).
			end_delay = atoi(optarg);
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:40:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[BUFFER_SIZE];
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:327:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[32];
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:349: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(name, "arecordmidi port %i", i);
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:773:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			beats = atoi(optarg);
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:779:13:  [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).
			frames = atoi(optarg);
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:786:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			ticks = atoi(optarg);
data/alsa-utils-1.2.3/seq/aplaymidi/arecordmidi.c:871:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(filename, "wb");
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:111:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				port = atoi(optarg);
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:416:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&addr.sin_addr, host->h_addr, host->h_length);
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:438: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(pollfds, seqifds, sizeof(*seqifds)*(width = seqifds_count));
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:557: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(buf, ev, sizeof(snd_seq_event_t));
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:558: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(buf + EVENT_PACKET_SIZE, ev->data.ext.ptr, ev->data.ext.len);
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:561: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(buf, ev, EVENT_PACKET_SIZE);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:119:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *const channel_name[MAX_CHANNELS] = {
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:625:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *wav_file[MAX_CHANNELS];
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:680:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((fd = open(wav_file[channel], O_RDONLY)) < 0) {
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:728:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 const char *const wavs[MAX_CHANNELS] = {
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:780: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).
    wavfp = fopen(wav_file[channel], "r");
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1035: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).
      rate = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1040: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).
      channels = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1048:21:  [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).
      buffer_time = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1052:21:  [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).
      period_time = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1056: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).
      nperiods = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1072: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).
	test_type = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1083: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).
      nloops = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1086: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).
      speaker = atoi(optarg);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:1108:25:  [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).
      generator_scale = atoi(optarg) / 100.0;
data/alsa-utils-1.2.3/topology/topology.c:81: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(source_file, O_RDONLY);
data/alsa-utils-1.2.3/topology/topology.c:163: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(fname, ".new");
data/alsa-utils-1.2.3/topology/topology.c:164: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(fname, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
data/alsa-utils-1.2.3/alsactl/alsactl.c:336:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(*tmp);
data/alsa-utils-1.2.3/alsactl/daemon.c:282:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		err = read(fd, pid_txt, 11);
data/alsa-utils-1.2.3/alsactl/daemon.c:351: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(1000);
data/alsa-utils-1.2.3/alsactl/init_parse.c:367:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			value = pos ? pos + 1 : value + strlen(value) - 1;
data/alsa-utils-1.2.3/alsactl/init_parse.c:378:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			items = pos ? pos - value : strlen(value);
data/alsa-utils-1.2.3/alsactl/init_parse.c:408:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			value = pos ? pos + 1 : value + strlen(value) - 1;
data/alsa-utils-1.2.3/alsactl/init_parse.c:419:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			value = pos ? pos + 1 : value + strlen(value) - 1;
data/alsa-utils-1.2.3/alsactl/init_parse.c:454:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			value = pos ? pos + 1 : value + strlen(value) - 1;
data/alsa-utils-1.2.3/alsactl/init_parse.c:463:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(value) != count * 2) {
data/alsa-utils-1.2.3/alsactl/init_parse.c:564:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "r");
data/alsa-utils-1.2.3/alsactl/init_parse.c:566:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "w");
data/alsa-utils-1.2.3/alsactl/init_parse.c:568:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "v");
data/alsa-utils-1.2.3/alsactl/init_parse.c:570:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "i");
data/alsa-utils-1.2.3/alsactl/init_parse.c:572:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "l");
data/alsa-utils-1.2.3/alsactl/init_parse.c:574:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "R");
data/alsa-utils-1.2.3/alsactl/init_parse.c:576:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "W");
data/alsa-utils-1.2.3/alsactl/init_parse.c:578:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "C");
data/alsa-utils-1.2.3/alsactl/init_parse.c:580:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "o");
data/alsa-utils-1.2.3/alsactl/init_parse.c:582:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(res, "u");
data/alsa-utils-1.2.3/alsactl/init_parse.c:678:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(res, "|");
data/alsa-utils-1.2.3/alsactl/init_parse.c:710:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(res, "1");
data/alsa-utils-1.2.3/alsactl/init_parse.c:719:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(res, "0");
data/alsa-utils-1.2.3/alsactl/init_parse.c:763:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    	if (strlen(value) == 0 && strncasecmp(attr, "search", 6) == 0) {
data/alsa-utils-1.2.3/alsactl/init_parse.c:780:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    		if (strlen(value) == 0)
data/alsa-utils-1.2.3/alsactl/init_parse.c:1056:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (strncasecmp(&head[1], subst->name, strlen(subst->name)) == 0) {
data/alsa-utils-1.2.3/alsactl/init_parse.c:1058:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						tail = head + strlen(subst->name)+1;
data/alsa-utils-1.2.3/alsactl/init_parse.c:1519:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				count = strlen(string);
data/alsa-utils-1.2.3/alsactl/init_parse.c:1599:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			fwrite(string, strlen(string), 1, stdout);
data/alsa-utils-1.2.3/alsactl/init_parse.c:1609:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			fwrite(string, strlen(string), 1, stderr);
data/alsa-utils-1.2.3/alsactl/init_sysdeps.c:52:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return (bytes + strlen(src));
data/alsa-utils-1.2.3/alsactl/init_sysfs.c:147:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size = read(fd, value, sizeof(value));
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:164:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					count = read(outpipe[READ_END], inbuf, sizeof(inbuf)-1);
data/alsa-utils-1.2.3/alsactl/init_utils_run.c:198:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					count = read(errpipe[READ_END], errbuf, sizeof(errbuf)-1);
data/alsa-utils-1.2.3/alsactl/init_utils_string.c:24: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(path);
data/alsa-utils-1.2.3/alsactl/monitor.c:198:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ssize_t len = read(infd, buf, sizeof(*ev) + NAME_MAX);
data/alsa-utils-1.2.3/alsactl/state.c:141: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(s);
data/alsa-utils-1.2.3/alsactl/state.c:1389:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int len = strlen(buf);
data/alsa-utils-1.2.3/alsactl/state.c:1556:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		nfile = malloc(strlen(file) + 5);
data/alsa-utils-1.2.3/alsactl/utils.c:95: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).
	write(fp, str, strlen(str));
data/alsa-utils-1.2.3/alsactl/utils.c:97:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	write(fp, reason, strlen(reason));
data/alsa-utils-1.2.3/alsactl/utils.c:99: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).
	write(fp, sexitcode, strlen(sexitcode));
data/alsa-utils-1.2.3/alsactl/utils.c:112:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
data/alsa-utils-1.2.3/alsactl/utils.c:112:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
data/alsa-utils-1.2.3/alsaloop/control.c:230:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fd >= 0 && write(fd, buf, strlen(buf)) == strlen(buf)) {
data/alsa-utils-1.2.3/alsaloop/control.c:230:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fd >= 0 && write(fd, buf, strlen(buf)) == strlen(buf)) {
data/alsa-utils-1.2.3/alsaloop/pcmjob.c:668: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(1);
data/alsa-utils-1.2.3/alsamixer/device_name.c:47: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).
		for (i = strlen(s) - 1; i >= 0 && s[i] == ' '; --i)
data/alsa-utils-1.2.3/alsamixer/mixer_display.c:691:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name_len = strlen(controls[i].name);
data/alsa-utils-1.2.3/alsamixer/utils.c:62: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(s);
data/alsa-utils-1.2.3/alsaucm/dump.c:163: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 (!last && strlen(buf) < sizeof(buf) - 2)
data/alsa-utils-1.2.3/alsaucm/dump.c:164:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(buf, ",");
data/alsa-utils-1.2.3/amidi/amidi.c:257:5:  [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((buffer_size - snd_rawmidi_status_get_avail(st)) * 320);
data/alsa-utils-1.2.3/amidi/amidi.c:260: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(sysex_interval * 1000);
data/alsa-utils-1.2.3/amidi/amidi.c:293:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, send_data, length) != length) {
data/alsa-utils-1.2.3/amidi/amidi.c:327: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).
	send_data = my_malloc(strlen(send_hex)); /* guesstimate */
data/alsa-utils-1.2.3/amidi/amidi.c:442: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).
	length = (send_hex ? strlen(send_hex) + 1 : 0) + strlen(str) + 1;
data/alsa-utils-1.2.3/amidi/amidi.c:442:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	length = (send_hex ? strlen(send_hex) + 1 : 0) + strlen(str) + 1;
data/alsa-utils-1.2.3/amidi/amidi.c:446:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(s, " ");
data/alsa-utils-1.2.3/amidi/amidi.c:708:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			printf("\n%d bytes read\n", read);
data/alsa-utils-1.2.3/amixer/amixer.c:405:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!strncasecmp(*ptr, str, strlen(str))) {
data/alsa-utils-1.2.3/amixer/amixer.c:420:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!strncasecmp(xptr, str, strlen(str))) {
data/alsa-utils-1.2.3/amixer/amixer.c:708:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		decode_tlv(strlen(space), tlv, 4096);
data/alsa-utils-1.2.3/amixer/amixer.c:1247:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncasecmp(*arg, c->name, strlen(c->name)) == 0) {
data/alsa-utils-1.2.3/amixer/amixer.c:1291:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(name);
data/alsa-utils-1.2.3/amixer/amixer.c:1816:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(card, optarg, sizeof(card)-1);
data/alsa-utils-1.2.3/aplay/aplay.c:928:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((res = read(fd, buf, count)) == 0)
data/alsa-utils-1.2.3/aplay/aplay.c:1549:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while (read(fileno(stdin), &b, 1) != 1);
data/alsa-utils-1.2.3/aplay/aplay.c:1551:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			while (read(fileno(stdin), &b, 1) == 1);
data/alsa-utils-1.2.3/aplay/aplay.c:1569:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while (read(fileno(stdin), &b, 1) == 1) {
data/alsa-utils-1.2.3/aplay/aplay.c:1571:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				while (read(fileno(stdin), &b, 1) == 1);
data/alsa-utils-1.2.3/aplay/aplay.c:3039:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, name, sizeof(buf));
data/alsa-utils-1.2.3/aplay/aplay.c:3042: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).
	s = buf + strlen(buf);
data/alsa-utils-1.2.3/aplay/aplay.c:3048:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s = buf + strlen(buf);
data/alsa-utils-1.2.3/aplay/aplay.c:3339:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(names[0]);
data/alsa-utils-1.2.3/aplay/aplay.c:3392:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(names[0]);
data/alsa-utils-1.2.3/axfer/container.c:50:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		result = read(cntr->fd, dst + consumed, byte_count - consumed);
data/alsa-utils-1.2.3/axfer/container.c:107:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		pos = path + strlen(path) - strlen(suffix);
data/alsa-utils-1.2.3/axfer/container.c:107: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).
		pos = path + strlen(path) - strlen(suffix);
data/alsa-utils-1.2.3/axfer/container.c:195:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size = strlen(parser->magic);
data/alsa-utils-1.2.3/axfer/main.c:32:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(str) > 1024) {
data/alsa-utils-1.2.3/axfer/main.c:191: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).
		for (pos = argv[0] + strlen(argv[0]); pos != argv[0]; --pos) {
data/alsa-utils-1.2.3/axfer/main.c:251:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strstr(argv[0], "arecord") == argv[0] + strlen(argv[0]) - 7 ||
data/alsa-utils-1.2.3/axfer/main.c:252:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strstr(argv[0], "aplay") == argv[0] + strlen(argv[0]) - 5) {
data/alsa-utils-1.2.3/axfer/test/generator.c:98:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		len = read(fd, frame_buffer, size);
data/alsa-utils-1.2.3/axfer/test/generator.c:121:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			len = read(fd, bufs[i], size);
data/alsa-utils-1.2.3/axfer/xfer-options.c:296:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s_opts = malloc(strlen(data->s_opts) + strlen(short_opts) + 1);
data/alsa-utils-1.2.3/axfer/xfer-options.c:296:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s_opts = malloc(strlen(data->s_opts) + strlen(short_opts) + 1);
data/alsa-utils-1.2.3/axfer/xfer-options.c:300:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strcpy(s_opts + strlen(s_opts), short_opts);
data/alsa-utils-1.2.3/axfer/xfer-options.c:301: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).
	s_opts[strlen(data->s_opts) + strlen(short_opts)] = '\0';
data/alsa-utils-1.2.3/axfer/xfer-options.c:301:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s_opts[strlen(data->s_opts) + strlen(short_opts)] = '\0';
data/alsa-utils-1.2.3/axfer/xfer-options.c:429: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(template) + strlen(suffix) + 1;
data/alsa-utils-1.2.3/axfer/xfer-options.c:429:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(template) + strlen(suffix) + 1;
data/alsa-utils-1.2.3/axfer/xfer-options.c:456: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(template) + 1;
data/alsa-utils-1.2.3/axfer/xfer-options.c:481:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(suffix) > 0) {
data/alsa-utils-1.2.3/axfer/xfer-options.c:482:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		pos = template + strlen(template) - strlen(suffix);
data/alsa-utils-1.2.3/axfer/xfer-options.c:482:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		pos = template + strlen(template) - strlen(suffix);
data/alsa-utils-1.2.3/axfer/xfer-options.c:489:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(suffix) > 0)
data/alsa-utils-1.2.3/bat/bat.c:191:2:  [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(CAPTURE_DELAY * 1000);
data/alsa-utils-1.2.3/bat/bat.c:694: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(CAPTURE_DELAY * 1000);
data/alsa-utils-1.2.3/iecset/iecset.c:111:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncmp(c, cmds[i].name, strlen(cmds[i].name)) == 0) {
data/alsa-utils-1.2.3/seq/aplaymidi/aplaymidi.c:213:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return getc(file);
data/alsa-utils-1.2.3/seq/aseqnet/aseqnet.c:580:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	count = read(fd, readbuf, MAX_BUF_EVENTS * sizeof(snd_seq_event_t));
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:663: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).
  file = malloc(strlen(wav_file_dir) + strlen(name) + 2);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:663:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  file = malloc(strlen(wav_file_dir) + strlen(name) + 2);
data/alsa-utils-1.2.3/speaker-test/speaker-test.c:684:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, &header, sizeof(header)) < (int)sizeof(header)) {
data/alsa-utils-1.2.3/topology/topology.c:95:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read(fd, buf + pos, size - pos);
data/alsa-utils-1.2.3/topology/topology.c:161:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		fname = alloca(strlen(output_file) + 5);
data/alsa-utils-1.2.3/topology/topology.c:225:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	err = save(output_file, text, strlen(text));
data/alsa-utils-1.2.3/topology/topology.c:288:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	err = save(output_file, text, strlen(text));

ANALYSIS SUMMARY:

Hits = 552
Lines analyzed = 40499 in approximately 1.03 seconds (39272 lines/second)
Physical Source Lines of Code (SLOC) = 33399
Hits@level = [0] 930 [1] 109 [2] 283 [3]  23 [4] 136 [5]   1
Hits@level+ = [0+] 1482 [1+] 552 [2+] 443 [3+] 160 [4+] 137 [5+]   1
Hits/KSLOC@level+ = [0+] 44.3726 [1+] 16.5274 [2+] 13.2639 [3+] 4.79056 [4+] 4.10192 [5+] 0.029941
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.