Use an xz library instead of shelling out to xz for decompression#860
Merged
Conversation
Member
Author
|
/cc @mheon |
Member
|
Thanks! LGTM |
f975338 to
1c30064
Compare
When decompressing layers compressed with xz, use a library rather than shelling out to the xz CLI. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
d83ec18 to
f2e14b6
Compare
The Go race detector will kill the test if it tries to have more than 8192 goroutines active at once, so start 8,000 instead of 100,000. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Member
Author
|
/cc @haircommander |
Member
|
Addresses CVE-2021-20291 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When decompressing layers compressed with
xz, use a library (github.com/ulikunitz/xz, already used by the image library) rather than shelling out to thexzCLI.