android_kernel_xiaomi_sm8350/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 [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
cs423x [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
es1688 [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
gus [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
opti9xx [ALSA] Remove unneeded read/write_size fields in proc text ops 2006-06-22 21:33:09 +02:00
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
adlib.c [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
als100.c
azt2320.c [PATCH] PNP: adjust pnp_register_card_driver() signature: azt2320 2006-03-27 08:44:53 -08:00
cmi8330.c [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
dt019x.c [PATCH] PNP: adjust pnp_register_card_driver() signature: dt019x 2006-03-27 08:44:54 -08:00
es18xx.c [PATCH] es18xx build fix 2006-05-21 12:59:22 -07:00
Kconfig [ALSA] AdLib FM card driver 2006-03-31 17:58:59 +02:00
Makefile [ALSA] AdLib FM card driver 2006-03-31 17:58:59 +02:00
opl3sa2.c [ALSA] Fix invalid __init in ALSA ISA drivers 2006-06-22 21:34:17 +02:00
sgalaxy.c [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
sscape.c [ALSA] Change an arugment of snd_mpu401_uart_new() to bit flags 2006-06-22 21:33:56 +02:00