Menu

#10 stopping acceptor/initiator when no session created

pending-fixed
nobody
None
5
2012-02-28
2010-06-16
tmm853
No

When calling stop() on an acceptor/initiator which hasn't yet created and enabled a session, in Acceptor/Initiator::stop(),

Session* pSession = Session::lookupSession(*i);

returns a zero pointer which causes a crash on next line. The crash can be prevented by checking for zero pointer.

Discussion

  • tmm853

    tmm853 - 2010-06-16

    Acceptor.cpp, Initiator.cpp diff

     
  • Oren Miller

    Oren Miller - 2012-02-28
    • status: open --> pending-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.