Date: Wed, 06 Oct 2021 09:59:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258961] g_label_msdosfs_taste() can loop infinitely if FAT32 disk image is corrupt Message-ID: <bug-258961-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258961 Bug ID: 258961 Summary: g_label_msdosfs_taste() can loop infinitely if FAT32 disk image is corrupt Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: rtm@lcs.mit.edu The g_label_msdosfs_taste() FAT32 path reads fat_BytesPerSector from the disk image and then executes for (offset = fat_BytesPerSector * fat_FirstDataSector;; offset += fat_BytesPerSector) { If fat_BytesPerSector is zero, this never make progress, and never finishes. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258961-227>
