diff options
author | William Light <wrl@illest.net> | 2011-10-10 15:54:22 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-10-13 08:16:42 +0200 |
commit | 3d37fbe44112b06279efa04ad91a0e4b7a0c600c (patch) | |
tree | 630491400d6a8362fa57f8dfc293ee39ea1f6dbf /sound/usb/format.c | |
parent | ffd3d5c6c7a20fb718daf98a6c8a476d228f3995 (diff) | |
download | linux-3d37fbe44112b06279efa04ad91a0e4b7a0c600c.tar.gz linux-3d37fbe44112b06279efa04ad91a0e4b7a0c600c.tar.bz2 linux-3d37fbe44112b06279efa04ad91a0e4b7a0c600c.zip |
ALSA: snd-usb-caiaq: Fix NULL dereference in input.c
There was a case where a newly-registered input device could be opened before
a necessary variable in the device structure was set. When code tried to use
the variable in the URB reply callback, it would cause an Oops.
This fix sets the aforementioned variable before calling input_register_device.
Signed-off-by: William Light <wrl@illest.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/format.c')
0 files changed, 0 insertions, 0 deletions