![]() 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> |
||
---|---|---|
.. | ||
emu8000.c | ||
emu8000_callback.c | ||
emu8000_local.h | ||
emu8000_patch.c | ||
emu8000_pcm.c | ||
emu8000_synth.c | ||
es968.c | ||
Makefile | ||
sb8.c | ||
sb8_main.c | ||
sb8_midi.c | ||
sb16.c | ||
sb16_csp.c | ||
sb16_csp_codecs.h | ||
sb16_main.c | ||
sb_common.c | ||
sb_mixer.c | ||
sbawe.c |