[Top][All Lists]

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

[lwip-devel] [bug #57481] Lease timeout timers overflow

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #57481] Lease timeout timers overflow
Date: Fri, 3 Jan 2020 03:31:45 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Update of bug #57481 (project lwip):

                  Status:                    None => Invalid                
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:

I think your analysis is wrong: those timeout values are in
DHCP_COARSE_TIMER_SECS, which is one minute, so you have to divide your
overflow calculation by 60. So the maximum value for those timers will be ~45

Also, the value is not just assigned. It is checked for overflow and limited
to 0xffff instead of overflowing.

In the old days where people actually cared for every byte, we decided that 45
days should be more than enough and it should be ok to trim here.


Reply to this item at:


  Message sent via Savannah

reply via email to

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