OpenCloudOS-Kernel/drivers/usb/usbip
Krzysztof Opasiak 442ee366be usb: usbip: Avoid NULL pointer dereference in case of error
One line above we have checked that udc is NULL so we shouldn't
dereference it while printing error message.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-29 15:31:30 -07:00
..
Kconfig usbip: vudc: fix Kconfig dependencies 2016-04-28 12:28:08 -07:00
Makefile usbip: vudc: Add vudc to Kconfig 2016-04-26 15:19:50 -07:00
README
stub.h usbip: fix NULL pointer dereference on errors 2016-04-28 12:28:08 -07:00
stub_dev.c usbip: fix NULL pointer dereference on errors 2016-04-28 12:28:08 -07:00
stub_main.c
stub_rx.c usbip: fix NULL pointer dereference on errors 2016-04-28 12:28:08 -07:00
stub_tx.c usbip: safe completion against unbind operation 2016-04-28 12:28:08 -07:00
usbip_common.c usbip: vudc: Make usbip_common vudc-aware 2016-04-26 15:19:50 -07:00
usbip_common.h usbip: vudc: Make usbip_common vudc-aware 2016-04-26 15:19:50 -07:00
usbip_event.c usbip: event handler as one thread 2016-04-19 04:33:15 +09:00
vhci.h
vhci_hcd.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vhci_rx.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vhci_sysfs.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vhci_tx.c usb: usbip: Fix possible deadlocks reported by lockdep 2016-02-03 13:52:10 -08:00
vudc.h usb: usbip: vudc: Rename find_endpoint() to vudc_find_endpoint() 2016-04-28 12:28:08 -07:00
vudc_dev.c usb: usbip: vudc: Rename find_endpoint() to vudc_find_endpoint() 2016-04-28 12:28:08 -07:00
vudc_main.c usbip: vudc: Add VUDC main file 2016-04-26 15:19:50 -07:00
vudc_rx.c usb: usbip: vudc: Rename find_endpoint() to vudc_find_endpoint() 2016-04-28 12:28:08 -07:00
vudc_sysfs.c usb: usbip: Avoid NULL pointer dereference in case of error 2016-04-29 15:31:30 -07:00
vudc_transfer.c usb: usbip: vudc: Rename find_endpoint() to vudc_find_endpoint() 2016-04-28 12:28:08 -07:00
vudc_tx.c usbip: vudc: Add vudc_tx 2016-04-26 15:19:50 -07:00

README

TODO:
	- more discussion about the protocol
	- testing
	- review of the userspace interface
	- document the protocol

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>