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: [email protected]
          Reporter: [email protected]
          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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to