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



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