HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #854367
sdl2: utf8_strlen() miscalculates multibyte characters
Start date:
Due date:
% Done:
0%
Estimated time:
Description
utf8_strlen() checks if a byte value is >= 128 to see if it's beginning of a multibyte character (has topmost bit set). However, the type of the checked byte is 'signed char' and thus result of that comparison is always false (max value for signed char is 127, topmost bit denotes negative value).
History
#1
Updated by Marko Lindqvist over 1 year ago
- File 0039-sdl2-Fix-how-utf8_strlen-detects-multibyte-character.patch 0039-sdl2-Fix-how-utf8_strlen-detects-multibyte-character.patch added
- Status changed from In Progress to Resolved
#2
Updated by Marko Lindqvist over 1 year ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist