Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Nov 3, 2024

Commits on Jul 18, 2024

  1. pythonGH-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.
    cmaloney committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1c1c5a3 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Update Lib/zipfile/__init__.py

    Co-authored-by: Daniel Hillier <[email protected]>
    cmaloney and danifus authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    08cdd79 View commit details
    Browse the repository at this point in the history
  2. Update Lib/zipfile/__init__.py

    Co-authored-by: Daniel Hillier <[email protected]>
    cmaloney and danifus authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    8961b0b View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Don't require reading an EOF

    The seek just before this _should_ result in this read hitting EOF here or getting less bytes.
    
    Co-authored-by: Daniel Hillier <[email protected]>
    cmaloney and danifus authored Jul 23, 2024
    Configuration menu
    Copy the full SHA
    6dc8a0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d6151e View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    7f78854 View commit details
    Browse the repository at this point in the history