]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: initialize network correction of transmitted packets
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 2 Nov 2023 11:41:55 +0000 (12:41 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 2 Nov 2023 11:53:00 +0000 (12:53 +0100)
commit51a621bc2bfa8f2c695c19c565799fb88ddf055b
tree07609e49baf33490eb9aa5d4ea3ec979ef9329ae
parent1488b31a382b5028f3fe9ccc9c339a243fb99026
ntp: initialize network correction of transmitted packets

Initialize the unused value of network correction parsed from
own transmitted packets to avoid a use-of-uninitialized-value error
in NIO_UnwrapMessage() reported by clang.

Fixes: 6372a9f93f59 ("ntp: save PTP correction from NTP-over-PTP messages")
ntp_io_linux.c