Yo Hal!

On Thu, 09 Mar 2017 18:39:13 -0800
Hal Murray <hmur...@megapathdsl.net> wrote:

> > Everything still fits.  At least until 2038. 7FFFFFFFu is
> > 2147483647 which as a time_t is "Mon Jan 18 19:14:07 PST 2038".  
> 
> There are two issues.
>   Unix time stamps overflow 31 bits in 2038.
>   NTP time stamps overflow 32 bits in 2036.

Yeah, I see that now.  But as you pointed out, NTP time is already
modulo, so it only fails immediately after the rollover.

But that rollover is gonna be rough...

I added your note as a comment in include/ntp_fp.h

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpN7hu29dPRv.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to