[Konsole-devel] [Bug 303390] Konsole crashes when selecting invalid unicode character.

Jekyll Wu adaptee at gmail.com
Fri Jul 20 03:22:50 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=303390

--- Comment #9 from Jekyll Wu <adaptee at gmail.com> ---
Git commit 6a13493a0b14956b5ef332653f71551016756d6e by Jekyll Wu.
Committed on 20/07/2012 at 04:56.
Pushed by jekyllwu into branch 'KDE/4.9'.

prevent crashing when selecting invalid unicode character.

Konsole goes into an infinite loop and will eventually crash due to
memory.  On an invalid unicode char the width is 0 so the for loop never
exits.
A better patch by Francesco Cecconi <francesco.cecconi at gmail.com>
(cherry picked from commit 69b53c00ae53d6a066292d3f1a96599a75eff618)

M  +1    -1    src/TerminalCharacterDecoder.cpp

http://commits.kde.org/konsole/6a13493a0b14956b5ef332653f71551016756d6e

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list