NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/41048 CVS commit: src/sys/dev/usb



The following reply was made to PR kern/41048; it has been noted by GNATS.

From: Matthias Drochner <drochner%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/41048 CVS commit: src/sys/dev/usb
Date: Fri, 20 Mar 2009 20:47:43 +0000

 Module Name:   src
 Committed By:  drochner
 Date:          Fri Mar 20 20:47:43 UTC 2009
 
 Modified Files:
        src/sys/dev/usb: ugen.c
 
 Log Message:
 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.101 -r1.102 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.
 


Home | Main Index | Thread Index | Old Index