[Bug 259024] ext2_search_dirblock() loops forever if e2d_reclen is zero

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Dec 2021 06:16:00 UTC

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


commit bb9f1ba4b55c1f566d59cc7c7d1d28dd37715984
Author:     Fedor Uporov <fsu@FreeBSD.org>
AuthorDate: 2021-10-29 12:45:50 +0000
Commit:     Fedor Uporov <fsu@FreeBSD.org>
CommitDate: 2021-12-30 06:14:44 +0000

    Add more accurate directory entries check

    Rename ext2_dirbadentry() to ext2_check_direntry(). Add directory
    entry inode value check, and call ext2_check_direntry() in all cases.
    The dirchk sysctl is removed.

    PR:                     259024,259041
    Reported by:            Robert Morris
    Reviewed by:            pfg
    MFC after:              2 weeks
    Differential Revision:  https://reviews.freebsd.org/D33374

 sys/fs/ext2fs/ext2_lookup.c | 39 ++++++++++-----------------------------
 1 file changed, 10 insertions(+), 29 deletions(-)

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