vgmstream crashes on invalid files? (Android) by nobody1089 at 8:27 PM EDT on July 17, 2016
I've observed that the vgmstream library tends to crash when loading invalid files. Is that normal?
Android crash: https://github.com/droidmjt/Droidsound/issues/305 Scroll to the bottom. Apparently the crash occurs at `reset_vgmstream+16` . I've seen similar issues before when renaming file extensions under foobar2000, but I can't reproduce them right now.
- If I rename the file to .ast or .pcm, it *doesn't* crash in foobar2000 (on Wine).
Either Droidsound-E is calling a different vgmstream function that causes it to crash, or it's bundled with an outdated library version. I suspect it tries opening the file under every possible file extension, and uses the first one that succeeds.