[konsole] [Bug 470346] Out-of-bounds access in Screen::setSelectionEnd when selecting last line of scrolling text

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Jun 1 23:46:29 BST 2023


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

tcanabrava at kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/-/commit/2893
                   |                            |1090bcbcd577932f293c6e32cc5
                   |                            |935f2bda5

--- Comment #2 from tcanabrava at kde.org ---
Git commit 28931090bcbcd577932f293c6e32cc5935f2bda5 by Tomaz  Canabrava, on
behalf of Luis Javier Merino MorĂ¡n.
Committed on 01/06/2023 at 06:24.
Pushed by tcanabrava into branch 'master'.

Adjust selection point coords when scrollback shrinks

The selection point coordinates are relative to the start of the
scrollback, so when the scrollback shrinks, either because it is limited
to some amount of lines, or because it is cleared, we could end up with
stale coordinates which could cause a crash on a subsequent selection
extend operation.

M  +2    -0    src/Screen.cpp
M  +7    -0    src/terminalDisplay/TerminalDisplay.cpp
M  +1    -0    src/terminalDisplay/TerminalDisplay.h

https://invent.kde.org/utilities/konsole/-/commit/28931090bcbcd577932f293c6e32cc5935f2bda5

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list