[konsole] [Bug 479319] konsole crashes with segfault upon command execution

Kurt Hindenburg bugzilla_noreply at kde.org
Tue Jul 2 23:24:20 BST 2024


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

Kurt Hindenburg <khindenburg at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/-/commit/c248
                   |                            |5b48743ae97fb15c6a503f0cb59
                   |                            |8ad30e887
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Kurt Hindenburg <khindenburg at kde.org> ---
Git commit c2485b48743ae97fb15c6a503f0cb598ad30e887 by Kurt Hindenburg, on
behalf of Luis Javier Merino MorĂ¡n.
Committed on 02/07/2024 at 22:15.
Pushed by hindenburg into branch 'master'.

Avoid UB on 32 bit targets

Shifting an operand by a shift amount greater than or equal to the width
of that operand results in UB, which can happen when shifting an
unsigned long on a 32 bit target by an amount from 0 to 63.

This is probably the cause of the crash at the following bug:

M  +3    -3    src/terminalDisplay/TerminalDisplay.cpp

https://invent.kde.org/utilities/konsole/-/commit/c2485b48743ae97fb15c6a503f0cb598ad30e887

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


More information about the konsole-devel mailing list