Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACE_Reactor *
- ACE_Event_Handler::reactor (void) const
- {
- ACE_TRACE ("ACE_Event_Handler::reactor");
- return this->reactor_;
- }
- template <class SVC_HANDLER, ACE_PEER_ACCEPTOR_1> int
- ACE_Oneshot_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::
- handle_input (ACE_HANDLE)
- {
- ...
- bool const reset_new_handle =
- this->reactor ()->uses_event_associations ();
- if (this->reactor ())
- ...
- }
- This suspicious code was found in ACE project by PVS-Studio static code analyzer.
- Warning message is:
- V595 The 'this->reactor()' pointer was utilized before it was verified against nullptr. Check lines: 1139, 1145. Gateway acceptor.cpp 1139
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement