Re: [Boost-bugs] [Boost C++ Libraries] #8345: 0 bytes after a block of size 8 alloc'd

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8345: 0 bytes after a block of size 8 alloc'd
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-27 16:48:19


#8345: 0 bytes after a block of size 8 alloc'd
----------------------------------+-----------------------------------------
  Reporter: rjgebis@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords: filesystem has_extension invalid read
----------------------------------+-----------------------------------------

Comment (by rjgebis@…):

 there is missing call before .has_extansion() in first post

 storePath = storePath.make_preferred();

 if( storePath.has_extension() )
       THROW_APP_EXCEPTION("Invalid Store Path: " + storePath.string());

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8345#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-02-16 18:50:12 UTC