]> git.ipfire.org Git - thirdparty/chrony.git/commit
nts: reset packet length after failed auth encryption
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 21 Sep 2020 13:29:37 +0000 (15:29 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 23 Sep 2020 13:10:43 +0000 (15:10 +0200)
commitd9a363606bef67d9790c2a1969380749b8c6c2e4
tree92569930e91b5fd85384fd71d2f144196ac201e2
parent59ad433b6bc07b4f15b7f1304052a423161385cb
nts: reset packet length after failed auth encryption

If encryption of the NTS authenticator field fails, don't leave
uninitialized data in the packet in case a bug causes the packet to be
sent.
nts_ntp_auth.c