-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
Execution Team 2021-08-23, Execution Team 2021-09-06
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Bad bit shift operation
The operation may have an undefined behavior or yield an unexpected result. A bit shift operation has a shift amount which is too large or has a negative value.
/src/mongo/bson/util/simple8b.cpp:422: BAD_SHIFT 120377 Checking "trailingZerosCount == 124" implies that "trailingZerosCount" is 124 on the true branch.
/src/mongo/bson/util/simple8b.cpp:423: BAD_SHIFT 120377 In expression "value >> trailingZerosCount", right shifting by more than 63 bits has undefined behavior. The shift amount, "trailingZerosCount", is 124.