Takashi Iwai
31be5425d7
ALSA: usb-audio: Fix NULL dereference by access to non-existing substream
...
The commit [0d9741c0 : ALSA: usb-audio: sync ep init fix for
audioformat mismatch] introduced the correction of parameters to be
set for sync EP. But since the new code assumes that the sync EP is
always paired with the data EP of another direction, it triggers Oops
when a device only with a single direction is used.
This patch adds a proper check of sync EP type and the presence of the
paired substream for avoiding the crash.
Reported-and-tested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-01-11 11:12:17 +01:00
..
aoa
arm
ALSA: pxa27x: fix ac97 warm reset
2013-01-08 11:27:35 +00:00
atmel
ALSA: atmel: remove __dev* attributes
2012-12-07 07:22:12 +01:00
core
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2012-12-13 12:00:02 -08:00
drivers
ALSA: drivers: remove __dev* attributes
2012-12-07 07:34:32 +01:00
firewire
ALSA: firewire-speakers: remove __dev* attributes
2012-12-07 07:29:30 +01:00
i2c
isa
ALSA: Remove the rest of __devinit* in comments
2012-12-07 07:41:56 +01:00
mips
ALSA: mips: remove __dev* attributes
2012-12-07 07:29:45 +01:00
oss
sound: oss/pas2: Fix possible access out of array
2013-01-04 10:38:27 +01:00
parisc
ALSA: parisc/harmony: remove __dev* attributes
2012-12-07 07:30:11 +01:00
pci
ALSA: hda - Add support of new codec ALC284
2013-01-10 10:27:46 +01:00
pcmcia
ppc
ALSA: ppc: remove __dev* attributes
2012-12-07 07:33:30 +01:00
sh
ALSA: sh: remove __dev* attributes
2012-12-07 07:33:47 +01:00
soc
Merge remote-tracking branch 'asoc/fix/wm5100' into tmp
2013-01-10 12:22:30 +00:00
sparc
ALSA: sparc: remove __dev* attributes
2012-12-07 07:34:04 +01:00
spi
ALSA: at73c213: remove __dev* attributes
2012-12-07 07:34:13 +01:00
synth
usb
ALSA: usb-audio: Fix NULL dereference by access to non-existing substream
2013-01-11 11:12:17 +01:00
ac97_bus.c
Kconfig
sound: remove reference to feature-removal-schedule.txt
2012-12-17 17:15:12 -08:00
last.c
Makefile
sound_core.c
sound: remove reference to feature-removal-schedule.txt
2012-12-17 17:15:12 -08:00
sound_firmware.c