Subject: [Boost-bugs] [Boost C++ Libraries] #12872: icl calls set::insert with invalid iterator hint
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-26 08:18:28
#12872: icl calls set::insert with invalid iterator hint
----------------------------------------+---------------------
Reporter: David Lacey <dave.lacey@â¦> | Owner: jofaber
Type: Bugs | Status: new
Milestone: To Be Determined | Component: ICL
Version: Boost 1.63.0 | Severity: Problem
Keywords: |
----------------------------------------+---------------------
When using split_interval_set<T> the code in the add_segment function in
interval_base_set.hpp tries to get the prior of an iterator that may be
the first iterator of the underlying set container. This is then used as
an insertion hint which causes a segfault in some standard container
libraries (for example, the standard library on macOS).
All other parts of the file use cyclic_prior for this purpose.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12872> 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-26 08:21:46 UTC