Werk #17350: ps_section: Prevent ps crash on empty section

Component Checks & agents
Title ps_section: Prevent ps crash on empty section
Date May 5, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

With this change, ps section doesn't crash if the StringTable is empty. In this case, ps parser returns None to prevent any unnecessary crash if something fails in the agent.

To the list of all Werks