Werk #6194: Windows fileinfo: wrong size for files exceeding 4 GB

Komponente Checks & agents
Titel Windows fileinfo: wrong size for files exceeding 4 GB
Datum 07.08.2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.5.0p1 1.6.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The sizes of files exceeding 4 GB were displayed wrong as FILE_SIZE % 4 GB instead of the correct size. The bug was due to a faulty implementation of C++ std::filesystem::file_size on Windows. The workaround uses 'old' WinAPI for obtaining the correct file size.

Zur Liste aller Werks