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

Initialize strm.avail_in in zip_data() #10

Closed
wants to merge 1 commit into from

Conversation

nigoroll
Copy link
Contributor

This looks like an oversight from c4622bf:

For zip_data(), the initialization was missed, while it exists for zip_deflate(). This could lead to an out-of-bounds access which, ideally, would trigger a segmentation violation, but could potentially add arbitrary data.

This looks like an oversight from c4622bf:

For zip_data(), the initialization was missed, while it exists
for zip_deflate(). This could lead to an out-of-bounds access which,
ideally, would trigger a segmentation violation, but could potentially
add arbitrary data.
@madler
Copy link
Owner

madler commented Dec 15, 2023

Fixed. Thanks.

@madler madler closed this Dec 15, 2023
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.

None yet

2 participants