mirror of
https://github.com/python/cpython.git
synced 2026-07-29 21:25:51 -04:00
gh-143241: Fix infinite loop in `zoneinfo._common.load_data` (GH-143243)
Correctly reject truncated TZif files in `ZoneInfo.from_file`.
---------
(cherry picked from commit 3ca1f2a370)
Co-authored-by: Fatih Çelik <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <[email protected]>