[Boost-bugs] [Boost C++ Libraries] #13112: uninitialized pointer fields in asio epoll_reactor

Subject: [Boost-bugs] [Boost C++ Libraries] #13112: uninitialized pointer fields in asio epoll_reactor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-07-07 14:57:46


#13112: uninitialized pointer fields in asio epoll_reactor
------------------------------+----------------------------
 Reporter: ben@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------------
 https://github.com/boostorg/asio/blob/develop/include/boost/asio/detail/impl/epoll_reactor.ipp

 This was found by a Coverity scan. I can't see a fix for this in the
 pipeline at all on the latest version. Details from the Coverity scan are
 below:

 {{{

 627epoll_reactor::descriptor_state::descriptor_state()
 628  : operation(&epoll_reactor::descriptor_state::do_complete)
 629{

 5. uninit_member: Non-static class member next_ is not initialized in this
 constructor nor in any functions that it calls.

 7. uninit_member: Non-static class member prev_ is not initialized in this
 constructor nor in any functions that it calls.

 9. uninit_member: Non-static class member reactor_ is not initialized in
 this constructor nor in any functions that it calls.

 11. uninit_member: Non-static class member descriptor_ is not initialized
 in this constructor nor in any functions that it calls.

 13. uninit_member: Non-static class member registered_events_ is not
 initialized in this constructor nor in any functions that it calls.

 CID 256705: Uninitialized pointer field (UNINIT_CTOR)15. uninit_member:
 Non-static class member shutdown_ is not initialized in this constructor
 nor in any functions that it calls.
 630}

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13112>
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-07-07 15:01:49 UTC