[Boost-bugs] [Boost C++ Libraries] #8521: [Coverity] Assert with side effect in interprocess/mem_algo/rbtree_best_fit.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #8521: [Coverity] Assert with side effect in interprocess/mem_algo/rbtree_best_fit.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-30 04:36:20


#8521: [Coverity] Assert with side effect in
interprocess/mem_algo/rbtree_best_fit.hpp
----------------------------------------+-----------------------------------
 Reporter: Dan Kegel <dank@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
----------------------------------------+-----------------------------------
 The commit

 r42878 | igaztanaga | 2008-01-20 03:54:47 -0800 (Sun, 20 Jan 2008) | 5
 lines

 Updated Interprocess and Intrusive:

 added the line

 assert(received_size = received_size2);

 which Coverity flags as suspicious for obvious reasons.

 The line is still present as line 851,
             BOOST_ASSERT(received_size = received_size2);
 in current trunk.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8521>
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:50:13 UTC