[Bug 271378] negative jt_size in ffs truncate journal record causes fsck to crash

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Jun 2023 23:16:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271378

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

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

commit 3035f98d56eb72240c6260d667427ab4ade08b45
Author:     Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2023-05-28 00:09:02 +0000
Commit:     Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2023-06-07 22:46:53 +0000

    Fix a bug in fsck_ffs(8) triggered by corrupted filesystems.

    Reported-by:  Robert Morris
    PR:           271378
    Sponsored-by: The FreeBSD Foundation

    (cherry picked from commit 101a9ac07128a17d8797cc3e93978d2cfa457e99)

 sbin/fsck_ffs/fsck.h   |  1 +
 sbin/fsck_ffs/fsutil.c | 25 +++++++++++++++++++++++++
 sbin/fsck_ffs/pass1.c  | 12 +-----------
 sbin/fsck_ffs/suj.c    |  3 +++
 4 files changed, 30 insertions(+), 11 deletions(-)

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