SIGN IN SIGN UP

[3.12] gh-113977, gh-120754: Remove unbounded reads from zipfile (GH-122101) (#126347)

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 556dc9b8a78bad296513221f3f414a3f8fd0ae70)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Daniel Hillier <daniel.hillier@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
M
Miss Islington (bot) committed
6e3e91fa76bd330b13eb65745911b3ef87190a1f
Parent: 4afa129
Committed by GitHub <noreply@github.com> on 11/3/2024, 5:48:19 AM