| Summary: | SDL_iconv_string can get stuck in an infinite loop when encountering invalid characters | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Hampus Liljekvist <hlilje.public> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | ||
| Version: | 2.0.10 | ||
| Hardware: | x86_64 | ||
| OS: | macOS 10.15 | ||
| Attachments: | Suggested fix | ||
|
Description
Hampus Liljekvist
2020-03-10 15:43:36 UTC
To clarify the function call to `SDL_iconv_string` stemmed from `HIDAPI_AddDevice`, hence I chose the "joystick" component, but I guess this is a more generic issue than that. Created attachment 4246 [details]
Suggested fix
This patch is added, thanks! https://hg.libsdl.org/SDL/rev/3d3649fe086e |