We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Checkmk 1.6 has arrived! Learn more about it here!

Werk #6869: Fixed all crashes in Windows Agent caused by UTF-16 to UTF-8 conversion

ComponentChecks & Agents
TitleFixed all crashes in Windows Agent caused by UTF-16 to UTF-8 conversion
Date2019-02-11 13:19:22
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b1,1.5.0p12
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

Some Windows checks may produce invalid UTF-16 symbols or symbols which are difficult to convert into UTF-8 using standard library. As a result the Agent may crash with exception 'range_error' during 'to_bytes' call.

Now in such cases the Agent uses native Win32 API call avoiding the crash. Provided output from above mentioned Win32 API call conforms to the UTF-8 standard.