-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
An operation with non-constant operands that computes a result with constant value
Defect 49582 (STATIC_C)
Checker CONSTANT_EXPRESSION_RESULT (subcategory result_independent_of_operands)
File: /src/mongoc/mongoc-stream-gridfs.c
Function _mongoc_stream_gridfs_readv
/src/mongoc/mongoc-stream-gridfs.c, line: 114
"timeout_msec <= 2147483647" is always true regardless of the values of its operands. This occurs as the logical operand of "!".
BSON_ASSERT (timeout_msec <= INT_MAX);
- related to
-
CDRIVER-852 Document that timeout_msec is unused in GridFS read/write
- Closed