Date: Thu, 30 Jun 2016 00:50:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 210715] ext[234] and ntfs detection is little endian specific Message-ID: <bug-210715-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210715 Bug ID: 210715 Summary: ext[234] and ntfs detection is little endian specific Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: brooks@FreeBSD.org CC: trasz@FreeBSD.org The tests to ext2, ext3, ext4, and ntfs all fail on mips64 (presumably also sparc64). A quick glance at the code shows no attempt to adjust the endian= ness of constants before comparison. For example this bit from ntfs.c: #define NTFS_FILEMAGIC ((uint32_t)(0x454C4946)) ... if (fr->fr_hdrmagic !=3D NTFS_FILEMAGIC) goto fail; --=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-210715-8>