[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] possible bug in sys_timeout()
From: |
Jani Monoses |
Subject: |
Re: [lwip-users] possible bug in sys_timeout() |
Date: |
Mon, 16 Feb 2004 15:52:41 +0200 |
> To exit the for-loop at line 32, the if statement at line 34 must
> evaluate to true. When the IF statement is true then "t->next ==
> NULL" or "t->next->time > timeout->time" is true. BUT if "t->next ==
> NULL" then I should crash at line 40.
> 39: timeout->next = t->next;
> 40: t->next = timeout;
it does not dereference t->next so it shouldn't crash.
only if t was NULL