]> git.baikalelectronics.ru Git - kernel.git/commit
USB: keyspan: fix null-deref at probe
authorJohan Hovold <johan@kernel.org>
Mon, 22 Dec 2014 17:39:39 +0000 (18:39 +0100)
committerJohan Hovold <johan@kernel.org>
Fri, 2 Jan 2015 14:12:28 +0000 (15:12 +0100)
commit53aab97c5baece27623ba6c6a01a61f4cb4c7167
treee841c5904d371c6bf01dd5352a8b840f53f4e760
parent734c1c3c49e1e599acd00cadcb71ab229aa39e68
USB: keyspan: fix null-deref at probe

Fix null-pointer dereference during probe if the interface-status
completion handler is called before the individual ports have been set
up.

Fixes: f02cdc0e1a37 ("USB: keyspan: fix NULL-pointer dereferences and
memory leaks")
Reported-by: Richard <richjunk@pacbell.net>
Tested-by: Richard <richjunk@pacbell.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/keyspan.c