acrn-kernel/sound/isa
Jesper Juhl 63eb1e4bd2 [ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt()
First testing if a pointer is NULL and if it is (or might be), proceeding
with code that dereferences that same pointer is clearly a mistake.
This happens in sound/isa/sb/sb8_midi.c::snd_sb8dsp_midi_interrupt()
The patch below reworks the code so this unfortunate case doesn't happen.
Also remove some blank comments.
Found by the Coverity checker as bug #367
Patch is compile testted only due to lack of hardware.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22 21:34:22 +02:00
..
ad1816a
ad1848
cs423x
es1688
gus [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
opti9xx
sb [ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt() 2006-06-22 21:34:22 +02:00
wavefront [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
Kconfig
Makefile
adlib.c
als100.c
azt2320.c
cmi8330.c
dt019x.c
es18xx.c
opl3sa2.c [ALSA] Fix invalid __init in ALSA ISA drivers 2006-06-22 21:34:17 +02:00
sgalaxy.c
sscape.c [ALSA] Change an arugment of snd_mpu401_uart_new() to bit flags 2006-06-22 21:33:56 +02:00