Details
-
Bug
-
Resolution: Done
-
Major - P3
-
3.1.7
-
None
-
Fully Compatible
-
ALL
-
Platforms F (01/29/16)
Description
Checksum::gen computes a checksum for a given buffer by casting the content of the buffer into 64-bit numbers, 8 bytes at a time. The casts and subsequent operations yield incorrect results on a big-endian system. A simple fix would be to wrap the buffer in a ConstDataCursor and read the 64-bit numbers in little-endian order.
Attachments
Issue Links
- is related to
-
SERVER-22019 Checksum::gen should use signed char
-
- Closed
-
-
SERVER-15112 14 of last 15 bytes of journal section may be ignored in computing hash
-
- Closed
-