-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Assertion contains an operation with a side effect
Defect 76624 (STATIC_C)
Checker ASSERT_SIDE_EFFECT (subcategory none)
File: /src/mongoc/mongoc-gridfs-file.c
Function _mongoc_gridfs_file_extend
/src/mongoc/mongoc-gridfs-file.c, line: 601
Assignment "file->length = target_length" has a side effect. This code will work differently in a non-debug build.
BSON_ASSERT (file->length = target_length);
- is related to
-
CDRIVER-1903 Bugs in _mongoc_gridfs_file_extend
- Closed