acrn-kernel/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
..
Makefile
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
sb8.c
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
sbawe.c