mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 07:45:07 -05:00
If the system clock was stepped forward after chronyc sent a request and before it read the clock in order to calculate the receive timeout, select() could be called with a negative timeout, which resulted in an infinite loop waiting for select() to succeed. Fix the submit_request() function to not call select() with a negative timeout. Also, return immediately on any error of select().
89 KiB
89 KiB