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

fix: Ensure a limited reader is used when decompressing payloads #265

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

codeboten
Copy link
Contributor

Which problem is this PR solving?

  • Highly compressed payloads could cause memory pressure because of unchecked sizes in the reader.

Short description of the changes

  • applies a LimitReader with a default of 20MiB

@codeboten codeboten requested a review from a team as a code owner June 5, 2024 20:21
@codeboten codeboten merged commit 2a2c0be into main Jun 5, 2024
4 checks passed
@codeboten codeboten deleted the use-limitreader branch June 5, 2024 20:24
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.

2 participants