| Summary: | XCF and LBM image loading might lead to random crashes | ||
|---|---|---|---|
| Product: | SDL_image | Reporter: | Marcus von Appen <mva> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | memory API patch | ||
Fixed, thanks! http://hg.libsdl.org/SDL_image/rev/1700d607fce3 |
Created attachment 1259 [details] memory API patch The current XCF and LBM image loaders mix SDL's and the underlying C memory APIs to allocate, reallocate or compare memory, which can lead to random crashes on the target system. Attached is a small patch to clean up the API and fix a memory lead in the XCF loader implementation.