Summary: | ext2fs would be more robust if it checked the type of inode 2 | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Robert Morris <rtm> | ||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | emaste, fsu | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Robert Morris
2021-10-12 14:56:14 UTC
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(-) |