Boost logo

Boost Users :

Subject: [Boost-users] Intrusive: Checking for undefined behaviour
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2014-07-14 23:33:41


I was reading here about some of the sanitizers

http://cplusplusmusings.wordpress.com/

and decided to try it out the undefined behavior
sanitizer on some code. One thing that came
out was related to the Intrusive library.

/home/brian/boost_1_55_0/boost/intrusive/detail/tree_node.hpp:164:44:
runtime error: member access within null pointer of type 'const
boost::intrusive::bhtraits<myString,
boost::intrusive::rbtree_node_traits<void *, false>, 2,
boost::intrusive::default_tag, 3>'

I have a couple of lines that may be related to:

struct myString :
set_base_hook<::boost::intrusive::link_mode<::boost::intrusive::auto_unlink>
>

and

::boost::intrusive::set<myString, constant_time_size<false> > files;

Can someone tell me how serious this is?
Thank you.

-- 
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net