[Konversation-devel] [Bug 203583] segfault when using encoding ucs2/utf16

Travis McHenry wordsizzle at gmail.com
Wed Aug 12 22:36:52 CEST 2009


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


Travis McHenry <wordsizzle at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Travis McHenry <wordsizzle gmail com>  2009-08-12 22:36:50 ---
SVN commit 1010563 by tjmchenry:

Use isChecked in channellistpanel instead of checkedState() *facepalm*

Remove ucs2 because it's a duplicate of UTF-16

Because utf-16 is already removed, during the shortname->codec conversion
no codec is found for ucs2, resulting in a null codec, and a crash.

I tried to protect the pointer so this doesn't happen in the future..lemme know
if i embarassed myself
BUG:203583

 M  +3 -3      channellistpanel.cpp  
 M  +2 -0      irccharsets.cpp  
 M  +7 -3      outputfilter.cpp  
 M  +9 -3      server.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1010563

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list