-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
ALL
-
Dev Tools 2019-04-08
Assignment operator does not check for self-assignment
Defect 112182 (STATIC_C)
Checker SELF_ASSIGN (subcategory none)
File: /src/mongo/base/data_builder.h
Function mongo::DataBuilder::BufDeleter::operator =(mongo::DataBuilder::BufDeleter&&)
/src/mongo/base/data_builder.h, line: 66
No protection against the object assigning to itself.
_capacity = other._capacity;
- is caused by
-
SERVER-36243 Take advantage of c++14 sized delete facilities in tc_malloc
- Closed
- is related to
-
SERVER-40197 Reapply work for sized delete
- Closed