Skip to contentSkip to conversation

Bug in VVFAT crashes QEMU on Win32

Qemu-devel Robert Riebisch 1 participant 1 message Oct 29, 2008

lore
Share & tools
lore
#0 lore raw

Hi all!

There's a problem with file-time handling for VVAT.
I found this when expanding HIMEM.SYS from a Windows 98 ISO file. HIMEM.SYS gets a creation time of "1607-01-19 20:38:32", which is obviously wrong, but that's not a QEMU problem.
If I put this file to "temp/" and use option "-hdb fat:temp/", QEMU dumps with 0xc0000005 (access violation) immediately.

I'm not very familiar with GDB, but at least I got this description.
***
Program received signal SIGSEGV, Segmentation fault. fat_datetime (time=-1, return_time=1) at bswap.h:123
123 CPU_CONVERT(le, 16, uint16_t)
***

This has been tested with QEMU 0.9.1 and trunk.

Johannes?

Robert Riebisch

Signature · 2 lines
BTTR Software
http://www.bttr-software.de/