-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
Security 2022-05-02
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Macro compares unsigned to 0
An unsigned value can never be negative, so this test will always evaluate the same way. An unsigned value can never be less than 0
/src/mongo/db/fle_crud.cpp:1159: NO_EFFECT 122072 This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "docCount >= 0UL".
- related to
-
SERVER-65207 Coverity analysis defect 122015: Argument cannot be negative
-
- Closed
-