-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 8.0.0-rc0
-
Component/s: Internal Code
-
Storage Execution
-
Fully Compatible
-
ALL
-
v8.0
-
Execution Team 2024-04-29
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Out-of-bounds read
Incorrect values read from a different memory region will cause incorrect computations. Out-of-bounds read from a buffer
/src/mongo/db/storage/key_string.cpp:946: OVERRUN 140316 Function call "mongo::countLeadingZeros64(integerPart << 1)" may return 64.
/src/mongo/db/storage/key_string.cpp:946: OVERRUN 140316 Assigning: "fractionalBytes" = "mongo::countLeadingZeros64(integerPart << 1) / 8". The value of "fractionalBytes" is now 8.
/src/mongo/db/storage/key_string.cpp:953: OVERRUN 140316 Overrunning array "mongo::key_string::<unnamed>::kPow256" of 8 8-byte elements at element index 8 (byte offset 71) using index "fractionalBytes" (which evaluates to 8).
- is duplicated by
-
SERVER-108158 Coverity analysis defect 140918: Overflowed constant
-
- Closed
-
-
SERVER-109123 Coverity analysis defect 146093: Bad bit shift operation
-
- Closed
-
- related to
-
SERVER-108158 Coverity analysis defect 140918: Overflowed constant
-
- Closed
-