I'm trying to hack from svn sources. compiled under linux ubuntu 11.04 with the safe option.
cannot convert to HFE (but MFM is OK)
(sources are unmodified for now, I took last svn revision last week, maybe I should take a stable TAG revision?)
./hxcfloppyemulator_convert sp1a.sap -HFE
Code:
SAP_libIsValidDiskFile sp1a.sap
SAP file !
file loader found!
SAP_libLoad_DiskFile sp1a.sap
80 tracks, 1 side(s), 16 sectors/track,256 bytes/sector gap3:50, interleave:1,rpm:300
track file successfully loaded and encoded!
Write HFE file sp1a_sap.hfe for the standalone emulator.
*** buffer overflow detected ***: ./hxcfloppyemulator_convert terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x2aadf0]
/lib/i386-linux-gnu/libc.so.6(+0xe4cca)[0x2a9cca]
/lib/i386-linux-gnu/libc.so.6(+0xe43c8)[0x2a93c8]
/lib/i386-linux-gnu/libc.so.6(_IO_default_xsputn+0x95)[0x9147e5]
/lib/i386-linux-gnu/libc.so.6(_IO_vfprintf+0x15e)[0x8e82be]
/lib/i386-linux-gnu/libc.so.6(__vsprintf_chk+0xad)[0x98f47d]
/lib/i386-linux-gnu/libc.so.6(__sprintf_chk+0x2d)[0x98f3bd]
./hxcfloppyemulator_convert[0x8052b20]
./hxcfloppyemulator_convert[0x804992f]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x8c1e37]
./hxcfloppyemulator_convert[0x80493a1]