commit | e58547eb9561a8a72d46e2d411090a614d33ac0e | [log] [tgz] |
---|---|---|
author | Krzysztof Mazur <krzysiek@podlesie.net> | Thu Aug 22 14:49:39 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 23 10:47:17 2013 -0700 |
tree | 1952a435bc6a5c710df71c8692f5af9ca2ee0c7f | |
parent | d0308d4b6b02597f39fc31a9bddf7bb3faad5622 [diff] |
usb: fail on usb_hub_create_port_device() errors Ignoring usb_hub_create_port_device() errors cause later NULL pointer deference when uninitialized hub->ports[i] entries are dereferenced after port memory allocation error. Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>