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

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libksysguard/-/commit/56 |ma/libksysguard/-/commit/32
                   |0d8dad2671c9d8bbd877cd6d796 |bb10e38eeafed1c11288e3c416f
                   |516c9e5ae96                 |b586300a7a2

--- Comment #4 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 32bb10e38eeafed1c11288e3c416fb586300a7a2 by Arjen Hiemstra.
Committed on 11/06/2024 at 14:17.
Pushed by ahiemstra into branch 'Plasma/6.1'.

processcore: Properly check if process exists before dereferencing

Q_ASSERT will only trigger in debug builds. In release builds we can
therefore still dereference a potential null pointer, so do a proper
check instead since there are places where we pass a process' parent
without checking if that parent exists.


(cherry picked from commit 560d8dad2671c9d8bbd877cd6d796516c9e5ae96)

Co-authored-by: Arjen Hiemstra <ahiems...@heimr.nl>

M  +1    -2    processcore/process_data_model.cpp

https://invent.kde.org/plasma/libksysguard/-/commit/32bb10e38eeafed1c11288e3c416fb586300a7a2

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

Reply via email to