[Boost-bugs] [Boost C++ Libraries] #13073: boost tokenizer_functions explicit char_separator() ctor does not initialize m_output_done

Subject: [Boost-bugs] [Boost C++ Libraries] #13073: boost tokenizer_functions explicit char_separator() ctor does not initialize m_output_done
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-14 13:35:50


#13073: boost tokenizer_functions explicit char_separator() ctor does not
initialize m_output_done
------------------------------+-----------------------
 Reporter: jim.king@… | Owner: jsiek
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: tokenizer
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------
 This was identified in a Coverity scan. I checked the development tip in
 GitHub
 (https://github.com/boostorg/tokenizer/blob/develop/include/boost/token_functions.hpp)
 and I did not see a fix for this issue.

 explicit
 char_separator()
     : m_use_ispunct(true),
       m_use_isspace(true),
     CID 25905 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)2.
 uninit_member: Non-static class member m_output_done is not initialized in
 this constructor nor in any functions that it calls.
       m_empty_tokens(drop_empty_tokens) { }

--
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13073>
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-06-14 13:42:18 UTC