-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Fully Compatible
-
ALL
-
Security 2019-03-25
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Memory is deallocated more than once
Defect 112101 (STATIC_C)
Checker USE_AFTER_FREE (subcategory double_free)
File: /src/mongo/db/ftdc/block_compressor.cpp
Function mongo::BlockCompressor::compress(mongo::ConstDataRange)
/src/mongo/db/ftdc/block_compressor.cpp, line: 67
"deflateEnd" frees "stream.state". [Note: The source code implementation of the function has been overridden by a builtin model.]
(void)deflateEnd(&stream);
/src/mongo/db/ftdc/block_compressor.cpp, line: 74
Calling "deflateEnd" frees pointer "stream.state" which has already been freed. [Note: The source code implementation of the function has been overridden by a builtin model.]
err = deflateEnd(&stream);