NetBSD-Bugs archive

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

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



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

From: Matthias Drochner <drochner%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/38528 CVS commit: src/sys/dev/usb
Date: Mon, 26 May 2008 19:01:51 +0000 (UTC)

 Module Name:   src
 Committed By:  drochner
 Date:          Mon May 26 19:01:51 UTC 2008
 
 Modified Files:
        src/sys/dev/usb: uhidev.c uhidev.h
 
 Log Message:
 Fix a dereference if a softc pointer which can legally be zero, leading
 to a crash reported by Christoph Egger in a followup to PR kern/38528.
 For consistency, keep track of the device_t pointer to child devices
 rather than the softc. We really shouldn't mess with child's softc data.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.41 -r1.42 src/sys/dev/usb/uhidev.c
 cvs rdiff -r1.8 -r1.9 src/sys/dev/usb/uhidev.h
 
 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