| Summary: | [PATCH] Infinite recursion in X11_SafetyNetErrHandler | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Cameron Gutman <cameron.gutman> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 2.0.12 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | Patch | ||
|
Description
Cameron Gutman
2020-09-08 03:11:39 UTC
Created attachment 4460 [details]
Patch
Agreed that this is a problem, but your patch declares the original handler twice and never sets it? My patch just moved the declaration of orig_x11_errhandler (to be above X11_DeleteDevice() where it is now referenced). It already existed before and is already set in X11_CreateDevice(). Looks good, thanks! https://hg.libsdl.org/SDL/rev/e0220c4bc306 |