As in other ioctls which access the parent bus, we need to check for a
NULL parent here. Otherwise it's possible to trigger a null pointer
dereference by resetting the root device.
Reported by: Elliott Mitchell <ehem+freebsd@m5p.com>
Differential D46965
devctl: Add missing validation to DEV_RESET markj on Sun, Oct 6, 1:17 PM. Authored by Tags None Referenced Files
Details
As in other ioctls which access the parent bus, we need to check for a Reported by: Elliott Mitchell <ehem+freebsd@m5p.com>
Diff Detail
|