2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/sound/mips
Clemens Ladisch 3e85fd614c sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer
When allocating the PCM buffer, use vmalloc_user() instead of vmalloc().
Otherwise, it would be possible for applications to play the previous
contents of the kernel memory to the speakers, or to read it directly if
the buffer is exported to userspace.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@kernel.org>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-12-18 12:53:17 +01:00
..
ad1843.c ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
au1x00.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
hal2.c ALSA: Fix invalid __exit in sound/mips/*.c 2009-10-02 11:06:16 +02:00
hal2.h ALSA: ALSA driver for SGI HAL2 audio device 2008-07-14 09:00:57 +02:00
Kconfig ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
Makefile ALSA: ALSA driver for SGI O2 audio board 2008-07-14 09:01:02 +02:00
sgio2audio.c sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer 2009-12-18 12:53:17 +01:00