Skip to content
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

Tracking issue: Implement https://github.com/nothings/stb/issues/937 #2

Open
NBickford-NV opened this issue Feb 4, 2024 · 0 comments

Comments

@NBickford-NV
Copy link
Owner

After ~5000 inputs, the Vorbis fuzzer found an input that exploits the issue rygorous describes in nothings#937 (comment) . This should be a fairly fast fix:

  • Add a STB_VORBIS_MAX_PACKET_SIZE define, or something named similarly
  • Check the length returned by this against it:
   //file vendor
   len = get32_packet(f);
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

No branches or pull requests

1 participant