[Boost-bugs] [Boost C++ Libraries] #2963: Inspect tool fails when no errors are found

Subject: [Boost-bugs] [Boost C++ Libraries] #2963: Inspect tool fails when no errors are found
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-20 18:26:22


#2963: Inspect tool fails when no errors are found
--------------------------+-------------------------------------------------
 Reporter: jewillco | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: inspection script
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 The Boost inspection program crashes (on OS X, with a null pointer
 dereference) when run on a directory containing no issues. In particular,
 line 453 (the first line of the body of worst_offenders_count()) of
 inspect.cpp (in r52517) accesses msgs.begin(), which is invalid when msgs
 is empty, leading to a segmentation fault.

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