Skip to content

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