[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/41048 CVS commit: [netbsd-5] src/sys/dev/usb
The following reply was made to PR kern/41048; it has been noted by GNATS.
From: Soren Jacobsen <snj%netbsd.org@localhost>
Subject: PR/41048 CVS commit: [netbsd-5] src/sys/dev/usb
Date: Tue, 24 Mar 2009 20:59:29 +0000
Module Name: src
Committed By: snj
Date: Tue Mar 24 20:59:29 UTC 2009
src/sys/dev/usb [netbsd-5]: ugen.c
Pull up following revision(s) (requested by drochner in ticket #603):
sys/dev/usb/ugen.c: revision 1.102
Putting a device into the unconfigured state by an ioctl seems legitimate,
so check for a non-NULL configuration descriptor before dereferencing.
Should fix a crash reported by Nicolas Joly per PR kern/41048.
(It still doesn't look good that the ioctl which unconfigures the device
returns EIO -- either it is legitimate or it isn't -- but since this
is a pullup candidate I don't dare to change user visible behaviour.)
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r126.96.36.199 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.
Main Index |
Thread Index |