[Bug 120205] crash while using VPL editor in quanta 3.5

Leo Savernik l.savernik at aon.at
Fri May 19 16:22:26 UTC 2006


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=120205         
l.savernik aon at changed:

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



------- Additional Comments From l.savernik aon at  2006-05-19 18:22 -------
SVN commit 542562 by savernik:

Added missing sanity check which caused crashes in caret mode on pgup/pgdn
when there was no valid caret.

QuantaDevs, please test.

CCMAIL: amantia kde org
BUG: 120205


 M  +1 -0      khtmlview.cpp  


--- branches/KDE/3.5/kdelibs/khtml/khtmlview.cpp #542561:542562
 @ -4381,6 +4381,7  @
 void KHTMLView::moveCaretByPage(bool next)
 {
   Node &caretNodeRef = m_part->d->caretNode();
+  if (caretNodeRef.isNull()) return;
 
   NodeImpl *caretNode = caretNodeRef.handle();
 //  kdDebug(6200) << ": caretNode=" << caretNode << endl;



More information about the pkg-kde-bugs-fwd mailing list