Skip to content

bext size allocation error #280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025
Merged

bext size allocation error #280

merged 1 commit into from
May 29, 2025

Conversation

scjurgen
Copy link
Contributor

on line 2531 the reader consumes one byte too much (extraBytes + 1). This can cause a DRWAV_ASSERT.
This fix adds the missing byte to the extraCapacity in stage 1.

on line 2531 the reader consumes one byte too much (extraBytes + 1). This can cause a DRWAV_ASSERT.
@scjurgen
Copy link
Contributor Author

Minimum testfile to verify the problem.
minimum-bext.wav.zip

@mackron mackron merged commit 92844c5 into mackron:master May 29, 2025
@mackron
Copy link
Owner

mackron commented May 29, 2025

Thanks. I've merged that, and I've added your test file to my collection of test vectors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants