Werk #5922: Windows agent: Many WMI queries could lead to integer overflow

Component Checks & agents
Title Windows agent: Many WMI queries could lead to integer overflow
Date Apr 20, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Integer values returned by a number of WMI queries were handled incorrectly, squeezing 64 bit integers into 32 bit representation. This lead to sporadical erroneous results for a number of agent sections / checks. Potentially affected were at least the checks wmi_cpuload and ps, but basically any checks using information provided by WMI. The symptoms of this may have been varying across different checks.

To the list of all Werks