mirror of
https://github.com/python/cpython.git
synced 2026-01-05 06:52:26 +00:00
gh-113977, gh-120754: Remove unbounded reads from zipfile (GH-122101)
GH-113977, GH-120754: Remove unbounded reads from zipfile
Read without a size may read an unbounded amount of data + allocate
unbounded size buffers. Move to capped size reads to prevent potential
issues.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| _path | ||
| __init__.py | ||
| __main__.py | ||