dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/usb/host/whci
Dan Carpenter 3821bf4abb USB: whci-hcd: fix NULL dereference on allocation failure
If usb_create_hcd() fails here then we dereference "whc" inside the call
to whc_clean_up() before it has been set.  The compiler would have
warned about this if we hadn't initialized all the pointers to NULL at
the start of the function.  I've cleaned that up as well.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-15 15:17:39 -07:00
..
Kbuild usb: makefile cleanup 2010-10-22 10:22:07 -07:00
asl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
debug.c usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:25 -04:00
hcd.c USB: whci-hcd: fix NULL dereference on allocation failure 2012-08-15 15:17:39 -07:00
hw.c wusb: timeout when waiting for ASL/PZL updates in whci-hcd 2009-01-07 10:54:22 +00:00
init.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
int.c wusb: remove unused #include <version.h> 2008-10-31 15:10:27 +00:00
pzl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
qset.c USB: whci-hcd: Fix potential memory leak in qset_add_urb_sg() 2012-08-10 12:06:39 -07:00
whcd.h USB: whci-hcd: support urbs with scatter-gather lists 2009-12-11 11:55:14 -08:00
whci-hc.h USB: wusb: add wusb_phy_rate sysfs file to host controllers 2009-12-11 11:55:16 -08:00
wusb.c wusb: add debug files for ASL, PZL and DI to the whci-hcd driver 2008-11-26 13:36:59 +00:00