[Konsole-devel] [Bug 168434] editing regexp while searching the scrollback buffer causes crash

Kurt V.Hindenburg kurt.hindenburg at gmail.com
Tue Aug 12 05:31:21 UTC 2008


------- 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=168434         




------- Additional Comments From kurt.hindenburg gmail com  2008-08-12 07:31 -------
This code seems to have problems with \b which will cause _searchText.matchedLength() to be 0.

Robert, is there any reason you didn't just check for matchLength() == 0 and then set pos = -1 in place of the Q_ASSERT?

This prevents the crashing.



More information about the konsole-devel mailing list