Werk #14702: ps: Fix crash if user or cgroup are empty

Component Checks & agents
Title ps: Fix crash if user or cgroup are empty
Date Nov 30, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Discovery previously crashed in case of a process with an empty user or cgroup.

To the list of all Werks