Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12919: multi_index indexed with hashed_non_unique produces buffer overrun.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-21 08:41:15
#12919: multi_index indexed with hashed_non_unique produces buffer overrun.
----------------------------------------+-------------------------
Reporter: Alex Huszagh <ahuszagh@â¦> | Owner: joaquin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multi_index
Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords: multi_index
----------------------------------------+-------------------------
Comment (by joaquin):
Hi Alex,
Thank you for reporting the problem. I can't just accept your patch
because, even f it worked, it would be masking a more serious problem,
namely that erasing elements from a hashed index does not eventually lead
to an empty structure where `end_->prior()==end_` --this is a fundamental
property of the underyling data structure. So, I need to know more about
the context where this is happening. I understand the data you work with
is private, but could you at least show the hashing code for `std::string`
you're using? I suspect there might be a problem with that.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12919#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-03-21 08:44:15 UTC