-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics
-
Labels:
-
Fully Compatible
-
ALL
-
Service Arch 2022-09-05, Service Arch 2022-09-19
Improper use of negative value
The negative value may be unexpected by later operations, causing incorrect computations. Negative value can be returned from function is not being checked before being used improperly
/src/mongo/db/traffic_reader_main.cpp:105: NEGATIVE_RETURNS 115653 Function "open(inputFile.c_str(), 0)" returns a negative number.
/src/mongo/db/traffic_reader_main.cpp:105: NEGATIVE_RETURNS 115653 Assigning: "inputFd" = "open(inputFile.c_str(), 0)".