[ET Trac] [Einstein Toolkit] #1521: Piraha smart_ptr can't handle self assignment
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Jan 16 08:26:18 CST 2014
#1521: Piraha smart_ptr can't handle self assignment
-----------------------+----------------------------------------------------
Reporter: eschnett | Owner: sbrandt
Type: defect | Status: assigned
Priority: major | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by eschnett):
This is not about parameter files, this is about C++ code. Writing "x=x"
when x is a smart_ptr may accidentally delete the object to which x
points, leading to segfaults.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1521#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list