-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 3.1.7
-
Component/s: Portability
-
None
-
Fully Compatible
-
ALL
-
Platforms F (01/29/16)
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.
- 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
-