Re: [Boost-bugs] [Boost C++ Libraries] #9585: program_option::environment_iterator moves past terminating NULL pointer

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9585: program_option::environment_iterator moves past terminating NULL pointer
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-20 06:02:55


#9585: program_option::environment_iterator moves past terminating NULL pointer
-------------------------------+-----------------------------
  Reporter: abel@… | Owner: vladimir_prus
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.55.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+-----------------------------

Comment (by abel@…):

 No, I did not. I noticed it when working on a dirty hack to get
 program_options to work with c++0x using Windows' GetEnvironmentStrings
 where I consequently had to touch this routine.

 A segmentation fault might obviously occur when other codes doesn't just
 use the pointer semantics as get() is public, but that's probably not
 what's considered a practical issue. Thanks for the quick response tho!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9585#comment:2>
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:15 UTC