]> git.ipfire.org Git - thirdparty/chrony.git/commit
nts: check for negative length in NNA_DecryptAuthEF()
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 9 Jul 2020 11:13:13 +0000 (13:13 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 9 Jul 2020 12:47:33 +0000 (14:47 +0200)
commitdb54bfc0c154f78e52601dd94d3803358c1413d1
tree278f53948e195c9725480034ea1d29155460ba41
parent72ee80debe4b66c591b49c327f5bf44ea0e2c532
nts: check for negative length in NNA_DecryptAuthEF()

As other functions that accept a signed length, make sure it is sane in
NNA_DecryptAuthEF() too.
nts_ntp_auth.c
test/unit/nts_ntp_auth.c