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

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.

To the list of all Werks