CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2011/06/01 11:57:51

Modified files:
        sys/kern       : subr_disk.c 

Log message:
Add device_ref/device_unref calls to prevent a possible use-after-free
issue in disk_attach_callback.  Assumes that the struct disk is part
of the driver's softc, but this is always true in practice.

Still other scary use-after-free races lying around here though...

ok jsing@, deraadt@

Reply via email to