[Ns-bugs] [Bug 238] New: missing break statement

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Wed Jun 25 14:58:26 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=238

           Summary: missing break statement
           Product: ns-3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: internet-node
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: mathieu.lacage at sophia.inria.fr


there is obviously a missing break statement in TcpSocketImpl::Recv line 519
but I have never ever seen a testcase hitting that block of code which would
not exit the outer loop immediately so, there is never any bad behavior.

I would like to propose the attached patch to detect the bad behavior which
will hopefully allow us to obtain a testcase if there is one and, if there is
none, will allow us to document this issue.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list