lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] sys_check_timeouts() can access NULL pointer?


From: Simon Goldschmidt
Subject: Re: [lwip-devel] sys_check_timeouts() can access NULL pointer?
Date: Tue, 31 Jan 2012 12:58:06 +0100

narke <address@hidden> wrote:
> tmptimeout each round in the loop will be assigned next_timeout which
> in turn could be NULL if it is the last timer in the list. So the
>   if (tmptimeout->time <= diff)
> statement will refer a NULL pointer.
> 
> The only situation I can imaged in which it works is that: every timer
> has to start another timer when it's handler get called.  Is my
> understanding right?

That one has been fixed in september already:

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

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

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