]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb/6fire: Fix potential NULL pointer dereference in comm.c
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 21 Nov 2012 09:06:57 +0000 (14:36 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 21 Nov 2012 09:43:52 +0000 (10:43 +0100)
commiteb821208f41b7706a70c64d67c38147a71444832
tree76f06bcdd9975d8223e23a075ad3a697b8e5441d
parent5b0b29007f9fa91f4c271ac4842d03f89ce9b051
ALSA: usb/6fire: Fix potential NULL pointer dereference in comm.c

'rt' was dereferenced before the NULL check.
Moved the code after the check.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/6fire/comm.c