diff options
author | Mark Johnston <markj@FreeBSD.org> | 2024-10-06 22:56:40 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2024-10-07 00:16:07 +0000 |
commit | fdd100a7150e34d8d98cb38e701b3cb073208653 (patch) | |
tree | 7e1461e1fe3a92333641a4dee2cc4546f1e9761c /usr.bin/find | |
parent | 1fc766e3b41d0cdbd166ef95258434069a90ca52 (diff) | |
download | src-main.tar.gz src-main.zip |
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>
Reviewed by: imp, kib
Differential Revision: https://reviews.freebsd.org/D46965
Diffstat (limited to 'usr.bin/find')
0 files changed, 0 insertions, 0 deletions