Skip to content
Commit f48219db authored by Horst Schirmeier's avatar Horst Schirmeier Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference)



When trying to deconfigure a device via usb_set_configuration(dev, 0),
2.6.16-rc kernels after 55c52718 oops
with "Unable to handle NULL pointer dereference at...". This is due to
an unchecked dereference of cp in the power budget part.

Signed-off-by: default avatarHorst Schirmeier <horst@schirmeier.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6aa35675
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment