| Summary: | [PATCH] Call setlocale + XSetLocaleModifiers before XOpenIM (With ibus workaround) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Alex Baines <alex> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
Patch to fix various X11 input things
Fix for my setlocale mistake |
||
|
Description
Alex Baines
2015-09-30 20:34:10 UTC
Fixed, thanks! https://hg.libsdl.org/SDL/rev/2f18ea79bc03 Created attachment 2573 [details]
Fix for my setlocale mistake
Sorry, I tested the new hg with my patch applied in valgrind and I introduced an invalid read by invalidating the string returned by setlocale.
This new patch fixes that by storing it like it does for XSetLocaleModifiers.
Got it, thanks! https://hg.libsdl.org/SDL/rev/01761b2d701e |