buglwIP - A Lightweight TCP/IP stack - Bugs: bug #34337, There a NULL pointer in the...

 
 

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

bug #34337: There a NULL pointer in the sys_check_timeouts() function of src/core/timers.c.

Submitted by:  yrj <netyrj>
Submitted on:  Tue 20 Sep 2011 04:27:16 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: 1.4.0

Tue 20 Sep 2011 05:27:25 AM UTC, comment #1:

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Tue 20 Sep 2011 04:27:16 AM UTC, original submission:

The |tmptimeout| variable in line 372-373 may be NULL.

The code can be updated to

...
tmptimeout = next_timeout;
if (tmptimeout != NULL && tmptimeout->time <= diff) {
...

yrj <netyrj>

 

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 netyrj (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Sep 2011 05:27:25 AM UTCgoldsimonItem GroupNone=>Crash Error
      StatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
      Planned Release=>1.4.1

    Back to the top


    Powered by Savane 3.1-cleanup1