[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 124507] kdevelop crashes deleting lines in a 4258 line file
From: Andreas Kling <kling () impul ! se>
Date: 2006-06-23 10:39:38
Message-ID: 20060623103938.6638.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=124507
------- Additional Comments From kling impul se 2006-06-23 12:39 -------
SVN commit 554150 by kling:
When deleting blocks, make sure m_lastInSyncBlock doesn't point to a deleted area.
BUG: 127928
CCBUG: 124507
CCMAIL: cullmann kde org
M +4 -0 katebuffer.cpp
--- branches/KDE/3.5/kdelibs/kate/part/katebuffer.cpp #554149:554150
@ -807,6 +807,10 @
// cu block !
delete buf;
m_blocks.erase (m_blocks.begin()+index);
+
+ // make sure we don't keep a pointer to the deleted block
+ if( m_lastInSyncBlock >= index )
+ m_lastInSyncBlock = index - 1;
}
else
{
_______________________________________________
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