Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2021 06:16:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259024] ext2_search_dirblock() loops forever if e2d_reclen is zero
Message-ID:  <bug-259024-227-vO6WLDSbrx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259024-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259024-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259024

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dbb9f1ba4b55c1f566d59cc7c7d1d28dd3=
7715984

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(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259024-227-vO6WLDSbrx>