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

Port Decompression bomb security changes from v1 #418

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

nywilken
Copy link
Contributor

@nywilken nywilken commented Feb 13, 2023

Re-adding to v2 branch as it appears to have gotten stomped out with a rebase.

This change ports the helper function LimitedDecompressors(filesLimit, fileSizeLimit)
for creating the same suite of decompressors as Decompressors, but all configured
with the given filesLimit and fileSizeLimit that was introduced in
go-getter v1.

Changes ported from #413

v1: decompressors: add LimitedDecompressors helper
@nywilken nywilken changed the title Merge pull request #413 from hashicorp/limited-decompressors-helper Port Decompression bomb security changes from v1 Feb 13, 2023
@nywilken nywilken merged commit 5d2281b into v2 Feb 14, 2023
@nywilken nywilken deleted the add-limited-decompressor-twice branch February 14, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants