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

Component Checks & agents
Title Windows fileinfo: wrong size for files exceeding 4 GB
Date Aug 7, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

To the list of all Werks