mirror of
https://github.com/python/cpython.git
synced 2026-05-08 13:40:46 -04:00
750c3efe82
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 <fcelik.ft@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>