linux/sound/core
Takashi Iwai 203eb06d99 ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat mode
commit 317168d0c7 upstream.

In compat mode, we copy each field of snd_pcm_status struct but don't
touch the reserved fields, and this leaves uninitialized values
there.  Meanwhile the native ioctl does zero-clear the whole
structure, so we should follow the same rule in compat mode, too.

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-14 08:59:48 -08:00
..
oss
seq
compress_offload.c ALSA: compress: Pass through return value of open ops callback 2014-03-19 15:46:24 +01:00
control_compat.c
control.c ALSA: control: Make sure that id->index does not overflow 2014-06-26 15:15:43 -04:00
ctljack.c
device.c
hrtimer.c
hwdep_compat.c
hwdep.c
info_oss.c
info.c ALSA: core: fix buffer overflow in snd_info_get_line() 2014-10-05 14:52:11 -07:00
init.c ALSA: control: Protect user controls against concurrent access 2014-06-26 15:15:43 -04:00
isadma.c
jack.c ALSA: jack: Unregister input device at disconnection 2013-11-14 17:22:45 +01:00
Kconfig
Makefile ALSA: Merge memalloc code into snd-pcm module 2014-01-09 08:12:57 +01:00
memalloc.c ALSA: Merge memalloc code into snd-pcm module 2014-01-09 08:12:57 +01:00
memory.c
misc.c
pcm_compat.c ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat mode 2014-11-14 08:59:48 -08:00
pcm_dmaengine.c ALSA: pcm_dmaengine: Remove hardcoded PCM formats 2013-10-28 10:18:09 +01:00
pcm_lib.c ALSA: pcm: fix fifo_size frame calculation 2014-10-05 14:52:11 -07:00
pcm_memory.c ALSA: PCM: Warn when buffer preallocation fails 2014-01-11 11:04:23 +01:00
pcm_misc.c ALSA: Add helper function for intersecting two rate masks 2014-01-14 20:42:34 +00:00
pcm_native.c ALSA: pcm: use the same dma mmap codepath both for arm and arm64 2014-10-30 09:38:24 -07:00
pcm_timer.c
pcm.c ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM 2013-10-31 17:36:47 +01:00
rawmidi_compat.c
rawmidi.c
rtctimer.c
sgbuf.c
sound_oss.c
sound.c consolidate the reassignments of ->f_op in ->open() instances 2013-10-24 23:34:53 -04:00
timer_compat.c
timer.c
vmaster.c