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 geometrydetection
The following reply was made to PR bin/37656; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: jnemeth%victoria.tc.ca@localhost, eau%phear.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost,
tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: bin/37656: fdisk segfault on invalid MBR entries on non-x86
geometrydetection
Date: Sun, 13 Jan 2008 00:45:50 +0900
I've found how to reproduce the problem even on i386:
# uname -mrs
NetBSD 4.99.49 i386
# uudecode < [attached one]
# gunzip bomb.fs.gz
# vnconfig vnd0 bomb.fs
# fdisk vnd0
Floating exception (core dumped)
#
My previous patch fixes this.
---
begin 640 bomb.fs.gz
M'XL("#+>B$<``V)O;6(N9G,`[<ZQ"<`P$`/`%QG,7B)#VM-YA$!PD3)-BL!=
M(54"5?%O8W>[,QE)UE'57VS/^=4K````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
D`````````````````````````````````'BZ`$^X\0L`X`<`
`
end
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index