kernel-aes67/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_callback.c [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE 2006-01-03 12:18:25 +01:00
emu8000_local.h [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE 2006-01-03 12:18:25 +01:00
emu8000_patch.c [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
emu8000_pcm.c [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE 2006-01-03 12:18:25 +01:00
emu8000_synth.c [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE 2006-01-03 12:18:25 +01:00
emu8000.c [ALSA] Fix invalid __init in ALSA ISA drivers 2006-06-22 21:34:17 +02:00
es968.c [PATCH] PNP: adjust pnp_register_card_driver() signature: es968 2006-03-27 08:44:54 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sb8_main.c [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE 2006-01-03 12:18:25 +01:00
sb8_midi.c [ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt() 2006-06-22 21:34:22 +02:00
sb8.c [ALSA] unregister platform device again if probe was unsuccessful 2006-04-12 11:55:32 +02:00
sb16_csp_codecs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sb16_csp.c [ALSA] Remove unneeded read/write_size fields in proc text ops 2006-06-22 21:33:09 +02:00
sb16_main.c [ALSA] Add PM support to SB-support code 2006-01-03 12:28:03 +01:00
sb16.c [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
sb_common.c [ALSA] Add PM support to SB-support code 2006-01-03 12:28:03 +01:00
sb_mixer.c [ALSA] sound/isa/sb/sb_mixer.c double kfree 2006-03-22 10:35:57 +01:00
sbawe.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00