Is this reproducible for you? If you have experience with building from source, upstream has proposed the following patch. Otherwise, I could build a test package for you.

diff --git a/ntpd/nts_cookie.c b/ntpd/nts_cookie.c
index 166d0230f..a73955fb7 100644
--- a/ntpd/nts_cookie.c
+++ b/ntpd/nts_cookie.c
@@ -382,6 +382,9 @@ bool nts_unpack_cookie(uint8_t cookie, int cookielen,

        if (NULL == cookie_ctx)
                return false;   /* We aren't initialized yet. */
+
+       if (0 == nts_nKeys)
+               return false;   /* No cookies.  We are not an NTS server. */

        /* We may get garbage from the net */
        if (cookielen > NTS_MAX_COOKIELEN)
                return false;
--
Richard

Reply via email to