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...
sdl2: utf8_strlen() miscalculates multibyte characters
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).
#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