Boost C++ Libraries: Ticket #9127: Unitialized reference in constructor of graph::distributed::named_graph::lazy_add_vertex https://svn.boost.org/trac10/ticket/9127 <p> The copy constructor of graph::distributed::named_graph::lazy_add_vertex currently initializes the graph reference to itself, rather than to the graph reference of the instance from which it is copying. Subsequent accesses of this reference would produce undefined behavior, although a failing case is difficult to construct due to copy elision. </p> <p> (Semantically the copy constructor should probably be deleted and replaced by a move constructor when this is supported, but this patch does not include that.) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9127 Trac 1.4.3 Chris Bowen <lost.era@…> Wed, 18 Sep 2013 08:47:09 GMT attachment set https://svn.boost.org/trac10/ticket/9127 https://svn.boost.org/trac10/ticket/9127 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">lazy_add_vertex.patch</span> </li> </ul> Ticket Jeremiah Willcock Tue, 29 Oct 2013 16:48:06 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9127#comment:1 https://svn.boost.org/trac10/ticket/9127#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/86515" title="Applied patch from #9127 to fix lazy_add_vertex; fixes #9127">[86515]</a>) Applied patch from <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9127" title="#9127: Patches: Unitialized reference in constructor of ... (closed: fixed)">#9127</a> to fix lazy_add_vertex; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9127" title="#9127: Patches: Unitialized reference in constructor of ... (closed: fixed)">#9127</a> </p> Ticket