diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2018-11-15 22:59:33 +0100 |
|---|---|---|
| committer | Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr> | 2018-11-15 22:59:33 +0100 |
| commit | f6b3331bbae638d1bb50813fceb429d3b3dc0eb9 (patch) | |
| tree | dfa7285cb5874f6d95c57f1f0721d568bfd1e3c3 /ChangeLog | |
| parent | efbdddc381cfea5bfa9527e86fa3078257e5d91b (diff) | |
| download | glibc-f6b3331bbae638d1bb50813fceb429d3b3dc0eb9.tar.xz glibc-f6b3331bbae638d1bb50813fceb429d3b3dc0eb9.zip | |
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.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2018-11-15 Paul Eggert <eggert@cs.ucla.edu> + 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. + mktime: make more room for overflow [BZ#23789] * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯. |
