Source-Changes archive

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

CVS commit: src/sys/dev/usb

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