[Bug 259105] ext2fs would be more robust if it checked the type of inode 2

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Dec 2021 06:15:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259105

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=ced21728223016429242d1f7cd5e8a160c8a88cb

commit ced21728223016429242d1f7cd5e8a160c8a88cb
Author:     Fedor Uporov <fsu@FreeBSD.org>
AuthorDate: 2021-12-24 14:11:25 +0000
Commit:     Fedor Uporov <fsu@FreeBSD.org>
CommitDate: 2021-12-30 06:14:45 +0000

    Add more accurate check for root inode

    Check that root inode has links and is directory.

    PR:             259105
    Reported by:    Robert Morris
    MFC after:      2 weeks

 sys/fs/ext2fs/ext2_inode_cnv.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.