We found a fatal crash bug in latest fmod 4.44.59 when loading a file with a path length > 256, for example:
fmod crashes with BAD ACCESS VIOLATION
tested on Mac OS X 10.11
This issue is not present in the previous fmod version… Could you please provide a quick fix for this fatal bug? Thank you very much.
Just take the playsound example and put the filename into the loaded string. It doesn’t matter if it exists or not. It always crashes.
I went back to the former fmodex and there is not a restriction to 256 characters but to 348.
I’d expect a proper error code here, not a crash.
Thanks, it doesnt happen on windows, but I can see the strings are clamped, but not terminated with a \0 to avoid it spilling past the end. FMOD Studio is fully sanitized for this issue it seems but FMOD Ex isnt. For now terminate the last char at 255 with \0, and we’ll patch it for the next release.
- You must login to post comments
Please login first to submit.