NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/37656: fdisk segfault on invalid MBR entries on non-x86 geometry detection
The following reply was made to PR bin/37656; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: John Nemeth <jnemeth%victoria.tc.ca@localhost>
Cc: Eric Auge <eau%phear.org@localhost>, gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/37656: fdisk segfault on invalid MBR entries on non-x86
geometry detection
Date: Wed, 2 Jan 2008 11:21:24 +0100
On Wed, Jan 02, 2008 at 02:13:59AM -0800, John Nemeth wrote:
> Not sure how this is handled, but yes the MBR would be all 0s.
The MBR has a magic number at the end (see MBR_MAGIC_OFFSET and MBR_MAGIC
in bootblock.h).
Martin
Home |
Main Index |
Thread Index |
Old Index