Skip to content

processcore: Properly check if process exists before dereferencing

Arjen Hiemstra requested to merge work/ahiemstra/pdm_crash into master
  • 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.

BUG: 445700

Merge request reports