alistair23-linux/sound/isa/sb
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
..
emu8000.c [ALSA] Fix invalid __init in ALSA ISA drivers 2006-06-22 21:34:17 +02:00
emu8000_callback.c
emu8000_local.h
emu8000_patch.c [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
emu8000_pcm.c
emu8000_synth.c
es968.c [PATCH] PNP: adjust pnp_register_card_driver() signature: es968 2006-03-27 08:44:54 -08:00
Makefile
sb8.c [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
sb8_main.c
sb8_midi.c [ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt() 2006-06-22 21:34:22 +02:00
sb16.c [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
sb16_csp.c [ALSA] Remove unneeded read/write_size fields in proc text ops 2006-06-22 21:33:09 +02:00
sb16_csp_codecs.h
sb16_main.c
sb_common.c
sb_mixer.c [ALSA] sound/isa/sb/sb_mixer.c double kfree 2006-03-22 10:35:57 +01:00
sbawe.c