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

Dmitry Kazakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/afff1cf
                   |                            |7c09f8ed14ddeebd629030122d0
                   |                            |4cbf9e

--- Comment #2 from Dmitry Kazakov <[email protected]> ---
Git commit afff1cf7c09f8ed14ddeebd629030122d04cbf9e by Dmitry Kazakov, on
behalf of Agata Cacko.
Committed on 15/06/2026 at 13:42.
Pushed by dkazakov into branch 'master'.

Fix crash on null event pointer in Abstract Input Action

The check in kis_abstract_input_action.cpp is for sure valid
because it happens within
KisShortcutMatcher::tryRunSingleActionShortcutImpl,
and it has a warning that the event can be null.
This commit also includes some more sanity checks that
might be upgraded into KIS_SAFE_ASSERT if needed.

M  +4    -0    libs/ui/input/kis_abstract_input_action.cpp
M  +7    -0    libs/ui/input/kis_pan_action.cpp
M  +4    -0    libs/ui/input/kis_rotate_canvas_action.cpp
M  +3    -0    libs/ui/input/kis_zoom_action.cpp

https://invent.kde.org/graphics/krita/-/commit/afff1cf7c09f8ed14ddeebd629030122d04cbf9e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to