| Summary: | Heap buffer overflow in SDL_LoadWAV_RW_REAL | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Geeknik Labs <geeknik> |
| Component: | audio | Assignee: | Simon Hug <chli.hug> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | ||
| Version: | 2.0.9 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | POC | ||
|
Description
Geeknik Labs
2019-02-15 20:53:31 UTC
This code has been rewritten for SDL 2.0.10, can you verify that this issue has been fixed there? http://www.libsdl.org/tmp/SDL-2.0.zip Simon, can you verify that your changes fix this issue? The WAVE file (attachment 3626 [details]) is heavily truncated. No more chunks after the unusually small fmt chunk.
With the current tip, SDL_LoadWAV_RW rejects this file with "Missing data chunk in WAVE file" as there's no data chunk.
Great, thanks! |