]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix subscript error with odd TZif file [BZ #28338]
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Sep 2021 05:49:45 +0000 (22:49 -0700)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 7 Oct 2021 14:09:16 +0000 (11:09 -0300)
commit645277434a42efc547d2cac8bfede4da10b4049f
treeed59ee9ea0c2f0cf3ba112325dfc1c059f741251
parentf2e06656d04a9fcb0603802a4f8ce7aa3a1f055e
Fix subscript error with odd TZif file [BZ #28338]

* time/tzfile.c (__tzfile_compute): Fix unlikely off-by-one bug
that accessed before start of an array when an oddball-but-valid
TZif file was queried with an unusual time_t value.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
time/tzfile.c