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-lib-1.2.3.2/alsalisp/alsalisp.c
Examining data/alsa-lib-1.2.3.2/aserver/aserver.c
Examining data/alsa-lib-1.2.3.2/modules/mixer/simple/ac97.c
Examining data/alsa-lib-1.2.3.2/modules/mixer/simple/hda.c
Examining data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c
Examining data/alsa-lib-1.2.3.2/modules/mixer/simple/sbase.c
Examining data/alsa-lib-1.2.3.2/modules/mixer/simple/sbasedl.c
Examining data/alsa-lib-1.2.3.2/modules/mixer/simple/sbase.h
Examining data/alsa-lib-1.2.3.2/src/timer/timer_local.h
Examining data/alsa-lib-1.2.3.2/src/timer/timer_symbols.c
Examining data/alsa-lib-1.2.3.2/src/timer/timer_query.c
Examining data/alsa-lib-1.2.3.2/src/timer/timer_hw.c
Examining data/alsa-lib-1.2.3.2/src/timer/timer_query_hw.c
Examining data/alsa-lib-1.2.3.2/src/timer/timer.c
Examining data/alsa-lib-1.2.3.2/src/alisp/alisp_local.h
Examining data/alsa-lib-1.2.3.2/src/alisp/alisp_snd.c
Examining data/alsa-lib-1.2.3.2/src/alisp/alisp.c
Examining data/alsa-lib-1.2.3.2/src/topology/channel.c
Examining data/alsa-lib-1.2.3.2/src/topology/log.c
Examining data/alsa-lib-1.2.3.2/src/topology/parser.c
Examining data/alsa-lib-1.2.3.2/src/topology/tplg_local.h
Examining data/alsa-lib-1.2.3.2/src/topology/elem.c
Examining data/alsa-lib-1.2.3.2/src/topology/text.c
Examining data/alsa-lib-1.2.3.2/src/topology/builder.c
Examining data/alsa-lib-1.2.3.2/src/topology/ops.c
Examining data/alsa-lib-1.2.3.2/src/topology/pcm.c
Examining data/alsa-lib-1.2.3.2/src/topology/data.c
Examining data/alsa-lib-1.2.3.2/src/topology/save.c
Examining data/alsa-lib-1.2.3.2/src/topology/dapm.c
Examining data/alsa-lib-1.2.3.2/src/topology/decoder.c
Examining data/alsa-lib-1.2.3.2/src/topology/ctl.c
Examining data/alsa-lib-1.2.3.2/src/shmarea.c
Examining data/alsa-lib-1.2.3.2/src/control/cards.c
Examining data/alsa-lib-1.2.3.2/src/control/control_symbols.c
Examining data/alsa-lib-1.2.3.2/src/control/control_local.h
Examining data/alsa-lib-1.2.3.2/src/control/control_hw.c
Examining data/alsa-lib-1.2.3.2/src/control/control_shm.c
Examining data/alsa-lib-1.2.3.2/src/control/control_ext.c
Examining data/alsa-lib-1.2.3.2/src/control/namehint.c
Examining data/alsa-lib-1.2.3.2/src/control/control.c
Examining data/alsa-lib-1.2.3.2/src/control/tlv.c
Examining data/alsa-lib-1.2.3.2/src/control/setup.c
Examining data/alsa-lib-1.2.3.2/src/control/hcontrol.c
Examining data/alsa-lib-1.2.3.2/src/control/ctlparse.c
Examining data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c
Examining data/alsa-lib-1.2.3.2/src/seq/seqmid.c
Examining data/alsa-lib-1.2.3.2/src/seq/seq_hw.c
Examining data/alsa-lib-1.2.3.2/src/seq/seq.c
Examining data/alsa-lib-1.2.3.2/src/seq/seq_event.c
Examining data/alsa-lib-1.2.3.2/src/seq/seq_symbols.c
Examining data/alsa-lib-1.2.3.2/src/seq/seq_local.h
Examining data/alsa-lib-1.2.3.2/src/seq/seq_old.c
Examining data/alsa-lib-1.2.3.2/src/output.c
Examining data/alsa-lib-1.2.3.2/src/pcm/mask_inline.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_hw.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_mulaw.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_hooks.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_meter.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_ioplug.c
Examining data/alsa-lib-1.2.3.2/src/pcm/interval_inline.h
Examining data/alsa-lib-1.2.3.2/src/pcm/mask.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c
Examining data/alsa-lib-1.2.3.2/src/pcm/plugin_ops.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_empty.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_params.c
Examining data/alsa-lib-1.2.3.2/src/pcm/interval.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_generic.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_x86_64.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_iec958.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_misc.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap_emul.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm.c
Examining data/alsa-lib-1.2.3.2/src/pcm/ladspa.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dsnoop.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_generic.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_linear.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_rate_linear.c
Examining data/alsa-lib-1.2.3.2/src/pcm/scopes/level.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_i386.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_x86_64.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_simple.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_asym.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_copy.c
Examining data/alsa-lib-1.2.3.2/src/pcm/mask.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_softvol.c
Examining data/alsa-lib-1.2.3.2/src/pcm/interval.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_adpcm.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_i386.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_symbols.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_extplug.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_rate.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_lfloat.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_multi.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_alaw.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_generic.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_route.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_null.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_dshare.c
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.h
Examining data/alsa-lib-1.2.3.2/src/pcm/pcm_ext_parm.h
Examining data/alsa-lib-1.2.3.2/src/async.c
Examining data/alsa-lib-1.2.3.2/src/input.c
Examining data/alsa-lib-1.2.3.2/src/error.c
Examining data/alsa-lib-1.2.3.2/src/mixer/mixer_simple.h
Examining data/alsa-lib-1.2.3.2/src/mixer/mixer.c
Examining data/alsa-lib-1.2.3.2/src/mixer/mixer_local.h
Examining data/alsa-lib-1.2.3.2/src/mixer/bag.c
Examining data/alsa-lib-1.2.3.2/src/mixer/simple_none.c
Examining data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c
Examining data/alsa-lib-1.2.3.2/src/mixer/simple.c
Examining data/alsa-lib-1.2.3.2/src/confmisc.c
Examining data/alsa-lib-1.2.3.2/src/socket.c
Examining data/alsa-lib-1.2.3.2/src/userfile.c
Examining data/alsa-lib-1.2.3.2/src/hwdep/hwdep_local.h
Examining data/alsa-lib-1.2.3.2/src/hwdep/hwdep.c
Examining data/alsa-lib-1.2.3.2/src/hwdep/hwdep_symbols.c
Examining data/alsa-lib-1.2.3.2/src/hwdep/hwdep_hw.c
Examining data/alsa-lib-1.2.3.2/src/names.c
Examining data/alsa-lib-1.2.3.2/src/ucm/ucm_local.h
Examining data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c
Examining data/alsa-lib-1.2.3.2/src/ucm/ucm_include.c
Examining data/alsa-lib-1.2.3.2/src/ucm/ucm_cond.c
Examining data/alsa-lib-1.2.3.2/src/ucm/parser.c
Examining data/alsa-lib-1.2.3.2/src/ucm/main.c
Examining data/alsa-lib-1.2.3.2/src/ucm/utils.c
Examining data/alsa-lib-1.2.3.2/src/ucm/ucm_regex.c
Examining data/alsa-lib-1.2.3.2/src/dlmisc.c
Examining data/alsa-lib-1.2.3.2/src/conf.c
Examining data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_hw.c
Examining data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c
Examining data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_symbols.c
Examining data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi.c
Examining data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_local.h
Examining data/alsa-lib-1.2.3.2/test/pcm-multi-thread.c
Examining data/alsa-lib-1.2.3.2/test/chmap.c
Examining data/alsa-lib-1.2.3.2/test/user-ctl-element-set.c
Examining data/alsa-lib-1.2.3.2/test/midifile.h
Examining data/alsa-lib-1.2.3.2/test/queue_timer.c
Examining data/alsa-lib-1.2.3.2/test/audio_time.c
Examining data/alsa-lib-1.2.3.2/test/oldapi.c
Examining data/alsa-lib-1.2.3.2/test/seq.c
Examining data/alsa-lib-1.2.3.2/test/seq-sender.c
Examining data/alsa-lib-1.2.3.2/test/lsb/test.h
Examining data/alsa-lib-1.2.3.2/test/lsb/config.c
Examining data/alsa-lib-1.2.3.2/test/lsb/midi_event.c
Examining data/alsa-lib-1.2.3.2/test/pcm.c
Examining data/alsa-lib-1.2.3.2/test/pcm_min.c
Examining data/alsa-lib-1.2.3.2/test/playmidi1.c
Examining data/alsa-lib-1.2.3.2/test/client_event_filter.c
Examining data/alsa-lib-1.2.3.2/test/namehint.c
Examining data/alsa-lib-1.2.3.2/test/seq-decoder.c
Examining data/alsa-lib-1.2.3.2/test/latency.c
Examining data/alsa-lib-1.2.3.2/test/control.c
Examining data/alsa-lib-1.2.3.2/test/timer.c
Examining data/alsa-lib-1.2.3.2/test/midifile.c
Examining data/alsa-lib-1.2.3.2/test/rawmidi.c
Examining data/alsa-lib-1.2.3.2/test/midiloop.c
Examining data/alsa-lib-1.2.3.2/include/hwdep.h
Examining data/alsa-lib-1.2.3.2/include/output.h
Examining data/alsa-lib-1.2.3.2/include/asoundlib.h
Examining data/alsa-lib-1.2.3.2/include/input.h
Examining data/alsa-lib-1.2.3.2/include/seqmid.h
Examining data/alsa-lib-1.2.3.2/include/topology.h
Examining data/alsa-lib-1.2.3.2/include/asoundlib-tail.h
Examining data/alsa-lib-1.2.3.2/include/global.h
Examining data/alsa-lib-1.2.3.2/include/control_external.h
Examining data/alsa-lib-1.2.3.2/include/conf.h
Examining data/alsa-lib-1.2.3.2/include/version.h
Examining data/alsa-lib-1.2.3.2/include/seq_midi_event.h
Examining data/alsa-lib-1.2.3.2/include/pcm_rate.h
Examining data/alsa-lib-1.2.3.2/include/error.h
Examining data/alsa-lib-1.2.3.2/include/pcm_extplug.h
Examining data/alsa-lib-1.2.3.2/include/pcm_plugin.h
Examining data/alsa-lib-1.2.3.2/include/search.h
Examining data/alsa-lib-1.2.3.2/include/pcm.h
Examining data/alsa-lib-1.2.3.2/include/sys.h
Examining data/alsa-lib-1.2.3.2/include/asoundlib-head.h
Examining data/alsa-lib-1.2.3.2/include/pcm_external.h
Examining data/alsa-lib-1.2.3.2/include/bswap.h
Examining data/alsa-lib-1.2.3.2/include/type_compat.h
Examining data/alsa-lib-1.2.3.2/include/local.h
Examining data/alsa-lib-1.2.3.2/include/asoundef.h
Examining data/alsa-lib-1.2.3.2/include/timer.h
Examining data/alsa-lib-1.2.3.2/include/sound/asoc.h
Examining data/alsa-lib-1.2.3.2/include/sound/sb16_csp.h
Examining data/alsa-lib-1.2.3.2/include/sound/asequencer.h
Examining data/alsa-lib-1.2.3.2/include/sound/hdspm.h
Examining data/alsa-lib-1.2.3.2/include/sound/tlv.h
Examining data/alsa-lib-1.2.3.2/include/sound/type_compat.h
Examining data/alsa-lib-1.2.3.2/include/sound/hdsp.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/sb16_csp.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/hdspm.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/tlv.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/hdsp.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/sscape_ioctl.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/emu10k1.h
Examining data/alsa-lib-1.2.3.2/include/sound/uapi/asound_fm.h
Examining data/alsa-lib-1.2.3.2/include/sound/sscape_ioctl.h
Examining data/alsa-lib-1.2.3.2/include/sound/asound.h
Examining data/alsa-lib-1.2.3.2/include/sound/emu10k1.h
Examining data/alsa-lib-1.2.3.2/include/sound/asound_fm.h
Examining data/alsa-lib-1.2.3.2/include/alsa-symbols.h
Examining data/alsa-lib-1.2.3.2/include/pcm_ioplug.h
Examining data/alsa-lib-1.2.3.2/include/rawmidi.h
Examining data/alsa-lib-1.2.3.2/include/mixer.h
Examining data/alsa-lib-1.2.3.2/include/control.h
Examining data/alsa-lib-1.2.3.2/include/seq.h
Examining data/alsa-lib-1.2.3.2/include/list.h
Examining data/alsa-lib-1.2.3.2/include/seq_event.h
Examining data/alsa-lib-1.2.3.2/include/pcm_old.h
Examining data/alsa-lib-1.2.3.2/include/alisp.h
Examining data/alsa-lib-1.2.3.2/include/aserver.h
Examining data/alsa-lib-1.2.3.2/include/use-case.h
Examining data/alsa-lib-1.2.3.2/include/mixer_abst.h

FINAL RESULTS:

data/alsa-lib-1.2.3.2/src/input.c:41:11:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
	char *(*(gets))(snd_input_t *input, char *str, size_t size);
data/alsa-lib-1.2.3.2/src/input.c:96:22:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
	return (input->ops->gets)(input, str, size);
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:221:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			if (chmod(filename, ipc_perm) < 0) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:228:8:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
			if (chown(filename, -1, ipc_gid) < 0) {
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2292:8:  [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.
		ss = readlink(filename, dfl, sizeof(dfl)-1);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:209: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, link, sizeof(link) - 1);
data/alsa-lib-1.2.3.2/aserver/aserver.c:43: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-lib-1.2.3.2/aserver/aserver.c:49: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-lib-1.2.3.2/aserver/aserver.c:777: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(client->name, name);
data/alsa-lib-1.2.3.2/include/alisp.h:45:34:  [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.
		       __attribute__ ((format (printf, 4, 5)))
data/alsa-lib-1.2.3.2/include/input.h:70:26:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	__attribute__ ((format (scanf, 2, 3)))
data/alsa-lib-1.2.3.2/include/local.h:319: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.
		if (! access(filename, F_OK))
data/alsa-lib-1.2.3.2/include/output.h:71:26:  [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.
	__attribute__ ((format (printf, 2, 3)))
data/alsa-lib-1.2.3.2/include/pcm.h:645: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.
                       snd_pcm_access_t access,
data/alsa-lib-1.2.3.2/include/pcm_ioplug.h:118: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;	/**< access type; filled after hw_params is called */
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:287: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.
	__le32 access;
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1006:15:  [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.
	unsigned int access;		/* R: value access (bitmask) - SNDRV_CTL_ELEM_ACCESS_* */
data/alsa-lib-1.2.3.2/include/topology.h:886: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.
	int access;		/*!< Control access */
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:181: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(fcn, s);
data/alsa-lib-1.2.3.2/modules/mixer/simple/sbasedl.c:63: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(xlib, path);
data/alsa-lib-1.2.3.2/modules/mixer/simple/sbasedl.c:65: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(xlib, lib);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:1192:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(str1, p1->value.s);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:1194:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(str1, p1->value.s);
data/alsa-lib-1.2.3.2/src/conf.c:604:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/%s", root, name);
data/alsa-lib-1.2.3.2/src/conf.c:3828:17:  [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 (!errors && access(fn, R_OK) < 0)
data/alsa-lib-1.2.3.2/src/conf.c:4086:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(s, "%s/alsa.conf", topdir);
data/alsa-lib-1.2.3.2/src/control/cards.c:66:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(control, SND_FILE_CONTROL, card);
data/alsa-lib-1.2.3.2/src/control/cards.c:71:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf(aload, SND_FILE_LOAD, card);
data/alsa-lib-1.2.3.2/src/control/control.c:653: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(p, labels[i]);
data/alsa-lib-1.2.3.2/src/control/control.c:1330:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "_snd_ctl_%s_open", str);
data/alsa-lib-1.2.3.2/src/control/control.c:1346:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf1, "libasound_module_ctl_%s.so", str);
data/alsa-lib-1.2.3.2/src/control/control.c:2265:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_READ);
data/alsa-lib-1.2.3.2/src/control/control.c:2276:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_WRITE);
data/alsa-lib-1.2.3.2/src/control/control.c:2287:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_VOLATILE);
data/alsa-lib-1.2.3.2/src/control/control.c:2298:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_INACTIVE);
data/alsa-lib-1.2.3.2/src/control/control.c:2309:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_LOCK);
data/alsa-lib-1.2.3.2/src/control/control.c:2320:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_OWNER);
data/alsa-lib-1.2.3.2/src/control/control.c:2331:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_USER);
data/alsa-lib-1.2.3.2/src/control/control.c:2342:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_TLV_READ);
data/alsa-lib-1.2.3.2/src/control/control.c:2353:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_TLV_WRITE);
data/alsa-lib-1.2.3.2/src/control/control.c:2364:17:  [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 !!(obj->access & SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND);
data/alsa-lib-1.2.3.2/src/control/control_ext.c:138:61:  [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.
	ret = ext->callback->get_attribute(ext, key, &type, &info->access, &info->count);
data/alsa-lib-1.2.3.2/src/control/control_ext.c:213:15:  [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.
	unsigned int access, count;
data/alsa-lib-1.2.3.2/src/control/control_ext.c:218:55:  [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.
	ret = ext->callback->get_attribute(ext, key, &type, &access, &count);
data/alsa-lib-1.2.3.2/src/control/control_ext.c:267:15:  [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.
	unsigned int access, count;
data/alsa-lib-1.2.3.2/src/control/control_ext.c:272:55:  [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.
	ret = ext->callback->get_attribute(ext, key, &type, &access, &count);
data/alsa-lib-1.2.3.2/src/control/control_ext.c:334:15:  [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.
	unsigned int access, count, len;
data/alsa-lib-1.2.3.2/src/control/control_ext.c:351:55:  [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.
	ret = ext->callback->get_attribute(ext, key, &type, &access, &count);
data/alsa-lib-1.2.3.2/src/control/control_ext.c:355: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.
	if ((op_flag == 0 && (access & SND_CTL_EXT_ACCESS_TLV_READ) == 0) ||
data/alsa-lib-1.2.3.2/src/control/control_ext.c:356:23:  [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.
	    (op_flag > 0 && (access & SND_CTL_EXT_ACCESS_TLV_WRITE) == 0) ||
data/alsa-lib-1.2.3.2/src/control/control_ext.c:357:23:  [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.
	    (op_flag < 0 && (access & SND_CTL_EXT_ACCESS_TLV_COMMAND) == 0))
data/alsa-lib-1.2.3.2/src/control/control_ext.c:359: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 & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) {
data/alsa-lib-1.2.3.2/src/control/control_hw.c:393:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(filename, SNDRV_FILE_CONTROL, card);
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:134:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(buf, buf1);
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:139:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(buf, buf1);
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:144:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(buf, buf1);
data/alsa-lib-1.2.3.2/src/control/namehint.c:71: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(x + 4, name);
data/alsa-lib-1.2.3.2/src/control/namehint.c:74:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(x, description);
data/alsa-lib-1.2.3.2/src/control/namehint.c:188:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(res, list->cardname);
data/alsa-lib-1.2.3.2/src/control/namehint.c:190:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(res, str2);
data/alsa-lib-1.2.3.2/src/control/namehint.c:195:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(res, list->cardname);
data/alsa-lib-1.2.3.2/src/control/namehint.c:197:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(res, str2);
data/alsa-lib-1.2.3.2/src/control/namehint.c:199:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(res, str1);
data/alsa-lib-1.2.3.2/src/control/namehint.c:217:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(res, list->cardname);
data/alsa-lib-1.2.3.2/src/control/namehint.c:219:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(res, str1);
data/alsa-lib-1.2.3.2/src/control/namehint.c:221:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(res, str2);
data/alsa-lib-1.2.3.2/src/control/namehint.c:255:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf, "%s.%s", base, name);
data/alsa-lib-1.2.3.2/src/control/namehint.c:263:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s:CARD=%s,DEV=%i", name, snd_ctl_card_info_get_id(list->info), list->device);
data/alsa-lib-1.2.3.2/src/control/namehint.c:265:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s:CARD=%s", name, snd_ctl_card_info_get_id(list->info));
data/alsa-lib-1.2.3.2/src/control/namehint.c:267: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(buf, name);
data/alsa-lib-1.2.3.2/src/control/namehint.c:647:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(ehints, "namehint.%s", list.siface);
data/alsa-lib-1.2.3.2/src/dlmisc.c:88:8:  [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(path, X_OK) == 0)
data/alsa-lib-1.2.3.2/src/dlmisc.c:155: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.
				if (access(filename, X_OK) == 0)
data/alsa-lib-1.2.3.2/src/dlmisc.c:227: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(vname + 1, name);
data/alsa-lib-1.2.3.2/src/dlmisc.c:228: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(vname, version);
data/alsa-lib-1.2.3.2/src/error.c:108: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-lib-1.2.3.2/src/error.c:162: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-lib-1.2.3.2/src/hwdep/hwdep_hw.c:117:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(filename, SNDRV_FILE_HWDEP, card, device);
data/alsa-lib-1.2.3.2/src/input.c:138:13:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	extern int vfscanf(FILE *, const char *, va_list);
data/alsa-lib-1.2.3.2/src/input.c:139:9:  [4] (buffer) vfscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	return vfscanf(stdio->fp, format, args);
data/alsa-lib-1.2.3.2/src/input.c:242:13:  [4] (buffer) vsscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	extern int vsscanf(const char *, const char *, va_list);
data/alsa-lib-1.2.3.2/src/input.c:245:9:  [4] (buffer) vsscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	return vsscanf((char *)buffer->ptr, format, args);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:80: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(xlib, path);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:82: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(xlib, lib);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:126: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(xlib, path);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:128: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(xlib, lib);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:304:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(s, "%s/smixer.conf", topdir);
data/alsa-lib-1.2.3.2/src/output.c:147:9:  [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.
	return vfprintf(stdio->fp, format, args);
data/alsa-lib-1.2.3.2/src/output.c:279:11:  [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.
	result = vsnprintf((char *)buffer->buf + buffer->size, size, format, args);
data/alsa-lib-1.2.3.2/src/output.c:289:11:  [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.
	result = vsnprintf((char *)buffer->buf + buffer->size, result, format, args);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:896:91:  [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_mask_set(&params->masks[SND_PCM_HW_PARAM_ACCESS - SND_PCM_HW_PARAM_FIRST_MASK], pcm->access);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1560:11:  [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 (pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1561:61:  [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.
		SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1599:11:  [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 (pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1600:61:  [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.
		SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1638:11:  [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 (pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1639:61:  [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.
		SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1677:11:  [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 (pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1678:61:  [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.
		SNDMSG("invalid access type %s", snd_pcm_access_name(pcm->access));
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:2285:75:  [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_output_printf(out, "  access       : %s\n", snd_pcm_access_name(pcm->access));
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:2584:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "_snd_pcm_%s_open", str);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:2600:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf1, "libasound_module_pcm_%s.so", str);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4186:111:  [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.
EXPORT_SYMBOL int INTERNAL(snd_pcm_hw_params_get_access)(const snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4188:87:  [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 snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4205:97:  [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 snd_pcm_hw_params_test_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4207:78:  [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 snd_pcm_hw_param_set(pcm, params, SND_TEST, SND_PCM_HW_PARAM_ACCESS, access, 0);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4217:96:  [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 snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4219:77:  [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 snd_pcm_hw_param_set(pcm, params, SND_TRY, SND_PCM_HW_PARAM_ACCESS, access, 0);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4230:127:  [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.
EXPORT_SYMBOL int INTERNAL(snd_pcm_hw_params_set_access_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4232:103:  [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 snd_pcm_hw_params_set_access_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4235: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.
	return snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_ACCESS, access, NULL);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4246:126:  [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.
EXPORT_SYMBOL int INTERNAL(snd_pcm_hw_params_set_access_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4248:102:  [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 snd_pcm_hw_params_set_access_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:4251:73:  [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 snd_pcm_hw_param_set_last(pcm, params, SND_PCM_HW_PARAM_ACCESS, access, NULL);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8582: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.
                       snd_pcm_access_t access,
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8611: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 = snd_pcm_hw_params_set_access(pcm, &params, access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:189:2:  [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(filename, size, TMPDIR "/alsa-dmix-%i-%li-%li", (int)getpid(), (long)tv.tv_sec, (long)tv.tv_usec);
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:251:37:  [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.
#define server_printf(fmt, args...) printf(fmt, ##args)
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:867: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.
		if (snd_mask_refine(hw_param_mask(params, SND_PCM_HW_PARAM_ACCESS), &access))
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:1100: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.
	COPY_SLAVE(access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:1499: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.
	COPY_SLAVE(access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.h:93:20:  [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-lib-1.2.3.2/src/pcm/pcm_file.c:122: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(index_ch, value);
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:225:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		pipe = popen(file->final_fname + 1, "w");
data/alsa-lib-1.2.3.2/src/pcm/pcm_hw.c:1695:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(filename, filefmt, card, device);
data/alsa-lib-1.2.3.2/src/pcm/pcm_ioplug.c:429:60:  [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.
	INTERNAL(snd_pcm_hw_params_get_access)(params, &io->data->access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_ioplug.c:439:61:  [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.
		INTERNAL(snd_pcm_hw_params_get_access)(params, &io->data->access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_ioplug.c:698:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED &&
data/alsa-lib-1.2.3.2/src/pcm/pcm_ioplug.c:699:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_ioplug.c:724:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED &&
data/alsa-lib-1.2.3.2/src/pcm/pcm_ioplug.c:725:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1117:41:  [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 (labellocale, label);
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1175:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(filename, path);
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1178:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(filename, dirent->d_name);
data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h:202: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;	/* access mode */
data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h:849:97:  [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 INTERNAL(snd_pcm_hw_params_get_access)(const snd_pcm_hw_params_t *params, snd_pcm_access_t *access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h:850:97:  [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 snd_pcm_hw_params_test_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h:851:96:  [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 snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h:852:113:  [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 INTERNAL(snd_pcm_hw_params_set_access_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h:853:112:  [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 INTERNAL(snd_pcm_hw_params_set_access_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:234:15:  [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.
	switch (pcm->access) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:246: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.
		SNDMSG("invalid access type %d", pcm->access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:425:14:  [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 (pcm->access != SND_PCM_ACCESS_MMAP_INTERLEAVED &&
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:426:14:  [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.
				    pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED)
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:539:16:  [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.
		switch (pcm->access) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:569:42:  [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.
			SNDMSG("invalid access type %d", pcm->access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:595:16:  [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.
		switch (pcm->access) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap.c:625:42:  [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.
			SNDMSG("invalid access type %d", pcm->access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap_emul.c:158: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-lib-1.2.3.2/src/pcm/pcm_mmap_emul.c:172: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.
	if (INTERNAL(snd_pcm_hw_params_get_access)(params, &access) < 0)
data/alsa-lib-1.2.3.2/src/pcm/pcm_mmap_emul.c:174: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.
	switch (access) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_params.c:2405:55:  [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.
	INTERNAL(snd_pcm_hw_params_get_access)(params, &pcm->access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:363: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-lib-1.2.3.2/src/pcm/pcm_plug.c:382:21:  [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.
	slv->access = clt->access;
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:486:21:  [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.
	slv->access = clt->access;
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:583:21:  [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.
	slv->access = clt->access;
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:591: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.
	if (clt->access == slv->access)
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:596:21:  [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.
	slv->access = clt->access;
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:608: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.
	if (clt->access == slv->access)
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:611:15:  [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.
	switch (slv->access) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:624:15:  [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.
	switch (slv->access) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:666:17:  [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.
	       client->access != p.access ||
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:666: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.
	       client->access != p.access ||
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:1023:61:  [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.
	INTERNAL(snd_pcm_hw_params_get_access)(params, &clt_params.access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:1037:21:  [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.
					    clt_params.access) >= 0)) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:1038:77:  [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.
		INTERNAL(snd_pcm_hw_params_set_access_first)(slave, &sparams, &slv_params.access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:146:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED &&
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:147:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:472:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED &&
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:473:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED)
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:561:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED &&
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:562:11:  [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.
	    pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_simple.c:55: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-lib-1.2.3.2/src/pcm/pcm_simple.c:65:53:  [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(pcm, hw_params, access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_simple.c:163: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-lib-1.2.3.2/src/pcm/pcm_simple.c:182: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.
			    &buffer_time, NULL, access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_simple.c:216: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-lib-1.2.3.2/src/pcm/pcm_simple.c:249: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.
				    &buffer_time[i], &period_time[i], access);
data/alsa-lib-1.2.3.2/src/pcm/pcm_softvol.c:806:16:  [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 (! (cinfo.access & SNDRV_CTL_ELEM_ACCESS_USER)) {
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_hw.c:194:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(filename, SNDRV_FILE_RAWMIDI, card, device);
data/alsa-lib-1.2.3.2/src/topology/ctl.c:68: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.
				hdr->access |= ctl_access[j].value;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:112: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.
	unsigned int j, count, access, cval;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:118:16:  [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 = hdr->access;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:121:8:  [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 & cval) == cval) {
data/alsa-lib-1.2.3.2/src/topology/ctl.c:122:4:  [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 &= ~cval;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:132:16:  [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 = hdr->access;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:135:8:  [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 & cval) == cval) {
data/alsa-lib-1.2.3.2/src/topology/ctl.c:140:4:  [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 &= ~cval;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:551: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.
			be->hdr.access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:854: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.
			mc->hdr.access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:916:5:  [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.
	t->access &= (SNDRV_CTL_ELEM_ACCESS_READWRITE |
data/alsa-lib-1.2.3.2/src/topology/ctl.c:923: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.
	hdr->access = t->access;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:929:11:  [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 (hdr->access & SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE
data/alsa-lib-1.2.3.2/src/topology/ctl.c:930: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.
		&& !(hdr->access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK)) {
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1168:14:  [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 (be->hdr.access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) {
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1169:16:  [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 ((be->hdr.access & SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE)
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1172: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.
				be->hdr.access);
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1229: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.
	mt->hdr.access = mc->hdr.access;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1237: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.
		mt->hdr.name, mt->hdr.access);
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1360: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.
	et->hdr.access = ec->hdr.access;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1465: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.
	bt->hdr.access = bc->hdr.access;
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1477: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.
		 bt->hdr.name, bt->hdr.access);
data/alsa-lib-1.2.3.2/src/topology/dapm.c:330: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(line->source, source);
data/alsa-lib-1.2.3.2/src/topology/dapm.c:331: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(line->control, control);
data/alsa-lib-1.2.3.2/src/topology/dapm.c:332: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(line->sink, sink);
data/alsa-lib-1.2.3.2/src/topology/data.c:252:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(buf, buf2);
data/alsa-lib-1.2.3.2/src/topology/log.c:31: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(stdout, fmt, va);
data/alsa-lib-1.2.3.2/src/topology/save.c:33:6:  [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.
	n = vsnprintf(buf, sizeof(buf), fmt, va);
data/alsa-lib-1.2.3.2/src/topology/save.c:57: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 + l, pfx);
data/alsa-lib-1.2.3.2/src/topology/save.c:58: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 + l + pl, buf);
data/alsa-lib-1.2.3.2/src/ucm/main.c:118: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(str, size, fmt, args);
data/alsa-lib-1.2.3.2/src/ucm/main.c:421:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			err = system(s->data.exec);
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2052: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(fn, R_OK) == 0) {
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2151: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(filename, R_OK) != 0) {
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:147: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(name, id);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:385: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(r + dpos, rval);
data/alsa-lib-1.2.3.2/src/ucm/utils.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, va);
data/alsa-lib-1.2.3.2/src/ucm/utils.c:48: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(stdout, fmt, va);
data/alsa-lib-1.2.3.2/test/midifile.c:206:11:  [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).
	  (void) strcat (buff, s);
data/alsa-lib-1.2.3.2/test/pcm.c:97:21:  [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-lib-1.2.3.2/test/pcm.c:116:53:  [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-lib-1.2.3.2/test/pcm.c:715: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-lib-1.2.3.2/test/pcm.c:887: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.
	if ((err = set_hwparams(handle, hwparams, transfer_methods[method].access)) < 0) {
data/alsa-lib-1.2.3.2/alsalisp/alsalisp.c:83: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, "vdw")) != -1) {
data/alsa-lib-1.2.3.2/aserver/aserver.c:1028: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, "h", long_options, 0)) != -1) {
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:1123:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	file = getenv("ALSA_MIXER_SIMPLE_MPYTHON");
data/alsa-lib-1.2.3.2/modules/mixer/simple/sbasedl.c:54:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	path = getenv("ALSA_MIXER_SIMPLE_MODULES");
data/alsa-lib-1.2.3.2/src/conf.c:591: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.
		topdir = getenv("ALSA_CONFIG_DIR");
data/alsa-lib-1.2.3.2/src/conf.c:4081:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		configs = getenv(ALSA_CONFIG_PATH_VAR);
data/alsa-lib-1.2.3.2/src/confmisc.c:286:11:  [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.
				res = getenv(ptr);
data/alsa-lib-1.2.3.2/src/error.c:157: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.
	verbose = getenv("LIBASOUND_DEBUG");
data/alsa-lib-1.2.3.2/src/error.c:168: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.
	verbose = getenv("LIBASOUND_DEBUG_ASSERT");
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:74:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	path = getenv("ALSA_MIXER_SIMPLE_MODULES");
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:120:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	path = getenv("ALSA_MIXER_SIMPLE_MODULES");
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:300:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	file = getenv("ALSA_MIXER_SIMPLE");
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:2633:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			char *str = getenv("LIBASOUND_COMPAT");
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:2780:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			char *p = getenv("LIBASOUND_THREAD_SAFE");
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1599:38:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!ladspa_path && !(ladspa_path = getenv("LADSPA_PATH")))
data/alsa-lib-1.2.3.2/src/pcm/pcm_params.c:31:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *verbose = getenv("LIBASOUND_DEBUG");
data/alsa-lib-1.2.3.2/src/topology/data.c:167:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *env = getenv(ALSA_CONFIG_TPLG_VAR);
data/alsa-lib-1.2.3.2/src/ucm/parser.c:70:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *env = getenv(version > 1 ? ALSA_CONFIG_UCM2_VAR : ALSA_CONFIG_UCM_VAR);
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2261:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *env = getenv(ALSA_CONFIG_UCM2_VAR);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:186:6:  [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.
	e = getenv(id);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:200:6:  [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.
	e = getenv("SYSFS_PATH");
data/alsa-lib-1.2.3.2/src/ucm/utils.c:312: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.
		path = getenv(ALSA_CONFIG_UCM2_VAR);
data/alsa-lib-1.2.3.2/src/ucm/utils.c:316: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.
		path = getenv(ALSA_CONFIG_UCM_VAR);
data/alsa-lib-1.2.3.2/src/userfile.c:83:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char *home = getenv("HOME");
data/alsa-lib-1.2.3.2/test/audio_time.c:149: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-lib-1.2.3.2/test/chmap.c:161: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:s:f:c:r:")) != -1) {
data/alsa-lib-1.2.3.2/test/latency.c:506: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, "hP:C:m:M:F:f:c:r:B:E:s:bpen", long_option, NULL)) < 0)
data/alsa-lib-1.2.3.2/test/pcm-multi-thread.c:127: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:r:f:p:b:s:t:m:vq")) >= 0) {
data/alsa-lib-1.2.3.2/test/pcm.c:796: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, "hD:r:c:f:b:p:m:o:vne", long_option, NULL)) < 0)
data/alsa-lib-1.2.3.2/test/pcm_min.c:18:15:  [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.
		buffer[i] = random() & 0xff;
data/alsa-lib-1.2.3.2/test/playmidi1.c:456: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, "s:a:p:q:vrb")) != -1) {
data/alsa-lib-1.2.3.2/test/seq.c:170: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, "hdvV", long_option, NULL)) < 0)
data/alsa-lib-1.2.3.2/aserver/aserver.c:73: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->sun_path, filename, l);
data/alsa-lib-1.2.3.2/aserver/aserver.c:156: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).
	int (*open)(client_t *client, int *cookie);
data/alsa-lib-1.2.3.2/aserver/aserver.c:168:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/alsa-lib-1.2.3.2/aserver/aserver.c:200:6:  [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).
	int open;
data/alsa-lib-1.2.3.2/aserver/aserver.c:223: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[1];
data/alsa-lib-1.2.3.2/aserver/aserver.c:350: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[1];
data/alsa-lib-1.2.3.2/aserver/aserver.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[1];
data/alsa-lib-1.2.3.2/aserver/aserver.c:393: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[1];
data/alsa-lib-1.2.3.2/aserver/aserver.c:533: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[1];
data/alsa-lib-1.2.3.2/aserver/aserver.c:612: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[1];
data/alsa-lib-1.2.3.2/aserver/aserver.c:781:21:  [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).
	err = client->ops->open(client, &ans.cookie);
data/alsa-lib-1.2.3.2/aserver/aserver.c:801: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).
	if (client->open)
data/alsa-lib-1.2.3.2/aserver/aserver.c:816:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (client->open)
data/alsa-lib-1.2.3.2/aserver/aserver.c:824: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).
	if (client->open)
data/alsa-lib-1.2.3.2/aserver/aserver.c:981: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(pfds, pollfds, sizeof(*pfds) * pfds_count);
data/alsa-lib-1.2.3.2/include/aserver.h:105:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[0];
data/alsa-lib-1.2.3.2/include/aserver.h:140:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[0];
data/alsa-lib-1.2.3.2/include/aserver.h:152: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[0];
data/alsa-lib-1.2.3.2/include/control.h:47: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 status[24];	/**< AES/IEC958 channel status bits */
data/alsa-lib-1.2.3.2/include/control.h:48: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 subcode[147];	/**< AES/IEC958 subcode bits */
data/alsa-lib-1.2.3.2/include/control.h:50: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 dig_subframe[4];	/**< AES/IEC958 subframe bits */
data/alsa-lib-1.2.3.2/include/control_external.h:99: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[16];
data/alsa-lib-1.2.3.2/include/control_external.h:103: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 driver[16];
data/alsa-lib-1.2.3.2/include/control_external.h:107: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-lib-1.2.3.2/include/control_external.h:111: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 longname[80];
data/alsa-lib-1.2.3.2/include/control_external.h:115: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 mixername[80];
data/alsa-lib-1.2.3.2/include/local.h:312: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, fmode);
data/alsa-lib-1.2.3.2/include/pcm.h:480: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 id[16];
data/alsa-lib-1.2.3.2/include/search.h:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char q_data[1];
data/alsa-lib-1.2.3.2/include/seq_event.h:241: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 unused[3];	/**< reserved */
data/alsa-lib-1.2.3.2/include/seq_event.h:248: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 d[12];		/**< 8 bit value */
data/alsa-lib-1.2.3.2/include/seq_event.h:283: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 unused[3];		/**< reserved */
data/alsa-lib-1.2.3.2/include/seq_event.h:290: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 d8[8];		/**< any data */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:213: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 d[12];	/* 8 bit value */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:253: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 pad[3];			/* reserved */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:260: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 d8[8];
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:319: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 reserved[24];
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:329: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 reserved[12];
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:355: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];			/* client name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:357: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 multicast_filter[8]; /* multicast filter bitmap */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:358: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 event_filter[32];	/* event filter bitmap */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:363:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char reserved[56];		/* for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:375: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 reserved[64];
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h: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 name[64];			/* port name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:467: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 reserved[59];		/* for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:484: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];		/* name of this queue */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h: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 reserved[60];	/* for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:498: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 reserved[64];		/* for the future */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:509: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 reserved[24];		/* for the future */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:528: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 reserved[64];		/* for the future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:538: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 reserved[64];	/* for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:552: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 pad[3];		/* reserved */
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:553: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 reserved[64];
data/alsa-lib-1.2.3.2/include/sound/uapi/asequencer.h:568: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 reserved[64];	/* for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:202: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 uuid[16];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:214:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char string[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:236:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char data[0];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:286: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:297: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:318:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* Name of the stream */
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:419: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 texts[SND_SOC_TPLG_NUM_TEXTS][SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:456: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 sink[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:457: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 control[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:458: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 source[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:480: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:481: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 sname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:512: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 pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:513: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 dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:541: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* name - used to match */
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:542: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 stream_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* stream name - used to match */
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:566: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 dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* name - used to match */
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:594: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:612: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 pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asoc.h:613: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 dai_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:58: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 status[24];	/* AES/IEC958 channel status bits */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:59: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 subcode[147];	/* AES/IEC958 subcode bits */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:61: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 dig_subframe[4];	/* AES/IEC958 subframe bits */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:122: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 id[64];		/* ID (user selectable) */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:123: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 name[80];		/* hwdep name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:125: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 reserved[64];	/* reserved for future */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:131: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 id[32];		/* R: driver-specific ID string */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:135: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 reserved[16];	/* reserved for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:140: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 name[64];		/* W: ID (e.g. file name) */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:336: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 id[16];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:346: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 id[64];		/* ID (user selectable) */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:347: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 name[80];		/* name of this device */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:348: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 subname[32];	/* subdevice name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:354: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 reserved[64];	/* reserved for future... */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:422: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 reserved[64];	/* reserved for future */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:444: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 reserved[56];		/* reserved for future */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:471:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef struct { unsigned char pad[sizeof(time_t) - sizeof(int)]; } __time_pad;
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:489: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 reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:540: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 reserved[64];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:544: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 reserved[64];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:549: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.
typedef char __pad_before_uframe[sizeof(__u64) - sizeof(snd_pcm_uframes_t)];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:550: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.
typedef char __pad_after_uframe[0];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:554: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.
typedef char __pad_before_uframe[0];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:555: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.
typedef char __pad_after_uframe[sizeof(__u64) - sizeof(snd_pcm_uframes_t)];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:585: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 reserved[64];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:589: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 reserved[64];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:723: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 id[64];		/* ID (user selectable) */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:724: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 name[80];		/* name of device */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:725: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 subname[32];	/* name of active or selected subdevice */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:728: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 reserved[64];	/* reserved for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:736: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 reserved[16];	/* reserved for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:745: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 reserved[16];	/* reserved for future use */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:800: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 id[64];		/* timer identification */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:801: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 name[80];		/* timer name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:807: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 reserved[32];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:814: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 reserved[32];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:822: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 reserved[32];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:827: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 reserved[32];	/* reserved */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:833: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 id[64];		/* timer identificator */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:834: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 name[80];		/* timer name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:837: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 reserved[64];	/* reserved */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:850: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 reserved[60];	/* reserved */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:859: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 reserved[64];	/* reserved */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:930: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 id[16];		/* ID of card (user selectable) */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:931: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 driver[16];	/* Driver name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:932: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 name[32];		/* Short name of soundcard */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:933: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 longname[80];	/* name + info text about soundcard */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:934: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 reserved_[16];	/* reserved for future (was ID of mixer) */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:935: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 mixername[80];	/* visual mixer identification */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:936: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 components[128];	/* card components / fine identification, delimited with one space (AC97 etc..) */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:990: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 name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];		/* ASCII name of item */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1000: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 reserved[50];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1023: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 name[64];		/* R: value name */
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1027: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 reserved[128];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1029: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 reserved[64];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1049: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 data[512];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1054: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 reserved[128];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound.h:1111: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 data8[60];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound_fm.h:129: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 key[4];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound_fm.h:130: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[25];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound_fm.h:131: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 extension[7];
data/alsa-lib-1.2.3.2/include/sound/uapi/asound_fm.h:132: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 data[32];
data/alsa-lib-1.2.3.2/include/sound/uapi/emu10k1.h:272: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 fxbus_names[16][32];		/* names of FXBUSes */
data/alsa-lib-1.2.3.2/include/sound/uapi/emu10k1.h:273: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 extin_names[16][32];		/* names of external inputs */
data/alsa-lib-1.2.3.2/include/sound/uapi/emu10k1.h:274: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 extout_names[32][32];		/* names of external outputs */
data/alsa-lib-1.2.3.2/include/sound/uapi/emu10k1.h:294: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 name[44];		/* ASCII name of item */
data/alsa-lib-1.2.3.2/include/sound/uapi/emu10k1.h:323: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[128];
data/alsa-lib-1.2.3.2/include/sound/uapi/emu10k1.h:366: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 etram[32];	/* external TRAM address & data (one per channel) */
data/alsa-lib-1.2.3.2/include/sound/uapi/hdsp.h:55: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 adat_sync_check[3];
data/alsa-lib-1.2.3.2/include/sound/uapi/hdspm.h: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[20];
data/alsa-lib-1.2.3.2/include/sound/uapi/sb16_csp.h:68: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 codec_name[16];		/* id name of codec */
data/alsa-lib-1.2.3.2/include/sound/uapi/sb16_csp.h:75: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 data[SNDRV_SB_CSP_MAX_MICROCODE_FILE_SIZE];
data/alsa-lib-1.2.3.2/include/sound/uapi/sb16_csp.h:86: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 codec_name[16];		/* id name of codec */
data/alsa-lib-1.2.3.2/include/sound/uapi/sscape_ioctl.h:7: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 code[256];
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.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 *s, fcn[32] = "opsIs";
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:416: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, s, len);
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:428: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, s, len);
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:1114:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:1129: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-lib-1.2.3.2/modules/mixer/simple/sbasedl.c:44: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 *xlib, *path, errbuf[256];
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:571: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(instance->token_buffer, "%d", c);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:804:29:  [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).
		p = new_integer(instance, atol(instance->token_buffer));
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2480: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, from, size);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2488: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 + strlen(*s), from, size);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2521: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(s1, "%li", alisp_compare_type(p, ALISP_OBJ_FLOAT) ? (long)floor(p->value.f) : p->value.i);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2542: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(s1, "%f", alisp_compare_type(p, ALISP_OBJ_FLOAT) ? p->value.f : (double)p->value.i);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:3343:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char _ptrid[24];
data/alsa-lib-1.2.3.2/src/conf.c:629: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 full_path[PATH_MAX];
data/alsa-lib-1.2.3.2/src/conf.c:695: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 locstr[64]; /* enough? */
data/alsa-lib-1.2.3.2/src/conf.c:938: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 tmpbuf[LOCAL_STR_BUFSIZE];
data/alsa-lib-1.2.3.2/src/conf.c:962: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(s->buf, s->tmpbuf, s->alloc);
data/alsa-lib-1.2.3.2/src/conf.c:979: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(dst, s->buf, s->idx);
data/alsa-lib-1.2.3.2/src/conf.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 static_id[12];
data/alsa-lib-1.2.3.2/src/conf.c:3027: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 res[12];
data/alsa-lib-1.2.3.2/src/conf.c:3039: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 res[32];
data/alsa-lib-1.2.3.2/src/conf.c:3051: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 res[32];
data/alsa-lib-1.2.3.2/src/conf.c:4111: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[l + 1];
data/alsa-lib-1.2.3.2/src/conf.c:4112: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(name, c, l);
data/alsa-lib-1.2.3.2/src/conf.c:4908:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char _buf[bufsize];
data/alsa-lib-1.2.3.2/src/conf.c:4934: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(*val, buf, idx);
data/alsa-lib-1.2.3.2/src/conf.c:4948: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, _buf, old_alloc);
data/alsa-lib-1.2.3.2/src/conf.c:5004: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(*val, str, vallen);
data/alsa-lib-1.2.3.2/src/conf.c:5063: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[256];
data/alsa-lib-1.2.3.2/src/conf.c:5075: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, str, varlen);
data/alsa-lib-1.2.3.2/src/conf.c:5078: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", arg);
data/alsa-lib-1.2.3.2/src/conf.c:5283: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(key, name, args - name - 1);
data/alsa-lib-1.2.3.2/src/confmisc.c:92:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char str[8];
data/alsa-lib-1.2.3.2/src/confmisc.c:426: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(tmp + len, ptr, len1);
data/alsa-lib-1.2.3.2/src/confmisc.c:599: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-lib-1.2.3.2/src/confmisc.c:608: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];
data/alsa-lib-1.2.3.2/src/confmisc.c:610: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, "%li", v);
data/alsa-lib-1.2.3.2/src/confmisc.c:1135: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-lib-1.2.3.2/src/confmisc.c:1304:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ids[3][8] = { "comment", "type", "hint" };
data/alsa-lib-1.2.3.2/src/control/cards.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 control[sizeof(SND_FILE_CONTROL) + 10];
data/alsa-lib-1.2.3.2/src/control/cards.c:70: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 aload[sizeof(SND_FILE_LOAD) + 10];
data/alsa-lib-1.2.3.2/src/control/control.c:3128: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(obj->value.bytes.data, data, size);
data/alsa-lib-1.2.3.2/src/control/control.c:3151: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(ptr, &obj->value.iec958, sizeof(*ptr));
data/alsa-lib-1.2.3.2/src/control/control_ext.c:367: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(tlv, ext->tlv.p, len);
data/alsa-lib-1.2.3.2/src/control/control_hw.c:237: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(xtlv->tlv, tlv, tlv_size);
data/alsa-lib-1.2.3.2/src/control/control_hw.c:249: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(tlv, xtlv->tlv, size);
data/alsa-lib-1.2.3.2/src/control/control_hw.c:381:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[sizeof(SNDRV_FILE_CONTROL) + 10];
data/alsa-lib-1.2.3.2/src/control/control_shm.c:54: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[1];
data/alsa-lib-1.2.3.2/src/control/control_shm.c:73: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[1];
data/alsa-lib-1.2.3.2/src/control/control_shm.c:171: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(pids, (void *)ctrl->data, bytes);
data/alsa-lib-1.2.3.2/src/control/control_shm.c:425: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->sun_path, filename, l);
data/alsa-lib-1.2.3.2/src/control/control_shm.c:458: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(req->name, sname, snamelen);
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:120: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], buf1[32];
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:166: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-lib-1.2.3.2/src/control/ctlparse.c:171: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_numid(dst, atoi(str));
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:198: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-lib-1.2.3.2/src/control/ctlparse.c:226: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_index(dst, atoi(str));
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:231: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_ctl_elem_id_set_device(dst, atoi(str));
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:236:39:  [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(dst, atoi(str));
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:375: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).
				tmp = atoi(ptr) > 0 ? 1 : 0;
data/alsa-lib-1.2.3.2/src/control/namehint.c:70: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(x, "NAME", 4);
data/alsa-lib-1.2.3.2/src/control/namehint.c:73: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(x, "|DESC");
data/alsa-lib-1.2.3.2/src/control/namehint.c:189:6:  [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(res, ", ");
data/alsa-lib-1.2.3.2/src/control/namehint.c:196:6:  [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(res, ", ");
data/alsa-lib-1.2.3.2/src/control/namehint.c:198:6:  [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(res, " / ");
data/alsa-lib-1.2.3.2/src/control/namehint.c:218: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(res, ", ");
data/alsa-lib-1.2.3.2/src/control/namehint.c:220: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(res, "|IOID");
data/alsa-lib-1.2.3.2/src/control/namehint.c:409:12:  [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((char *)str, buf1, strlen(buf1));
data/alsa-lib-1.2.3.2/src/control/namehint.c:452: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 ctl_name[16];
data/alsa-lib-1.2.3.2/src/control/namehint.c:460: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(ctl_name, "hw:%i", card);
data/alsa-lib-1.2.3.2/src/control/namehint.c:516: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 scard[16], *s;
data/alsa-lib-1.2.3.2/src/control/namehint.c:524: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(scard, " #%i", card);
data/alsa-lib-1.2.3.2/src/control/namehint.c:585: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 ehints[24];
data/alsa-lib-1.2.3.2/src/control/namehint.c:734: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(res, hint1 + 4, size);
data/alsa-lib-1.2.3.2/src/dlmisc.c:83: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 origin[PATH_MAX];
data/alsa-lib-1.2.3.2/src/dlmisc.c:146:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/alsa-lib-1.2.3.2/src/dlmisc.c:323: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 errbuf[256];
data/alsa-lib-1.2.3.2/src/error.c:197: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(dst, src, len);
data/alsa-lib-1.2.3.2/src/hwdep/hwdep.c:44: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], errbuf[256];
data/alsa-lib-1.2.3.2/src/hwdep/hwdep_hw.c:109:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[sizeof(SNDRV_FILE_HWDEP) + 20];
data/alsa-lib-1.2.3.2/src/input.c:212:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(file, mode);
data/alsa-lib-1.2.3.2/src/input.c:327:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer->buf, buf, (size_t) size);
data/alsa-lib-1.2.3.2/src/mixer/mixer_local.h:80: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[60];
data/alsa-lib-1.2.3.2/src/mixer/simple.c:221:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 array[SND_MIXER_SCHN_LAST + 1] = {
data/alsa-lib-1.2.3.2/src/mixer/simple.c:1070: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-lib-1.2.3.2/src/mixer/simple.c:1109: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).
	dst->index = atoi(str);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:68: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 *xlib, *path, errbuf[256];
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.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 *xlib, *path, errbuf[256];
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:1127: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(rec->db_info, dbrec, db_size);
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:1640: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 ename[128];
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:1643: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(ename, name, len);
data/alsa-lib-1.2.3.2/src/output.c:221:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(file, mode);
data/alsa-lib-1.2.3.2/src/output.c:303:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer->buf + buffer->size, str, size);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:1955: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 snd_pcm_format_aliases[SND_PCM_FORMAT_LAST+1] = {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:3228: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(dst, src, bytes);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:7564: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 names[SND_PCM_HW_PARAM_LAST_INTERVAL + 1] = {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8139: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 *chmap_type_names[SND_CHMAP_TYPE_LAST + 1] = {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8160: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 *chmap_names[SND_CHMAP_LAST + 1] = {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8191: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 *chmap_long_names[SND_CHMAP_LAST + 1] = {
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8392: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(&(*dst)->map, src, (src->channels + 1) * sizeof(int));
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8421: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(map, src, (src->channels + 1) * sizeof(int));
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8445: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(maps[i], src[i], (src[i]->map.channels + 2) * sizeof(int));
data/alsa-lib-1.2.3.2/src/pcm/pcm_adpcm.c:92: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 IndexAdjust[8] = { -1, -1, -1, -1, 2, 4, 6, 8 };
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:212: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->sun_path, filename, l);
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:401:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(&pfds[i+1], &pfds[i+2], sizeof(struct pollfd) * (max - i - 1));
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:1414: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[128];
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:1425: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:CLASS=%i,SCLASS=0,CARD=%i,DEV=%i,SUBDEV=%i",
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.h: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 socket_name[256];			/* name of communication socket */
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:198:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *)dst_areas[0].addr + sample_size * dst_ofs * channels,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:199:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *)src_areas[0].addr + sample_size * src_ofs * channels,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:213:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *)dst_areas[dchn].addr + dst_areas[dchn].first / 8) + dst_ofs * dst_step,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:214:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *)src_areas[chn].addr + src_areas[chn].first / 8) + src_ofs * src_step,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:266:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			       (unsigned char *)dst_areas[0].addr + sample_size * dst_ofs * channels,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:267:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			       (unsigned char *)src_areas[0].addr + sample_size * src_ofs * channels,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:281:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			       ((unsigned char *)dst_areas[dchn].addr + dst_areas[dchn].first / 8) + dst_ofs * dst_step,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix.c:282:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			       ((unsigned char *)src_areas[chn].addr + src_areas[chn].first / 8) + src_ofs * src_step,
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_generic.c:402:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		sample = src[0] | (src[1] << 8) | (((signed char *)src)[2] << 16);
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_generic.c:435:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		sample = src[0] | (src[1] << 8) | (((signed char *)src)[2] << 16);
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_i386.c:102: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 line[255];
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_i386.c:105: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).
		in = fopen("/proc/cpuinfo", "r");
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_x86_64.c:85: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 line[255];
data/alsa-lib-1.2.3.2/src/pcm/pcm_dmix_x86_64.c:88: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).
		in = fopen("/proc/cpuinfo", "r");
data/alsa-lib-1.2.3.2/src/pcm/pcm_dshare.c:90: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(((char *)dst_areas[0].addr) + (dst_ofs * channels * fbytes),
data/alsa-lib-1.2.3.2/src/pcm/pcm_dshare.c:90: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.
		memcpy(((char *)dst_areas[0].addr) + (dst_ofs * channels * fbytes),
data/alsa-lib-1.2.3.2/src/pcm/pcm_dshare.c:91: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.
		       ((char *)src_areas[0].addr) + (src_ofs * channels * fbytes),
data/alsa-lib-1.2.3.2/src/pcm/pcm_dsnoop.c:88: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(((char *)dst_areas[0].addr) + (dst_ofs * channels * fbytes),
data/alsa-lib-1.2.3.2/src/pcm/pcm_dsnoop.c:88: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.
		memcpy(((char *)dst_areas[0].addr) + (dst_ofs * channels * fbytes),
data/alsa-lib-1.2.3.2/src/pcm/pcm_dsnoop.c:89: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.
		       ((char *)src_areas[0].addr) + (src_ofs * channels * fbytes),
data/alsa-lib-1.2.3.2/src/pcm/pcm_extplug.c:92: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_list, list, sizeof(*new_list) * num_list);
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:133: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[VALUE_MAXLEN];
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:236: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(file->final_fname, O_WRONLY|O_CREAT|O_TRUNC,
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:239: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(file->final_fname, O_WRONLY|O_CREAT|O_EXCL,
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:252:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
					fd = open(tmpfname,
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:919: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).
		ifd = open(ifname, O_RDONLY);	/* TODO: mind blocking mode */
data/alsa-lib-1.2.3.2/src/pcm/pcm_hooks.c:344: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], errbuf[256];
data/alsa-lib-1.2.3.2/src/pcm/pcm_hooks.c:671: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 ctl_name[16];
data/alsa-lib-1.2.3.2/src/pcm/pcm_hooks.c:687: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(ctl_name, "hw:%d", card);
data/alsa-lib-1.2.3.2/src/pcm/pcm_hw.c:75: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 reserved[64];
data/alsa-lib-1.2.3.2/src/pcm/pcm_hw.c:1266: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(map[i]->map.pos, start + 2, start[1]);
data/alsa-lib-1.2.3.2/src/pcm/pcm_hw.c:1671:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[sizeof(SNDRV_FILE_PCM_STREAM_PLAYBACK) + 20];
data/alsa-lib-1.2.3.2/src/pcm/pcm_hw.c:1970: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(params->intervals, oparams->intervals, sizeof(oparams->intervals));
data/alsa-lib-1.2.3.2/src/pcm/pcm_iec958.c:62: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 status[24];
data/alsa-lib-1.2.3.2/src/pcm/pcm_iec958.c:64: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 preamble[3];	/* B/M/W or Z/X/Y */
data/alsa-lib-1.2.3.2/src/pcm/pcm_iec958.c:518: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(iec->status, default_status_bits, sizeof(default_status_bits));
data/alsa-lib-1.2.3.2/src/pcm/pcm_iec958.c:520: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(iec->preamble, preamble_vals, 3);
data/alsa-lib-1.2.3.2/src/pcm/pcm_iec958.c:604: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 status_bits[24];
data/alsa-lib-1.2.3.2/src/pcm/pcm_iec958.c:605: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 preamble_vals[3] = {
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:885:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                		data = (LADSPA_Data *)((char *)areas[chn].addr + (areas[chn].first / 8));
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:894:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                		data = (LADSPA_Data *)((char *)slave_areas[chn].addr + (areas[chn].first / 8));
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:946:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                		data = (LADSPA_Data *)((char *)slave_areas[chn].addr + (areas[chn].first / 8));
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:955:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                		data = (LADSPA_Data *)((char *)areas[chn].addr + (areas[chn].first / 8));
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1204: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[l + 1];
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1206: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(name, c, l);
data/alsa-lib-1.2.3.2/src/pcm/pcm_local.h:136: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 reserved[64];
data/alsa-lib-1.2.3.2/src/pcm/pcm_meter.c:608: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], errbuf[256];
data/alsa-lib-1.2.3.2/src/pcm/pcm_multi.c:1369:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[32];
data/alsa-lib-1.2.3.2/src/pcm/pcm_multi.c:1378: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(buf, "%ld", val);
data/alsa-lib-1.2.3.2/src/pcm/pcm_null.c:385: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("/dev/null", O_WRONLY);
data/alsa-lib-1.2.3.2/src/pcm/pcm_null.c:391: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("/dev/full", O_RDONLY);
data/alsa-lib-1.2.3.2/src/pcm/pcm_params.c:34:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (! verbose || ! *verbose || atoi(verbose) < 1)
data/alsa-lib-1.2.3.2/src/pcm/pcm_plug.c:223: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 linear_format_widths[32] = {
data/alsa-lib-1.2.3.2/src/pcm/pcm_rate.c:442: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 *srcs[channels];
data/alsa-lib-1.2.3.2/src/pcm/pcm_rate.c:480: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 *dsts[channels];
data/alsa-lib-1.2.3.2/src/pcm/pcm_rate.c:1284: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 open_name[64], open_conf_name[64], lib_name[64], *lib = NULL;
data/alsa-lib-1.2.3.2/src/pcm/pcm_route.c:268: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 *srcs[nsrcs];
data/alsa-lib-1.2.3.2/src/pcm/pcm_route.c:870: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(*found_chmap, c, size);
data/alsa-lib-1.2.3.2/src/pcm/pcm_route.c:991: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(dptr->srcs, srcs, sizeof(*srcs) * nsrcs);
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:290: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[1];
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:407:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[1];
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:1381: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 slave_map[32] = { 0 };
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:1412: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(share->slave_channels, channels_map, channels * sizeof(*share->slave_channels));
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:1436:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[1];
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:1699: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).
		cchannel = atoi(id);
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.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 buf[1];
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.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 buf[1];
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:151: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[1];
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:648: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->sun_path, filename, l);
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:696: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(req->name, sname, snamelen);
data/alsa-lib-1.2.3.2/src/pcm/pcm_softvol.c:249:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				      (((signed char *) src)[2] << 16);	\
data/alsa-lib-1.2.3.2/src/pcm/pcm_softvol.c:759: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 tmp_name[32];
data/alsa-lib-1.2.3.2/src/pcm/pcm_softvol.c:775: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(tmp_name, "hw:%d", ctl_card);
data/alsa-lib-1.2.3.2/src/pcm/scopes/level.c:104: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 bar[256] = { [0 ... 255] = '#' };
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi.c:165: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-lib-1.2.3.2/src/rawmidi/rawmidi_hw.c:42:6:  [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).
	int open;
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_hw.c:54:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (hw->open)
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_hw.c:178:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[sizeof(SNDRV_FILE_RAWMIDI) + 20];
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:40:6:  [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).
	int open;
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:51: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 in_tmp_buf[16];
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:66: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).
	if (virt->open)
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:92:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy((char *)info->id, "Virtual");
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:93:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy((char *)info->name, "Virtual RawMIDI");
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:94:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy((char *)info->subname, "Virtual RawMIDI");
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:266: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(buffer, virt->in_buf_ptr + virt->in_buf_ofs, size);
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_virt.c:271: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, virt->in_buf_ptr + virt->in_buf_ofs, size1);
data/alsa-lib-1.2.3.2/src/seq/seq.c:826: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], errbuf[256];
data/alsa-lib-1.2.3.2/src/seq/seq.c:2594: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(&info->sender, addr, sizeof(*addr));
data/alsa-lib-1.2.3.2/src/seq/seq.c:2607: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(&info->dest, addr, sizeof(*addr));
data/alsa-lib-1.2.3.2/src/seq/seq.c:3935: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(seq->obuf + seq->obufused, ev, sizeof(snd_seq_event_t));
data/alsa-lib-1.2.3.2/src/seq/seq.c:3938: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(seq->obuf + seq->obufused, ev->data.ext.ptr, ev->data.ext.len);
data/alsa-lib-1.2.3.2/src/seq/seq.c:3994: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(seq->tmpbuf + 1, ev->data.ext.ptr, ev->data.ext.len);
data/alsa-lib-1.2.3.2/src/seq/seq.c:4066: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(&ev, seq->obuf, sizeof(snd_seq_event_t));
data/alsa-lib-1.2.3.2/src/seq/seq.c:4072: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(seq->tmpbuf, seq->obuf, len);
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:593: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, ev->data.ext.ptr, qlen);
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:596: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 xbuf[4];
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:613: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, xbuf, qlen);
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:696:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 cbytes_nrpn[4] = { MIDI_CTL_NONREG_PARM_NUM_MSB,
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:700:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 cbytes_rpn[4] =  { MIDI_CTL_REGIST_PARM_NUM_MSB,
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:704: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 bytes[4];
data/alsa-lib-1.2.3.2/src/seq/seqmid.c:398: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).
		if ((port = atoi(p + 1)) < 0)
data/alsa-lib-1.2.3.2/src/seq/seqmid.c:407: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).
		client = atoi(arg);
data/alsa-lib-1.2.3.2/src/timer/timer.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 buf[256], errbuf[256];
data/alsa-lib-1.2.3.2/src/timer/timer_query.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 buf[256], errbuf[256];
data/alsa-lib-1.2.3.2/src/topology/builder.c:28: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(tplg->bin + tplg->bin_pos, data, data_size);
data/alsa-lib-1.2.3.2/src/topology/ctl.c:205:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ec->texts, texts->items,
data/alsa-lib-1.2.3.2/src/topology/ctl.c:563: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/ctl.c:703: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/ctl.c:865: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/ctl.c:1103: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(&ec->values[i * sizeof(int) * ENUM_VAL_SIZE],
data/alsa-lib-1.2.3.2/src/topology/dapm.c:92: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((void*)widget + elem->size, ref->obj, ref->size);
data/alsa-lib-1.2.3.2/src/topology/dapm.c:272:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(elem->id, "line");
data/alsa-lib-1.2.3.2/src/topology/dapm.c:292: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[LINE_SIZE];
data/alsa-lib-1.2.3.2/src/topology/dapm.c:676: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/data.c:166:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX];
data/alsa-lib-1.2.3.2/src/topology/data.c:184: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(filename, "r");
data/alsa-lib-1.2.3.2/src/topology/data.c:238:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[128], buf2[8];
data/alsa-lib-1.2.3.2/src/topology/data.c:655: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(uuid->uuid, tuple->uuid, 16);
data/alsa-lib-1.2.3.2/src/topology/data.c:898: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[32];
data/alsa-lib-1.2.3.2/src/topology/data.c:1161: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/data.c:1335: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(tplg->manifest_pdata, manifest->priv.data, manifest->priv.size);
data/alsa-lib-1.2.3.2/src/topology/data.c:1428: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/data.c:1543: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(priv->data + old_priv_data_size,
data/alsa-lib-1.2.3.2/src/topology/data.c:1620: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 str_ref[SNDRV_CTL_ELEM_ID_NAME_MAXLEN])
data/alsa-lib-1.2.3.2/src/topology/data.c:1768: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(tuple->uuid, va->uuid[j].uuid,
data/alsa-lib-1.2.3.2/src/topology/data.c:1883: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/topology/data.c:1884: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 suffix[16];
data/alsa-lib-1.2.3.2/src/topology/data.c:1973: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/topology/data.c:1986: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(priv->data, bin, size);
data/alsa-lib-1.2.3.2/src/topology/parser.c:305: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(infile, "r");
data/alsa-lib-1.2.3.2/src/topology/parser.c:362: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(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
data/alsa-lib-1.2.3.2/src/topology/pcm.c:260: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(&link->hw_config[num_hw_configs],
data/alsa-lib-1.2.3.2/src/topology/pcm.c:688:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *stream_ids[2] = {
data/alsa-lib-1.2.3.2/src/topology/pcm.c:813:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *flag_ids[3] = {
data/alsa-lib-1.2.3.2/src/topology/pcm.c:943: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/pcm.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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/pcm.c:1234: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/pcm.c:1314: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/save.c:26: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], *s;
data/alsa-lib-1.2.3.2/src/topology/save.c:78: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-lib-1.2.3.2/src/topology/save.c:192:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 nibble[16] = "0123456789abcdef";
data/alsa-lib-1.2.3.2/src/topology/save.c:386: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 pfx2[16];
data/alsa-lib-1.2.3.2/src/topology/tplg_local.h:107: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/topology/tplg_local.h:113: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 items[SND_SOC_TPLG_NUM_TEXTS][SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/topology/tplg_local.h:118: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/topology/tplg_local.h:129: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 token[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/topology/tplg_local.h:131: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 string[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/topology/tplg_local.h:132: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 uuid[16];
data/alsa-lib-1.2.3.2/src/topology/tplg_local.h:154: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[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
data/alsa-lib-1.2.3.2/src/ucm/main.c:154: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(filepath, O_RDONLY);
data/alsa-lib-1.2.3.2/src/ucm/main.c:214: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(filepath, O_RDONLY);
data/alsa-lib-1.2.3.2/src/ucm/main.c:518:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[40];
data/alsa-lib-1.2.3.2/src/ucm/parser.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 filename[PATH_MAX];
data/alsa-lib-1.2.3.2/src/ucm/parser.c:1935: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-lib-1.2.3.2/src/ucm/parser.c:1940: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-lib-1.2.3.2/src/ucm/parser.c:2145:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX];
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2260:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX], dfl[PATH_MAX], fn[FILENAME_MAX];
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2291: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(filename, "/default");
data/alsa-lib-1.2.3.2/src/ucm/ucm_include.c:117: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 tmpid[32];
data/alsa-lib-1.2.3.2/src/ucm/ucm_regex.c:51: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(s, data + match->rm_so, len);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.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 num[16];
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:194:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX], link[PATH_MAX + 1];
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:225: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, O_RDONLY);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:279: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 *r, *nr, *rval, v2[48];
data/alsa-lib-1.2.3.2/src/ucm/utils.c:75: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 cname[32];
data/alsa-lib-1.2.3.2/src/ucm/utils.c:97:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(cname, "hw:%d", card);
data/alsa-lib-1.2.3.2/src/ucm/utils.c:185: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 dev[MAX_CARD_LONG_NAME];
data/alsa-lib-1.2.3.2/src/ucm/utils.c:328: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 *default_paths[2];
data/alsa-lib-1.2.3.2/src/ucm/utils.c:331: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-lib-1.2.3.2/test/audio_time.c:109: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 buffer_p[PERIOD*4*4];
data/alsa-lib-1.2.3.2/test/audio_time.c:110: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 buffer_c[PERIOD*4*4];
data/alsa-lib-1.2.3.2/test/audio_time.c:167: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).
			type = atoi(optarg);
data/alsa-lib-1.2.3.2/test/chmap.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 tmp[128];
data/alsa-lib-1.2.3.2/test/chmap.c:176: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).
			channels = atoi(optarg);
data/alsa-lib-1.2.3.2/test/chmap.c:179: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).
			rate = atoi(optarg);
data/alsa-lib-1.2.3.2/test/control.c:12:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str[128];
data/alsa-lib-1.2.3.2/test/control.c:26: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(str, "hw:CARD=%i", idx);
data/alsa-lib-1.2.3.2/test/latency.c:519: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) / 2;
data/alsa-lib-1.2.3.2/test/latency.c:525: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) / 2;
data/alsa-lib-1.2.3.2/test/latency.c:536: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-lib-1.2.3.2/test/latency.c:540: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-lib-1.2.3.2/test/latency.c:544: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-lib-1.2.3.2/test/latency.c:548: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-lib-1.2.3.2/test/latency.c:552: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-lib-1.2.3.2/test/lsb/midi_event.c:22: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(text + 2 * i, "%02x", midi[i]);
data/alsa-lib-1.2.3.2/test/lsb/midi_event.c:38: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[50];
data/alsa-lib-1.2.3.2/test/lsb/midi_event.c:158: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[50];
data/alsa-lib-1.2.3.2/test/lsb/midi_event.c:310: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[50];
data/alsa-lib-1.2.3.2/test/midifile.c:202: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 buff[32];
data/alsa-lib-1.2.3.2/test/midifile.c:205:11:  [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.
	  (void) strcpy (buff, "expecting ");
data/alsa-lib-1.2.3.2/test/midifile.c:507:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[32];
data/alsa-lib-1.2.3.2/test/midifile.c:509:10:  [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.
  (void) sprintf (buff, "unexpected byte: 0x%02x", c);
data/alsa-lib-1.2.3.2/test/midiloop.c:72: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 ibuf[512], obuf[512];
data/alsa-lib-1.2.3.2/test/pcm-multi-thread.c:133: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).
			rate = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm-multi-thread.c:136: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).
			periodsize = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm-multi-thread.c:139: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).
			bufsize = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm-multi-thread.c:142: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).
			channels = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm-multi-thread.c:158: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).
			num_threads = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm.c:37: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 *samples[channels];
data/alsa-lib-1.2.3.2/test/pcm.c:55:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		samples[chn] = /*(signed short *)*/(((unsigned char *)areas[chn].addr) + (areas[chn].first / 8));
data/alsa-lib-1.2.3.2/test/pcm.c:806: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).
			rate = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm.c:811: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).
			channels = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm.c:816: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).
			freq = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm.c:821: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).
			buffer_time = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm.c:826: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).
			period_time = atoi(optarg);
data/alsa-lib-1.2.3.2/test/pcm_min.c:8: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.
unsigned char buffer[16*1024];				/* some random data */
data/alsa-lib-1.2.3.2/test/playmidi1.c:466: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).
			dest_queue = atoi(optarg);
data/alsa-lib-1.2.3.2/test/playmidi1.c:474: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).
			dest_queue = atoi(optarg);
data/alsa-lib-1.2.3.2/test/playmidi1.c:580: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).
		F = fopen(argv[optind], "r");
data/alsa-lib-1.2.3.2/test/rawmidi.c:108:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd_in = open(node_in,O_RDONLY);
data/alsa-lib-1.2.3.2/test/rawmidi.c:123: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).
		fd_out = open(node_out,O_WRONLY);		
data/alsa-lib-1.2.3.2/test/rawmidi.c:130:20:  [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_in = fd_out = open(node_out,O_RDWR);		
data/alsa-lib-1.2.3.2/test/seq-decoder.c:5: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 *event_names[256] = {
data/alsa-lib-1.2.3.2/test/seq.c:28: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-lib-1.2.3.2/test/seq.c:30: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, "SeqUtil - %i", getpid());
data/alsa-lib-1.2.3.2/test/seq.c:212:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		arg = argc - optind > 1 ? atoi(argv[optind + 1]) : -1;
data/alsa-lib-1.2.3.2/test/seq.c:215:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		arg = argc - optind > 1 ? atoi(argv[optind + 1]) : -1;
data/alsa-lib-1.2.3.2/test/seq.c:218:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		arg = argc - optind > 1 ? atoi(argv[optind + 1]) : -1;
data/alsa-lib-1.2.3.2/test/seq.c:223:30:  [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).
		arg1 = argc - optind > 2 ? atoi(argv[optind + 2]) : -1;
data/alsa-lib-1.2.3.2/test/timer.c:85: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 timername[64];
data/alsa-lib-1.2.3.2/test/timer.c:95: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).
			class = atoi(argv[idx]+6);
data/alsa-lib-1.2.3.2/test/timer.c:97: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).
			sclass = atoi(argv[idx]+7);
data/alsa-lib-1.2.3.2/test/timer.c:99: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).
			card = atoi(argv[idx]+5);
data/alsa-lib-1.2.3.2/test/timer.c:101: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).
			device = atoi(argv[idx]+7);
data/alsa-lib-1.2.3.2/test/timer.c:103: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).
			subdevice = atoi(argv[idx]+10);
data/alsa-lib-1.2.3.2/test/timer.c:139: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(timername, "hw:CLASS=%i,SCLASS=%i,CARD=%i,DEV=%i,SUBDEV=%i", class, sclass, card, device, subdevice);
data/alsa-lib-1.2.3.2/test/user-ctl-element-set.c:87: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(*tlv, range, sizeof(range));
data/alsa-lib-1.2.3.2/test/user-ctl-element-set.c:257: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(*tlv, range, sizeof(range));
data/alsa-lib-1.2.3.2/test/user-ctl-element-set.c:363: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(*tlv, range, sizeof(range));
data/alsa-lib-1.2.3.2/test/user-ctl-element-set.c:372:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[64] = {0};
data/alsa-lib-1.2.3.2/aserver/aserver.c:58: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).
	size_t l = strlen(filename);
data/alsa-lib-1.2.3.2/aserver/aserver.c:232:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		n = read(client->poll_fd, buf, 1);
data/alsa-lib-1.2.3.2/aserver/aserver.c:397:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(client->ctrl_fd, buf, 1);
data/alsa-lib-1.2.3.2/aserver/aserver.c:616:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(client->ctrl_fd, buf, 1);
data/alsa-lib-1.2.3.2/aserver/aserver.c:703:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ctrl->result = snd_ctl_read(ctl, &ctrl->u.read);
data/alsa-lib-1.2.3.2/aserver/aserver.c:731:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(client->ctrl_fd, &req, sizeof(req));
data/alsa-lib-1.2.3.2/aserver/aserver.c:741:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(client->ctrl_fd, name, req.namelen);
data/alsa-lib-1.2.3.2/aserver/aserver.c:841:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int err = read(waiter->fd, &cookie, sizeof(cookie));
data/alsa-lib-1.2.3.2/include/aserver.h:138:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		snd_ctl_event_t read;
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:413:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				len = strlen(s);
data/alsa-lib-1.2.3.2/modules/mixer/simple/python.c:425:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen(s);
data/alsa-lib-1.2.3.2/modules/mixer/simple/sbasedl.c:57: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).
	xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
data/alsa-lib-1.2.3.2/modules/mixer/simple/sbasedl.c:57: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).
	xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
data/alsa-lib-1.2.3.2/modules/mixer/simple/sbasedl.c:64:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(xlib, "/");
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:1185: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).
			str1 = realloc(str, (str ? strlen(str) : 0) + strlen(p1->value.s) + 1);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:1185:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			str1 = realloc(str, (str ? strlen(str) : 0) + strlen(p1->value.s) + 1);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:1819:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
static int equal(struct alisp_object * p1, struct alisp_object * p2)
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:1882:6:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (equal(p1, p2)) {
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2488: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).
		memcpy(*s + strlen(*s), from, size);
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2522:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	res = append_to_string(s, len, s1, strlen(s1));
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2543:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	res = append_to_string(s, len, s1, strlen(s1));
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2554: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).
	return append_to_string(s, len, p->value.s, strlen(p->value.s));
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2711: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).
	    start1 >= (int)strlen(s1) || start2 >= (int)strlen(s2) ||
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2711:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    start1 >= (int)strlen(s1) || start2 >= (int)strlen(s2) ||
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2821:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (equal(p1, car(car(p2)))) {
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2888:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (equal(p1, cdr(car(p2)))) {
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2910: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(p->value.s) > 0) {
data/alsa-lib-1.2.3.2/src/alisp/alisp.c:2954: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(p->value.s) > 0) {
data/alsa-lib-1.2.3.2/src/conf.c:592:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!topdir || *topdir != '/' || strlen(topdir) >= PATH_MAX)
data/alsa-lib-1.2.3.2/src/conf.c:601:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *path = malloc(strlen(root) + strlen(name) + 2);
data/alsa-lib-1.2.3.2/src/conf.c:601:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *path = malloc(strlen(root) + strlen(name) + 2);
data/alsa-lib-1.2.3.2/src/conf.c:1158: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).
		} else if (strlen(n->id) != (size_t) len ||
data/alsa-lib-1.2.3.2/src/conf.c:3060: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).
				ptr = res + strlen(res) - 1;
data/alsa-lib-1.2.3.2/src/conf.c:3709: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).
		int len = 16 + strlen(str) + 1;
data/alsa-lib-1.2.3.2/src/conf.c:3795: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).
	flen = strlen(dirent->d_name);
data/alsa-lib-1.2.3.2/src/conf.c:3849: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 sl = strlen(fn) + strlen(namelist[j]->d_name) + 2;
data/alsa-lib-1.2.3.2/src/conf.c:3849: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).
				int sl = strlen(fn) + strlen(namelist[j]->d_name) + 2;
data/alsa-lib-1.2.3.2/src/conf.c:4084: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).
			char *s = alloca(strlen(topdir) +
data/alsa-lib-1.2.3.2/src/conf.c:4085:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					 strlen("alsa.conf") + 2);
data/alsa-lib-1.2.3.2/src/conf.c:4712: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).
			int len = 9 + strlen(str) + 1;
data/alsa-lib-1.2.3.2/src/conf.c:5024: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(str);
data/alsa-lib-1.2.3.2/src/confmisc.c:418: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).
				len1 = strlen(ptr);
data/alsa-lib-1.2.3.2/src/control/control.c:643: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).
		bytes += strlen(labels[i]) + 1;
data/alsa-lib-1.2.3.2/src/control/control.c:654: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).
		p += strlen(labels[i]) + 1;
data/alsa-lib-1.2.3.2/src/control/control.c:1160:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return (ctl->ops->read)(ctl, event);
data/alsa-lib-1.2.3.2/src/control/control.c:1324: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).
		buf = malloc(strlen(str) + 32);
data/alsa-lib-1.2.3.2/src/control/control.c:1340: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).
			buf1 = malloc(strlen(str) + 32);
data/alsa-lib-1.2.3.2/src/control/control_hw.c:338:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t res = read(hw->fd, event, sizeof(*event));
data/alsa-lib-1.2.3.2/src/control/control_local.h:52:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int (*read)(snd_ctl_t *handle, snd_ctl_event_t *event);
data/alsa-lib-1.2.3.2/src/control/control_shm.c:59:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(shm->socket, buf, 1);
data/alsa-lib-1.2.3.2/src/control/control_shm.c:384:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	*event = ctrl->u.read;
data/alsa-lib-1.2.3.2/src/control/control_shm.c:415: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).
	size_t l = strlen(filename);
data/alsa-lib-1.2.3.2/src/control/control_shm.c:445: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).
	snamelen = strlen(sname);
data/alsa-lib-1.2.3.2/src/control/control_shm.c:475:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(sock, &ans, sizeof(ans));
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:133: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(buf) + strlen(buf1) < sizeof(buf))
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:133:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(buf) + strlen(buf1) < sizeof(buf))
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:138: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(buf) + strlen(buf1) < sizeof(buf))
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:138:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(buf) + strlen(buf1) < sizeof(buf))
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:143: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(buf) + strlen(buf1) < sizeof(buf))
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:143:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(buf) + strlen(buf1) < sizeof(buf))
data/alsa-lib-1.2.3.2/src/control/ctlparse.c:295: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-lib-1.2.3.2/src/control/hcontrol.c:222:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(*name, *names, strlen(*names))) {
data/alsa-lib-1.2.3.2/src/control/hcontrol.c:223: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).
			*name += strlen(*names);
data/alsa-lib-1.2.3.2/src/control/namehint.c:67: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).
		x = malloc(4 + strlen(name) + (description != NULL ? (4 + strlen(description) + 1) : 0) + 1);
data/alsa-lib-1.2.3.2/src/control/namehint.c:67:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		x = malloc(4 + strlen(name) + (description != NULL ? (4 + strlen(description) + 1) : 0) + 1);
data/alsa-lib-1.2.3.2/src/control/namehint.c:186: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).
				res = malloc(strlen(list->cardname) + strlen(str2) + 3);
data/alsa-lib-1.2.3.2/src/control/namehint.c:186: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).
				res = malloc(strlen(list->cardname) + strlen(str2) + 3);
data/alsa-lib-1.2.3.2/src/control/namehint.c:193:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				res = malloc(strlen(list->cardname) + strlen(str2) + strlen(str1) + 6);
data/alsa-lib-1.2.3.2/src/control/namehint.c:193: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).
				res = malloc(strlen(list->cardname) + strlen(str2) + strlen(str1) + 6);
data/alsa-lib-1.2.3.2/src/control/namehint.c:193:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				res = malloc(strlen(list->cardname) + strlen(str2) + strlen(str1) + 6);
data/alsa-lib-1.2.3.2/src/control/namehint.c:212: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).
			res = malloc(strlen(list->cardname) + strlen(str1) + 19);
data/alsa-lib-1.2.3.2/src/control/namehint.c:212:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			res = malloc(strlen(list->cardname) + strlen(str1) + 19);
data/alsa-lib-1.2.3.2/src/control/namehint.c:259: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).
	    ((strncmp(base, str, strlen(base)) == 0 &&
data/alsa-lib-1.2.3.2/src/control/namehint.c:260: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).
	     str[strlen(base)] == '.') || strchr(str, '.') == NULL))
data/alsa-lib-1.2.3.2/src/control/namehint.c:399:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      			level = (buf1 == NULL ? 0 : strlen(buf1)) + 1 + strlen(str);
data/alsa-lib-1.2.3.2/src/control/namehint.c:399:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      			level = (buf1 == NULL ? 0 : strlen(buf1)) + 1 + strlen(str);
data/alsa-lib-1.2.3.2/src/control/namehint.c:405: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).
						memmove(buf2 + (level - strlen(str)), str, strlen(str));
data/alsa-lib-1.2.3.2/src/control/namehint.c:405:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						memmove(buf2 + (level - strlen(str)), str, strlen(str));
data/alsa-lib-1.2.3.2/src/control/namehint.c:407: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).
						str = buf2 + strlen(buf2);
data/alsa-lib-1.2.3.2/src/control/namehint.c:409:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      				memcpy((char *)str, buf1, strlen(buf1));
data/alsa-lib-1.2.3.2/src/control/namehint.c:525: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).
	s = realloc(list->cardname, strlen(list->cardname) + strlen(scard) + 1);
data/alsa-lib-1.2.3.2/src/control/namehint.c:525:55:  [1] (buffer) strlen:
  Does not handle 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 = realloc(list->cardname, strlen(list->cardname) + strlen(scard) + 1);
data/alsa-lib-1.2.3.2/src/control/namehint.c:719: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(id) != 4)
data/alsa-lib-1.2.3.2/src/control/setup.c:310: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).
			unsigned int len = strlen(buf);
data/alsa-lib-1.2.3.2/src/dlmisc.c:223: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).
	vname = alloca(1 + strlen(name) + strlen(version) + 1);
data/alsa-lib-1.2.3.2/src/dlmisc.c:223: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).
	vname = alloca(1 + strlen(name) + strlen(version) + 1);
data/alsa-lib-1.2.3.2/src/error.c:194: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 ret = strlen(src);
data/alsa-lib-1.2.3.2/src/hwdep/hwdep.c:493:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return (hwdep->ops->read)(hwdep, buffer, size);
data/alsa-lib-1.2.3.2/src/hwdep/hwdep.c:740:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy((char *)obj->name, name, sizeof(obj->name));
data/alsa-lib-1.2.3.2/src/hwdep/hwdep_hw.c:91:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = read(hwdep->poll_fd, buffer, size);
data/alsa-lib-1.2.3.2/src/hwdep/hwdep_local.h:33:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t (*read)(snd_hwdep_t *hwdep, void *buffer, size_t size);
data/alsa-lib-1.2.3.2/src/input.c:151:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return getc(stdio->fp);
data/alsa-lib-1.2.3.2/src/input.c:320: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(buf);
data/alsa-lib-1.2.3.2/src/mixer/simple.c:1047:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(obj->name, val, sizeof(obj->name));
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:77: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).
	xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:77: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).
	xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:81:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(xlib, "/");
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:123: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).
	xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:123: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).
	xlib = malloc(strlen(lib) + strlen(path) + 1 + 1);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:127:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(xlib, "/");
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:166:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(components, searchl, strlen(searchl)))
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:303: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).
		char *s = alloca(strlen(topdir) + strlen("smixer.conf") + 2);
data/alsa-lib-1.2.3.2/src/mixer/simple_abst.c:303:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char *s = alloca(strlen(topdir) + strlen("smixer.conf") + 2);
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:123:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(*name, *names, strlen(*names))) {
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:124: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).
			*name += strlen(*names);
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:914: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 nlen = strlen(name);
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:917: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).
		size_t slen = strlen(p->suffix);
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:939: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).
		return strlen(name);
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:944: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).
			return strlen(name);
data/alsa-lib-1.2.3.2/src/mixer/simple_none.c:1336:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, snd_ctl_elem_info_get_item_name(&info), maxlen);
data/alsa-lib-1.2.3.2/src/output.c:298: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 size = strlen(str);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:2578: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).
		buf = malloc(strlen(str) + 32);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:2594: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).
			buf1 = malloc(strlen(str) + 32);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8307: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).
			slen = strlen(chmap_names[val]);
data/alsa-lib-1.2.3.2/src/pcm/pcm.c:8331: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).
	return str_to_chmap(str, strlen(str));
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:196: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).
	size_t l = strlen(filename);
data/alsa-lib-1.2.3.2/src/pcm/pcm_direct.c:395:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(pfd->fd, &cmd, 1) == 1)
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:113: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).
	value_len = strlen(value);
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:142:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	old_len = new_len = strlen(fname);
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:244:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				len = strlen(file->final_fname) + 6;
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:298:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bytes = read(file->ifd, file->rbuf, bytes);
data/alsa-lib-1.2.3.2/src/pcm/pcm_file.c:1113:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((!fname || strlen(fname) == 0) && fd < 0) {
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1112:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        labellocale = malloc (strlen (label) + 1);
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1151:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(path), err;
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1170: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).
		filename = malloc(len + strlen(dirent->d_name) + 1 + need_slash);
data/alsa-lib-1.2.3.2/src/pcm/pcm_ladspa.c:1177: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(filename, "/");
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:318:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		frames = (plugin->read)(pcm, areas, offset, frames,
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.c:508:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			frames = (plugin->read)(pcm, areas, hw_offset, frames,
data/alsa-lib-1.2.3.2/src/pcm/pcm_plugin.h:42:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	snd_pcm_slave_xfer_areas_func_t read;
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:293:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read(share->slave_socket, buf, 1);
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:300:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read(share->client_socket, buf, 1);
data/alsa-lib-1.2.3.2/src/pcm/pcm_share.c:408:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read(pfd[0].fd, buf, 1);
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:124:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(shm->socket, buf, 1);
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:493:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(10000);
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:636: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).
	size_t l = strlen(filename);
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:683: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).
	snamelen = strlen(sname);
data/alsa-lib-1.2.3.2/src/pcm/pcm_shm.c:713:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	err = read(sock, &ans, sizeof(ans));
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi.c:990:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return (rawmidi->ops->read)(rawmidi, buffer, size);
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_hw.c:153:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = read(hw->fd, buffer, size);
data/alsa-lib-1.2.3.2/src/rawmidi/rawmidi_local.h:36:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t (*read)(snd_rawmidi_t *rawmidi, void *buffer, size_t size);
data/alsa-lib-1.2.3.2/src/seq/seq.c:4092:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = (seq->ops->read)(seq, seq->ibuf, seq->ibufsize * sizeof(snd_seq_event_t));
data/alsa-lib-1.2.3.2/src/seq/seq_hw.c:333:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t result = read(hw->fd, buf, len);
data/alsa-lib-1.2.3.2/src/seq/seq_local.h:65:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t (*read)(snd_seq_t *seq, void *buf, size_t len);
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:39:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size_t read;	/* chars read */
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:446:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    dev->read >= dev->bufsize) {
data/alsa-lib-1.2.3.2/src/seq/seq_midi_event.c:450:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			ev->data.ext.len = dev->read;
data/alsa-lib-1.2.3.2/src/seq/seqmid.c:81:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(pinfo.name, name, sizeof(pinfo.name) - 1);
data/alsa-lib-1.2.3.2/src/seq/seqmid.c:235:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(info.name, name, sizeof(info.name) - 1);
data/alsa-lib-1.2.3.2/src/seq/seqmid.c:403: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(arg);
data/alsa-lib-1.2.3.2/src/seq/seqmid.c:423:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(cinfo.name) == (size_t)len) {
data/alsa-lib-1.2.3.2/src/timer/timer.c:943:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return (timer->ops->read)(timer, buffer, size);
data/alsa-lib-1.2.3.2/src/timer/timer_hw.c:201:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = read(tmr->poll_fd, buffer, size);
data/alsa-lib-1.2.3.2/src/timer/timer_local.h:37:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t (*read)(snd_timer_t *timer, void *buffer, size_t size);
data/alsa-lib-1.2.3.2/src/topology/dapm.c:218: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(route->sink) <= 0) {
data/alsa-lib-1.2.3.2/src/topology/dapm.c:229: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(route->control)) {
data/alsa-lib-1.2.3.2/src/topology/dapm.c:240: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(route->source) <= 0) {
data/alsa-lib-1.2.3.2/src/topology/dapm.c:298:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(buf);
data/alsa-lib-1.2.3.2/src/topology/data.c:270:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int delims, values, len = strlen(str);
data/alsa-lib-1.2.3.2/src/topology/elem.c:253:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ref->id, id, SNDRV_CTL_ELEM_ID_NAME_MAXLEN);
data/alsa-lib-1.2.3.2/src/topology/save.c:39: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).
	pl = strlen(pfx);
data/alsa-lib-1.2.3.2/src/topology/save.c:40: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).
	l = *dst ? strlen(*dst) : 0;
data/alsa-lib-1.2.3.2/src/topology/save.c:196: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).
	d = t = alloca(strlen(str) * 5 + 1 + 1);
data/alsa-lib-1.2.3.2/src/topology/save.c:559: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).
	err = snd_input_buffer_open(&in, *dst, strlen(*dst));
data/alsa-lib-1.2.3.2/src/ucm/main.c:64: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(prefix);
data/alsa-lib-1.2.3.2/src/ucm/main.c:111: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 size = strlen(fmt) + 512;
data/alsa-lib-1.2.3.2/src/ucm/main.c:121: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).
	res = realloc(str, strlen(str) + 1);
data/alsa-lib-1.2.3.2/src/ucm/main.c:175:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	sz_read = read(fd, *res, sz);
data/alsa-lib-1.2.3.2/src/ucm/main.c:235:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	sz_read = read(fd, res, sz);
data/alsa-lib-1.2.3.2/src/ucm/main.c:418: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(s->data.sleep);
data/alsa-lib-1.2.3.2/src/ucm/main.c:1639:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (verb_name && strlen(verb_name)) {
data/alsa-lib-1.2.3.2/src/ucm/main.c:1758: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).
				mod_dev_after = slash1 + strlen(slash1);
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2061:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(filename, fn, PATH_MAX);
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2290:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(filename) + 8 < sizeof(filename)) {
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2296:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (dfl[0] && dfl[strlen(dfl)-1] == '/')
data/alsa-lib-1.2.3.2/src/ucm/parser.c:2297: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).
				dfl[strlen(dfl)-1] = '\0';
data/alsa-lib-1.2.3.2/src/ucm/ucm_regex.c:60: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).
	size_t name2_len = strlen(name) + 16;
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:146: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).
	name = alloca(strlen(id) + 1);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:230:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, path, sizeof(path)-1);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:287: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).
	size = strlen(value) + 1;
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:327:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(r, value, tmp + 1 - value);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:342:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(v2, value + idsize, rvalsize);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:366:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(r, value, idsize);
data/alsa-lib-1.2.3.2/src/ucm/ucm_subs.c:373: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).
		rvalsize = strlen(rval);
data/alsa-lib-1.2.3.2/src/userfile.c:105: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(home) + strlen(&file[2]) + 2;
data/alsa-lib-1.2.3.2/src/userfile.c:105: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).
		len = strlen(home) + strlen(&file[2]) + 2;
data/alsa-lib-1.2.3.2/test/lsb/config.c:93:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ALSA_CHECK(snd_input_buffer_open(&input, config_text1, strlen(config_text1)));
data/alsa-lib-1.2.3.2/test/lsb/config.c:103:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ALSA_CHECK(snd_input_buffer_open(&input, config_text2, strlen(config_text2)));
data/alsa-lib-1.2.3.2/test/lsb/config.c:125:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ALSA_CHECK(snd_input_buffer_open(&input, text, strlen(text)));
data/alsa-lib-1.2.3.2/test/lsb/config.c:168:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ALSA_CHECK(snd_input_buffer_open(&input, text, strlen(text)));
data/alsa-lib-1.2.3.2/test/lsb/config.c:201:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ALSA_CHECK(snd_input_buffer_open(&input, text, strlen(text)));
data/alsa-lib-1.2.3.2/test/lsb/midi_event.c:28: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).
	i = i == 0 && match.rm_so == 0 && match.rm_eo == strlen(text);
data/alsa-lib-1.2.3.2/test/playmidi1.c:132:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return getc(F);
data/alsa-lib-1.2.3.2/test/rawmidi.c:156:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read(fd_in,&ch,1);
data/alsa-lib-1.2.3.2/test/rawmidi.c:201:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					read(fd_in,&ch,1);
data/alsa-lib-1.2.3.2/test/user-ctl-element-set.c:205:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncmp(label, labels[i], strlen(labels[i])) != 0)

ANALYSIS SUMMARY:

Hits = 936
Lines analyzed = 130760 in approximately 3.07 seconds (42571 lines/second)
Physical Source Lines of Code (SLOC) = 92099
Hits@level = [0] 666 [1] 195 [2] 486 [3]  32 [4] 217 [5]   6
Hits@level+ = [0+] 1602 [1+] 936 [2+] 741 [3+] 255 [4+] 223 [5+]   6
Hits/KSLOC@level+ = [0+] 17.3943 [1+] 10.163 [2+] 8.04569 [3+] 2.76876 [4+] 2.42131 [5+] 0.0651473
Symlinks skipped = 1 (--allowlink overrides but see doc for security issue)
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.