]> git.ipfire.org Git - thirdparty/glibc.git/commit
mktime: fix bug with Y2038 DST transition
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Nov 2018 21:59:33 +0000 (22:59 +0100)
committerAlbert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Thu, 15 Nov 2018 21:59:33 +0000 (22:59 +0100)
commitf6b3331bbae638d1bb50813fceb429d3b3dc0eb9
treedfa7285cb5874f6d95c57f1f0721d568bfd1e3c3
parentefbdddc381cfea5bfa9527e86fa3078257e5d91b
mktime: fix bug with Y2038 DST transition

[BZ#23789]
* time/mktime.c (ranged_convert): On 32-bit platforms, don’t
mishandle a DST transition that jumps over the Y2038 boundary.
No such DST transitions are known so this is only a theoretical
bug, but we might as well do things right.
ChangeLog
time/mktime.c