[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Year 2038 problem in handling cookie date
From: |
Thorsten Glaser |
Subject: |
Re: [Lynx-dev] Year 2038 problem in handling cookie date |
Date: |
Wed, 31 Oct 2018 19:05:38 +0000 (UTC) |
address@hidden dixit:
>Lynx crashes when accessing the site with 32-bit system.
>I wrote an ad-hoc patch to prevent the crash.
There are more bugs, for example:
996 if ((long) Start < 0)
This will cause truncation, already on MirBSD/i386 and
Linux/x32, which are ILP32 and use 64-bit time_t.
Also, by now, most OpenBSD and NetBSD® platforms, I think.
bye,
//mirabilos
--
“It is inappropriate to require that a time represented as
seconds since the Epoch precisely represent the number of
seconds between the referenced time and the Epoch.”
-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2