buglwIP - A Lightweight TCP/IP stack - Bugs: bug #39898, tcp_fasttmr() possible lock due to...

 
 

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

bug #39898: tcp_fasttmr() possible lock due to infinte queue process loop

Submitted by:  Konstantin <tomcat_84>
Submitted on:  Fri 30 Aug 2013 09:47:50 AM UTC  
 
Category: TCPSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: 1.4.1

Fri 10 Jan 2014 08:24:37 PM UTC, comment #1:

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 30 Aug 2013 09:47:50 AM UTC, original submission:

what do we have

while(pcb != NULL) {
if (pcb->last_timer != tcp_timer_ctr) {
...
next = pcb->next;
...
pcb=next;
}
}
__

it works only when IF condition is true. It always hangs otherwise, unless two variables change somewhere else (which doesn't seem to happen, or to be planned either).

Suggest an addition betwen last two closing brackets:

...
}
else pcb=pcb->next;
}

Konstantin <tomcat_84>

 

No files currently attached

 

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 tomcat_84 (Submitted the item)
  • -unavailable- added by tomcat_84
  •  

    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 10 Jan 2014 08:24:37 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Fri 30 Aug 2013 09:47:50 AM UTCtomcat_84Carbon-Copy-=>Added tomcat_84

    Back to the top


    Powered by Savane 3.1-cleanup1