You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some servers with a BIOS date configured in 1921, the "ntp" iPXE command will succeed but the resulting system date is false. It looks this is due to an integer overflow starting here :
Hi,
On some servers with a BIOS date configured in 1921, the "ntp" iPXE command will succeed but the resulting system date is false. It looks this is due to an integer overflow starting here :
https://github.com/ipxe/ipxe/blob/master/src/net/udp/ntp.c#L116
When trying to boot an iPXE compiled with "DEBUG=ntp:1" on a server with a BIOS date in 1921, we get :
So, we end up with a negative offset instead of the expected value of 3153600000 seconds (100 years).
Feel free to ask if you need more details.
Yannick.
The text was updated successfully, but these errors were encountered: