kernel-ark/sound
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
..
arm
core [ALSA] Remove bogus check of mmap_count in snd_pcm_release() 2006-06-22 21:34:14 +02:00
drivers
i2c
isa [ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt() 2006-06-22 21:34:22 +02:00
mips
oss
parisc
pci [ALSA] hda-codec - Add SPDIF support to Thinkpad T/X/Z60 2006-06-22 21:34:21 +02:00
pcmcia [ALSA] sound/vxpocket: fix printk warning 2006-06-22 21:34:15 +02:00
ppc
sparc
synth
usb
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c