Closed sezero closed 5 months ago
@smcv: Can you see any gotchas here? If this is foolproof, I'd like to backport to SDL2 too. (And maybe some testcases that should hit longjmp and XFAIL?)
Got two approvals, therefore merging.
Please open a new ticket for any further fixes and/or improvements.
Now backported to SDL2 branch, too.
Reference issue: https://github.com/libsdl-org/SDL_image/issues/416