-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
Security 2022-04-18
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Argument cannot be negative
The negative argument will be interpreted as a very large unsigned value. Negative value used as argument to a function expecting a positive value (for example, size of buffer or allocation)
/src/mongo/crypto/fle_crypto.cpp:473: NEGATIVE_RETURNS 122015 Assigning: "rho" = "reader->getDocumentCount()".
/src/mongo/crypto/fle_crypto.cpp:505: NEGATIVE_RETURNS 122015 "rho" is passed to a parameter that cannot be negative.
- is related to
-
SERVER-65476 Coverity analysis defect 122072: Macro compares unsigned to 0
-
- Closed
-