android_kernel_xiaomi_sm8350/sound
Dave Jones 5e315e9248 [ALSA] Fix use after free in opl3_seq and opl3_oss
Modules: OPL3

Don't read from free'd memory.  Also make use of the return
value, and don't register the device if something went wrong
creating the port.

Coverity #954, #955

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-03-22 10:36:15 +01:00
..
arm [ALSA] semaphore -> mutex (Archs, misc buses) 2006-03-22 10:25:43 +01:00
core [ALSA] return ENODEV for disconnected devices 2006-03-22 10:34:24 +01:00
drivers [ALSA] Fix use after free in opl3_seq and opl3_oss 2006-03-22 10:36:15 +01:00
i2c [ALSA] ice1712 & cs8427 - fix problem for S/PDIF input setup 2006-03-22 10:28:15 +01:00
isa [ALSA] ad1848 double free 2006-03-22 10:36:08 +01:00
mips [ALSA] Remove snd_card_generic_dev() 2006-01-03 12:28:50 +01:00
oss [PATCH] powerpc: Fix sound driver use of i2c 2006-02-07 20:33:36 -08:00
parisc [ALSA] Remove xxx_t typedefs: PARISC Harmony 2006-01-03 12:20:09 +01:00
pci [ALSA] emu10k1_synth use after free 2006-03-22 10:35:23 +01:00
pcmcia [ALSA] Don't NULL check vfree argument in pdaudiocf_pcm.c 2006-03-22 10:31:45 +01:00
ppc [PATCH] powerpc: Fix sound driver use of i2c 2006-02-07 20:33:36 -08:00
sparc [ALSA] semaphore -> mutex (Archs, misc buses) 2006-03-22 10:25:43 +01:00
synth [ALSA] semaphore -> mutex (driver part) 2006-03-22 10:24:57 +01:00
usb [ALSA] fix usbmixer double kfree 2006-03-22 10:35:19 +01:00
Kconfig [ALSA] sound: align device drivers menus 2006-01-03 12:29:56 +01:00
last.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_core.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
sound_firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00