Closed dwuertz closed 1 year ago
Thanks for the report. Are you able to email the file to me?
Thanks for looking into it!
Am Montag, dem 19.12.2022 um 13:46 -0800 schrieb David Reid:
Thanks for the report. Are you able to email the file to me? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Did you send me an email with the file? I didn't get anything.
Did you send me an email with the file? I didn't get anything.
Sorry, didn't send to the correct mail address in my original reply. I just sent it again
Thanks. I got your test file. Is the metadata well-formed in this file? The parsing logic in dr_wav is indicating that the size of the chunk is invalid. I've fixed the crash, but if you're expecting dr_wav to properly handle that particular piece of metadata it won't work.
The fix for the crash is in the dev branch.
This fix was released in version 0.13.8.
dr_wav.h chokes on certain WAV files, resulting in segfault.
Obviously, the problem is that it tries to access
pMetadata
which for whatever reason isNULL
.Here is the test.wav used to reproduce the crash (looks like I cannot attach files):