buglwIP - A Lightweight TCP/IP stack - Bugs: bug #44583, Sequence number overrun...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44583: Sequence number overrun mishandling for out-of-sequence TCP packets

Submitted by:  Clint Sbisa <csbisa>
Submitted on:  Fri 20 Mar 2015 12:44:57 AM UTC  
 
Category: ContribSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Fri 20 Mar 2015 07:42:10 AM UTC, comment #1:

Fixed, thanks for reporting and thanks for the patch.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 20 Mar 2015 12:44:57 AM UTC, original submission:

Checks for receive window overruns aren't handling overflows properly in the case of out-of-sequence TCP packets. LWIP does not crash, but the TCP connection typically falls out of sync until a timeout resets the connection.

The fix is fairly simple-- the offending code was not using macros that are used everywhere else in the file. A patch that fixes this is attached.

The patch also includes a test case that was failing without the fix.

Clint Sbisa <csbisa>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by csbisa (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Mar 2015 07:42:10 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Fri 20 Mar 2015 12:44:57 AM UTCcsbisaAttached File-=>Added 0001-tcp-Fix-ooseq-processing-when-seqno-is-near-2-32.patch, #33408

    Back to the top


    Powered by Savane 3.1-cleanup1