Files
mirror_zfs/module/os/freebsd/zfs
Allan Jude e45a981f6d Avoid a null pointer dereference in zfs_mount() on FreeBSD
When mounting the root filesystem, vfs_t->mnt_vnodecovered is null

This will cause zfsctl_is_node() to dereference a null pointer when
mounting, or updating the mount flags, on the root filesystem, both
of which happen during the boot process.

Reported-by: Martin Matuska <mm@FreeBSD.org>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Allan Jude <allan@klarasystems.com>
Closes #14218
2023-02-06 10:40:16 -08:00
..
2022-07-26 10:10:37 -07:00
2020-04-14 11:36:28 -07:00
2023-01-19 12:50:36 -08:00
2022-03-20 21:21:18 -07:00
2021-06-24 13:12:36 -07:00
2022-09-28 10:35:13 -07:00
2022-09-28 10:35:13 -07:00
2023-01-19 12:50:42 -08:00
2022-05-02 15:42:58 -07:00