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

Komponente Core & setup
Titel Malformed UTF-8 data no longer result in loss of state file
Datum 02.03.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p25 Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

Zur Liste aller Werks