lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #34337] There a NULL pointer in the sys_check_timeouts


From: yrj
Subject: [lwip-devel] [bug #34337] There a NULL pointer in the sys_check_timeouts() function of src/core/timers.c.
Date: Tue, 20 Sep 2011 04:27:17 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

URL:
  <http://savannah.nongnu.org/bugs/?34337>

                 Summary: There a NULL pointer in the sys_check_timeouts()
function of src/core/timers.c.
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: netyrj
            Submitted on: Tue 20 Sep 2011 04:27:16 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.4.0

    _______________________________________________________

Details:

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) {
...




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34337>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]