Re: [Boost-bugs] [Boost C++ Libraries] #6701: integer overflows in ordered_malloc()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6701: integer overflows in ordered_malloc()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-04 20:35:30


#6701: integer overflows in ordered_malloc()
------------------------------------------+---------------------------------
  Reporter: Xi Wang <xi.wang@…> | Owner: edupuis
      Type: Patches | Status: closed
 Milestone: To Be Determined | Component: pool
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
------------------------------------------+---------------------------------
Changes (by edupuis):

  * status: assigned => closed
  * resolution: => fixed

Comment:

 (In [78326]) Clamped value of parameters 'next_size' and 'max_size' (which
 controls the number of memory chunks to allocate) such that when computing
 the number of bytes that must be allocated, this number of bytes never
 overflows a 'size_type'. This fixes #6701, in a different manner than the
 submitted patch.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6701#comment:3>
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:09 UTC