Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #14949: Malformed UTF-8 data no longer result in loss of state file

Component Core & setup
Title Malformed UTF-8 data no longer result in loss of state file
Date Mar 2, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0b1 Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p25 Checkmk Pro, Checkmk Ultimate MT

Previously, if for some reason a plugin sent a malformed UTF-8 string, it broke the integrity of state.pb and resulted in the loss of the state data. This behavior is explained by the fact that the Protobuf API allows to write incorrect UTF-8 strings, but does not allow to read them.

This issue has been resolved in this release.

To the list of all Werks