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: narke
Subject: Re: [lwip-devel] sys_check_timeouts() can access NULL pointer?
Date: Tue, 31 Jan 2012 22:46:27 +0800

On 31 January 2012 19:58, Simon Goldschmidt <address@hidden> wrote:
>
> 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
>

Thanks for the info.  BTW: does lwip has patch file for each closed/fixed bug?

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (address@hidden)



reply via email to

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