Werk #8102: The Micro Core now safely detects corrupted state files
Component | The Checkmk Micro Core | ||
Title | The Micro Core now safely detects corrupted state files | ||
Date | Dec 2, 2014 | ||
Level | Trivial Change | ||
Class | Bug Fix | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
If due to a disk-full situation or other reasons the file var/check_mk/core/state was empty, corrupted or incomplete the CMC would crash with a segmentation fault in many cases. This has been fixed by savely checking the already existing end-of-file magic marker before processing the file.