Unintended sign extension
The sign-extended value may be interpreted as a very large number. Value may be sign extended unintentionally
/src/mongo/db/storage/key_string.cpp:2553: SIGN_EXTENSION 120798 Suspicious implicit sign extension: "sizes[sizeByteId]" with type "uint8_t" (8 bits, unsigned) is promoted in "sizes[sizeByteId] << (numSegments - sizeByteId - 1UL) * 7UL" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "sizes[sizeByteId] << (numSegments - sizeByteId - 1UL) * 7UL" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1.