[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    [Bug 98743] 6-clicking in empty document crashes KWrite (segfault)
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2005-02-25 23:32:18
Message-ID: 20050225233218.23811.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=98743         
cullmann kde org changed:

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



------- Additional Comments From cullmann kde org  2005-02-26 00:32 -------
CVS commit by cullmann: 

BUG:98743
could somebody test and verify + backport?


  M +4 -0      katedocument.cpp   1.797


--- kdelibs/kate/part/katedocument.cpp  #1.796:1.797
 @ -3475,4 +3475,8  @ void KateDocument::selectWord( const Kat
 
   KateTextLine::Ptr textLine = m_buffer->plainLine(cursor.line());
+
+  if (!textLine)
+    return;
+
   len = textLine->length();
   start = end = cursor.col();
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic