[Boost-bugs] [Boost C++ Libraries] #1184: property_tree assignment (operator) bug

Subject: [Boost-bugs] [Boost C++ Libraries] #1184: property_tree assignment (operator) bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-15 10:23:57


#1184: property_tree assignment (operator) bug
--------------------------------------+-------------------------------------
 Reporter: michael.walter_at_[hidden] | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version:
 Severity: Problem | Keywords:
--------------------------------------+-------------------------------------
 Using boost 1.34.1 and the property_tree from boost-sandbox (CVS!) the
 following code segfaults:

 {{{
 #include <boost/property_tree/ptree.hpp>
 using namespace boost::property_tree;

 int main()
 {
   ptree pt;
   pt.put("foo.bar", "baz");
   pt=pt.get_child("foo");
 }
 }}}

 (that is, when you assign a ptree's child to itself)

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1184>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC