]> git.ipfire.org Git - thirdparty/chrony.git/commit
socket: check length of received control messages
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 13 Jan 2021 12:36:13 +0000 (13:36 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 14 Jan 2021 17:17:48 +0000 (18:17 +0100)
commitfc8783a93340d38378bdf6702f8ad56e26d9171a
treeb01c153a78ec0ec36d444cab81c2a598cf6f55b1
parente7897eb9ccbccab6e1b94b63225044c039ba2fcd
socket: check length of received control messages

Make sure each processed control messages has the expected length.
Beside improved safety, this should prevent potential issues with broken
timestamps on systems that support both 64-bit and 32-bit time_t.
socket.c