mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 21:55:07 -05:00
Recent change in handling of the NTPv4 server negotiation record (commit754097944b) increased the length of the instance name buffer to make room for the trailing dot. This allowed a record with body truncated in the processing buffer to be accepted and caused an over-read of 1 byte in the memcpy() call saving the name to the instance buffer. Modify the client to accept only records that fit in the processing buffer. Fixes:754097944b("nts: handle negotiated server as FQDN")
12 KiB
12 KiB