Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2016 02:11:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211823] [patch] fsck_ffs incorrectly failing in check_cgmagic
Message-ID:  <bug-211823-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211823

            Bug ID: 211823
           Summary: [patch] fsck_ffs incorrectly failing in check_cgmagic
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: heckendorfc@gmail.com
          Keywords: patch

Created attachment 173646
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173646&action=edit
match types for comparison

Comparing (int16_t)cgp->cg_old_niblk with (uint32_t)sblock.fs_ipg causes this
test to fail on my fs (created on OpenBSD) resulting in the fs being marked
dirty. The value being compared in this case is 52224.

Judging by bug #174028 I'd imagine there are more issues of this nature lurking
around.

This diff was tested and generated against releng/10.3 but a quick look at the
code in HEAD suggests it should still be an issue there.

-- 
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-211823-8>