NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/39468: Incomplete device_t/softc split for the ld(4) attachments
>Number: 39468
>Category: kern
>Synopsis: Incomplete device_t/softc split for the ld(4) attachments
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 06 11:25:00 +0000 2008
>Originator: Juan RP
>Release: Latest
>Organization:
>Environment:
NetBSD vmware-netbsd 4.99.72 NetBSD 4.99.72 (MASTER) #2: Sat Sep 6 13:03:36
CEST 2008 juan@vmware-netbsd:/home/juan/build/obj/sys/arch/i386/compile/MASTER
i386
>Description:
The ld(4) driver will crash at attach time with a NULL pointer dereference due
to incomplete device_t/softc split for all its attachments (note that I'm
responsible for ataraid(4) crash :-).
I created a patch that will change all ld(4) users to switch to
CFATTACH_DECL_NEW. The patch has been tested with ataraid(4), I'd like to hear
if there's any problem in the other attachments, as well as someone testing
them to verify.
Will send a patch to this PR in a few minutes. This patch will supersede the
one from kern/39394.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index