Module Name: src Committed By: martin Date: Wed Dec 11 14:56:36 UTC 2019
Modified Files: src/sys/dev/usb [netbsd-9]: ugen.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #544): sys/dev/usb/ugen.c: revision 1.148 reading usbdi.c it looks like usbd_get_config_descriptor() can actually return NULL, so check for this. I got NULL pointer dereference here with a device showing: [ 303.732632] ugen0: autoconfiguration error: setting configuration index 0 failed To generate a diff of this commit: cvs rdiff -u -r1.146 -r1.146.2.1 src/sys/dev/usb/ugen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.