https://bugs.kde.org/show_bug.cgi?id=357341
Boris Egorov <ego...@linux.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 CC| |ego...@linux.com --- Comment #1 from Boris Egorov <ego...@linux.com> --- I can reproduce it. It looks like the problem is in kcodecs. UnicodeGroupProber::HandleData has this code: if (4 >= aBuf[1] && aBuf[1] >= 0 && isprint(aBuf[0])) { where isprint is a macro: enum { // non-relevant CTYPE_PRINT = 1 << 6, // non-relevant }; #define ctype_test(c, t) ((ctype_data[(unsigned short)c] & t) != 0) #define isprint(c) ctype_test((c), CTYPE_PRINT) And sometimes aBuf contains negative values. So we got an out-of-bounds index for ctype_data array: c is negative in "(unsigned short)c". I don't know what to do with this, but I think it is a kcodecs bug. -- You are receiving this mail because: You are watching all bug changes.