#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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks