mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 18:42:21 +00:00
The basic menu set a single timer for the whole timeout, and converting a timeout of more than about 1.8e12 seconds into 100ns timer units panics. The timeout can come from --menu-timeout or from LoaderConfigTimeout, which persists, so the panic would repeat on every boot. Limit a single timer to u32::MAX seconds.