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

Kurt V. Hindenburg kurt.hindenburg at gmail.com
Thu Jul 12 13:28:15 UTC 2012


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

--- Comment #4 from Kurt V. Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 5ae5bc5019ec67df0846b2b317c02535bce5870f by Kurt Hindenburg.
Committed on 12/07/2012 at 15:25.
Pushed by hindenburg into branch 'master'.

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.
This should prevent the crashes; not sure if there is a better way.

M  +7    -1    src/TerminalCharacterDecoder.cpp

http://commits.kde.org/konsole/5ae5bc5019ec67df0846b2b317c02535bce5870f

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



More information about the konsole-devel mailing list