Werk #8102: The Micro Core now safely detects corrupted state files
Komponente | The Checkmk Micro Core |
Titel | The Micro Core now safely detects corrupted state files |
Datum | 02.12.2014 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk-Version | 1.2.6b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.