libsndfile
libsndfile copied to clipboard
wavlike: Reorganize wavlike_subchunk_parse(), Check for More Error Conditions
Reorganize the loop within wavlike_subchunk_parse().
Fix the chunk-remaining space checks to actually check for enough space for the next bytes read.
Handle short-reads errors correctly.
Don't error if unknown sub-chunks are larger than the not-used buffer..
Fixes #873 .
CI Fuzz test unexpectedly returned an error.
CI Fuzz test unexpectedly returned an error.
No kidding
Uggg, The fuzzing setup isn't what I would call, easily repeatable.
Fuzzer passed, but still giving warnings...
Yes, I checked the previous run, so there were no such warnings.
@evpobr @arthurt I've run the fuzzer locally using the oss-fuzz reproduce tool and the crash from the CI pipelines and it doesn't reproduce for me. Might be worth just retrying the pipeline to see if it was a one-off failure or not. I'll keep poking it a bit more though.
Ok, restarted.
It seems like this PR had some good cleanup ... which however was hard to review and conflicted with 890. I hope it will make a comeback.