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

Zipbomb check failing test #6

Open
robcxyz opened this issue Feb 8, 2023 · 0 comments
Open

Zipbomb check failing test #6

robcxyz opened this issue Feb 8, 2023 · 0 comments

Comments

@robcxyz
Copy link
Contributor

robcxyz commented Feb 8, 2023

This line in zip.py is failing the test ``

size = sum(e.file_size for e in zip_ref.infolist())

It isn't even used as we're doing a bitwise comparison beforehand.

Noting this as A, it is weird this is failing the test and B, need to be sure we are impervious to zip bombs that could crash the system.

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

No branches or pull requests

1 participant