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

Kurt V. Hindenburg kurt.hindenburg at gmail.com
Fri Jul 20 02:45:42 UTC 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kons
                   |                            |ole/69b53c00ae53d6a066292d3
                   |                            |f1a96599a75eff618

--- Comment #7 from Kurt V. Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 69b53c00ae53d6a066292d3f1a96599a75eff618 by Kurt Hindenburg.
Committed on 20/07/2012 at 04:34.
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.
A better patch by Francesco Cecconi <francesco.cecconi at gmail.com>

M  +1    -6    src/TerminalCharacterDecoder.cpp

http://commits.kde.org/konsole/69b53c00ae53d6a066292d3f1a96599a75eff618

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



More information about the konsole-devel mailing list