kernel-fxtec-pro1x/sound/usb/6fire
Jesper Juhl 37f7ec38ea ALSA: 6fire: Fix double-free bug in usb6fire_fw_ezusb_upload()
We have a double-free bug in
sound/usb/6fire/firmware.c::usb6fire_fw_ezusb_upload().
We already call release_firmware(fw) on line 258, so when we then do it
again after usb6fire_fw_ezusb_write() returns <0, we have a double-free.
Easily fixed by just removing the last call to release_firmware().

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-06-14 07:27:26 +02:00
..
chip.c
chip.h
comm.c
comm.h
common.h
control.c ALSA: 6fire - Add support of digital-thru mixer 2011-04-04 12:26:21 +02:00
control.h ALSA: 6fire - Add support of digital-thru mixer 2011-04-04 12:26:21 +02:00
firmware.c ALSA: 6fire: Fix double-free bug in usb6fire_fw_ezusb_upload() 2011-06-14 07:27:26 +02:00
firmware.h
Makefile
midi.c
midi.h
pcm.c ALSA: 6fire - Add support of digital-thru mixer 2011-04-04 12:26:21 +02:00
pcm.h