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

Submitter:  Konstantin <tomcat_84>
Submitted:  Fri 30 Aug 2013 09:47:50 AM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Crash Error Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned 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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-10 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2013-08-30 tomcat_84 Carbon-Copy- Added tomcat_84

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code