Re: [Boost-bugs] [Boost C++ Libraries] #12926: UBSAN complains about "left shift of negative value -4" from boost::icl::interval_bounds::reverse_right()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12926: UBSAN complains about "left shift of negative value -4" from boost::icl::interval_bounds::reverse_right()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-08 17:00:01


#12926: UBSAN complains about "left shift of negative value -4" from
boost::icl::interval_bounds::reverse_right()
-------------------------------+---------------------
  Reporter: tgrabiec@… | Owner: jofaber
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: ICL
   Version: Boost 1.62.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Changes (by dnanar@…):

 * cc: dnanar@… (added)
 * version: Boost 1.60.0 => Boost 1.62.0

Comment:

 Same problem here, different use case:

 {{{
 interval_set<uint32_t> a;
 a.insert({50,4294967295});
 a.insert({25,4294967295});
 }}}

 causes this. Debian stock libboost package (Version: 1.62.0.1). The exact
 error in my case is:

 {{{
 /usr/include/boost/icl/interval_bounds.hpp:45:74: runtime error: left
 shift of negative value -3
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12926#comment:1>
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-04-08 17:02:53 UTC