Skip to content

gh-113977, gh-120754: Remove unbounded reads from zipfile#122101

Merged
gpshead merged 6 commits intopython:mainfrom
cmaloney:cmaloney/zipfile_tweaks
Nov 3, 2024
Merged

gh-113977, gh-120754: Remove unbounded reads from zipfile#122101
gpshead merged 6 commits intopython:mainfrom
cmaloney:cmaloney/zipfile_tweaks

Conversation

@cmaloney
Copy link
Contributor

@cmaloney cmaloney commented Jul 21, 2024

Read without a size may read an unbounded amount of data + allocate unbounded size buffers. Move to capped size reads to prevent potential issues.

This is a followup #121593 (comment). I don't think this needs a separate news entry.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants