2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/drivers/usb/class
Johan Hovold 7e7797e7f6 USB: cdc-acm: fix potential null-pointer dereference on disconnect
Fix potential null-pointer exception on disconnect introduced by commit
11ea859d64 (USB: additional power savings
for cdc-acm devices that support remote wakeup).

Only access acm->dev after making sure it is non-null in control urb
completion handler.

Cc: stable <stable@kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-23 13:22:02 -07:00
..
cdc-acm.c USB: cdc-acm: fix potential null-pointer dereference on disconnect 2011-03-23 13:22:02 -07:00
cdc-acm.h USB: cdc-acm: make bitfields unsigned 2010-05-20 13:21:31 -07:00
cdc-wdm.c USB: Fix 'bad dma' problem on WDM device disconnect 2011-03-23 13:21:02 -07:00
Kconfig USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
usblp.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
usbtmc.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00