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
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.1.0p25 2.2.0b1 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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