| Summary: | Crash when loading some XPM files | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | Jeff Pohlmeyer <yetanothergeek> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Malformed XPM test file | ||
This wasn't a buffer overflow, just a missing NULL check. Fixed, thanks! https://hg.libsdl.org/SDL_image/rev/ee17b8eb58ce |
Created attachment 1595 [details] Malformed XPM test file The attached XPM file causes a segfault in the "showimage" test program. Tested on ArchLinux i686, crash occurs with both SDL_image-1.2.12 and SDL2_image-2.0.0 I'm setting the severity to "critical" because this may potentially be an exploitable buffer overrun, but that's purely speculation.