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

Kurt V. Hindenburg kurt.hindenburg at gmail.com
Fri Jul 20 03:03:29 UTC 2012


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

Kurt V. Hindenburg <kurt.hindenburg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/kons |http://commits.kde.org/kons
                   |ole/69b53c00ae53d6a066292d3 |ole/4ce0647eaae3cc1e4869552
                   |f1a96599a75eff618           |32e9dc52c43538233

--- Comment #8 from Kurt V. Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 4ce0647eaae3cc1e486955232e9dc52c43538233 by Kurt Hindenburg.
Committed on 20/07/2012 at 04:34.
Pushed by hindenburg into branch 'KDE/4.8'.

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    -6    src/TerminalCharacterDecoder.cpp

http://commits.kde.org/konsole/4ce0647eaae3cc1e486955232e9dc52c43538233

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



More information about the konsole-devel mailing list