buglwIP - A Lightweight TCP/IP stack - Bugs: bug #49778, sntp_stop does not cancel all...

 
 

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

bug #49778: sntp_stop does not cancel all timers

Submitted by:  Ari Suutari <arizuu>
Submitted on:  Tue 06 Dec 2016 04:47:35 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: 2.0.0

Tue 06 Dec 2016 07:29:59 PM UTC, comment #1:

Thank you for the fix!

Dirk Ziegelmeier <dziegel>
Project Member
Tue 06 Dec 2016 04:47:35 PM UTC, original submission:

Calling sntp_stop doesn't cancel sntp_try_next_server timeout.
This makes system leak timers, causing it to eventually fail with assert:

Assertion "sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty" failed at line 212 in lwip/src/core/timeouts.c

Patch attached.

Ari Suutari <arizuu>

 

Attached Files
file #39161:  sntp.patch added by arizuu (350B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dziegel (Posted a comment)
  • -unavailable- added by arizuu (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 06 Dec 2016 07:29:59 PM UTCdziegelStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 06 Dec 2016 04:47:35 PM UTCarizuuAttached File-=>Added sntp.patch, #39161

    Back to the top


    Powered by Savane 3.1-cleanup1