Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: ed048c971c60b7e25fbf98faffc006602a957693
https://github.com/tribe29/checkmk/commit/ed048c971c60b7e25fbf98faffc006602…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
A .werks/14949
M livestatus/src/InputBuffer.cc
M livestatus/src/InputBuffer.h
M livestatus/src/StringUtils.cc
M livestatus/src/StringUtils.h
M livestatus/src/test/test_StringUtil.cc
Log Message:
-----------
14949 FIX Malformed UTF-8 data no longer result in loss of state file
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.
Change-Id: Iad7856369ee6e8f14c024e4daf59f0e897448a10