Werk #4689: Fixed buffer overflow when importing cmcdump data

KomponenteCore & Setup
TitelFixed buffer overflow when importing cmcdump data
Datum2017-05-22 15:37:04
Checkmk EditionCheckmk Enterprise Edition (CEE)
Checkmk Version1.4.0b8,1.5.0i1,1.2.8p23
LevelProminent Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

When importing data from cmcdump into the Check_MK Micro Core, a buffer for the long plugin output was too small, leading to a buffer overflow with unpredictable consequences. The affected COMMANDs on the Livestatus interface were UPDATE_SHADOW_HOST_STATE and UPDATE_SHADOW_SERVICE_STATE. This has been fixed.