Thealexbarney/LibAtrac9

segfault on invalid data 2

bnnm opened this issue · 1 comments

bnnm commented

Another segfault I found while testing bad data. Fails on VGAudio and segfaults LibAtrac9.

I've isolated the offending super-frames, it's the first and second one, ignore the rest of the file. You can also repeat any of those 2 and it'll fail too, but if you only put one doesn't seem to fail (something carried between frames?).
Might be a Franken-frame of half/half from two different frames, since it comes from an FSB that does weird data interleave.

snd0.zip

Should be fixed in 6a9e00f