[policykit-kde-agent-1] [Bug 485407] polkit-kde-agent crashes with nullptr in PolicyKitListener::finishObtainPrivilege() when run in Hyprland
Nate Graham
bugzilla_noreply at kde.org
Wed May 15 14:04:58 BST 2024
https://bugs.kde.org/show_bug.cgi?id=485407
Nate Graham <nate at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
|ma/polkit-kde-agent-1/-/com |ma/polkit-kde-agent-1/-/com
|mit/de434550e7c41ac685e42b3 |mit/4d480a9f86421613242f306
|5b9d076a6948e7bc2 |4ef1b92c2c57530d5
Version Fixed In|6.0.5 |6.1
--- Comment #16 from Nate Graham <nate at kde.org> ---
Git commit 4d480a9f86421613242f3064ef1b92c2c57530d5 by Nate Graham.
Committed on 15/05/2024 at 13:03.
Pushed by ngraham into branch 'Plasma/6.0'.
Fix crash on hyprland
In policykitlistener.cpp, we check to see if m_session is null.
Regardless of whether it was or wasn't, we later call
m_session.data()->deleteLater(), which explodes if it was.
Only do this if it was not null.
FIXED-IN: 6.1
(cherry picked from commit de434550e7c41ac685e42b35b9d076a6948e7bc2)
M +1 -1 policykitlistener.cpp
https://invent.kde.org/plasma/polkit-kde-agent-1/-/commit/4d480a9f86421613242f3064ef1b92c2c57530d5
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list