[Bug 211823] [patch] fsck_ffs incorrectly failing in check_cgmagic
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 14 02:11:18 UTC 2016
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 at FreeBSD.org
Reporter: heckendorfc at 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.
More information about the freebsd-bugs
mailing list