This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Check uncompressed size before decompressing a zip file. Fixes 33058#38314
Merged
buyaa-n merged 12 commits intodotnet:masterfrom Jun 26, 2019
Merged
Check uncompressed size before decompressing a zip file. Fixes 33058#38314buyaa-n merged 12 commits intodotnet:masterfrom
buyaa-n merged 12 commits intodotnet:masterfrom
Conversation
ericstj
reviewed
Jun 6, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/InflaterManaged.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 6, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/InflaterManaged.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 6, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/InflaterManaged.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 6, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateZLib/Inflater.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 6, 2019
Author
ericstj
reviewed
Jun 13, 2019
src/System.IO.Compression/src/System/IO/Compression/ZipBlocks.cs
Outdated
Show resolved
Hide resolved
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/InflaterManaged.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 14, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateZLib/Inflater.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 14, 2019
Author
ericstj
reviewed
Jun 24, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/OutputWindow.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/tests/ZipArchive/zip_InvalidParametersAndStrangeFiles.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/tests/ZipArchive/zip_InvalidParametersAndStrangeFiles.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/tests/ZipArchive/zip_InvalidParametersAndStrangeFiles.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/tests/ZipArchive/zip_InvalidParametersAndStrangeFiles.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/tests/ZipArchive/zip_InvalidParametersAndStrangeFiles.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/tests/ZipArchive/zip_InvalidParametersAndStrangeFiles.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/InflaterManaged.cs
Show resolved
Hide resolved
ChadNedzlek
reviewed
Jun 24, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/InflaterManaged.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jun 24, 2019
src/System.IO.Compression/src/System/IO/Compression/DeflateManaged/InflaterManaged.cs
Outdated
Show resolved
Hide resolved
Author
|
@ericstj @bartonjs @ChadNedzlek comments addressed please re-review |
bartonjs
approved these changes
Jun 26, 2019
picenka21
pushed a commit
to picenka21/runtime
that referenced
this pull request
Feb 18, 2022
…otnet/corefx#38314) Account uncompressed size while decompressing a zip file. Fixes 33058 I am sure now the fix is good enough for merging, if anyone has more question/comment please let me know/comment Commit migrated from dotnet/corefx@cece0df
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes #33058
There is 2 things done in this PR to account uncompressed size for opening/reading zip file
InvalidDataException