[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:02:27 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
| |ma/polkit-kde-agent-1/-/com
| |mit/de434550e7c41ac685e42b3
| |5b9d076a6948e7bc2
Version Fixed In| |6.1
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #15 from Nate Graham <nate at kde.org> ---
Git commit de434550e7c41ac685e42b35b9d076a6948e7bc2 by Nate Graham.
Committed on 14/05/2024 at 23:43.
Pushed by ngraham into branch 'master'.
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
M +1 -1 policykitlistener.cpp
https://invent.kde.org/plasma/polkit-kde-agent-1/-/commit/de434550e7c41ac685e42b35b9d076a6948e7bc2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list