-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
ALL
-
QO 2022-08-08
Unsafe assignment operator
This user-written assignment operator does not check for self-assignment. If an object of this type is assigned to itself use-after-free errors may occur if the class owns resources. Assignment operator does not check for self-assignment
/src/mongo/db/query/ce/utils.cpp:77: SELF_ASSIGN 122536 No protection against the object assigning to itself.
- depends on
-
SERVER-67497 Refactor the hist-ce prototype to separate estimation logic from histograms
- Closed
- is caused by
-
SERVER-66957 Histogram-based CE for SargableNodes based on the CE prototype
- Closed
-
SERVER-67497 Refactor the hist-ce prototype to separate estimation logic from histograms
- Closed