alistair23-linux/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 [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
core [ALSA] Remove bogus check of mmap_count in snd_pcm_release() 2006-06-22 21:34:14 +02:00
drivers [ALSA] virmidi: revert erroneous removal of zero initialization 2006-06-22 21:34:12 +02:00
i2c [ALSA] Remove unneeded read/write_size fields in proc text ops 2006-06-22 21:33:09 +02:00
isa [ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt() 2006-06-22 21:34:22 +02:00
mips [ALSA] AMD Au1x00: AC'97 controller is memory mapped 2006-03-22 10:43:28 +01:00
oss [MIPS] Correct HAL2 Kconfig description 2006-06-19 17:39:26 +01:00
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 [ALSA] unregister platform device again if probe was unsuccessful 2006-06-22 21:32:42 +02:00
sparc [ALSA] Remove zero-initialization of static variables 2006-06-22 21:33:45 +02:00
synth [ALSA] NULL pointer dereference in sound/synth/emux/soundfont.c 2006-06-22 21:34:05 +02:00
usb [ALSA] usbaudio - Fix a typo 2006-06-22 21:33:50 +02:00
Kconfig
last.c
Makefile
sound_core.c [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
sound_firmware.c