mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-10 13:39:12 +00:00
[PR #686] [MERGED] Mitigation of problems #1166
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/686
Author: @Erior
Created: 7/28/2022
Status: ✅ Merged
Merged: 7/29/2022
Merged by: @adamhathcock
Base:
master← Head:477📝 Commits (3)
7c56df1Mitigation of problemsad633a9missing test file from error report5706732Naive implementation of searching of DataDescriptor, not compatible with big archives (>32bit), but handles test cases.📊 Changes
6 files changed (+91 additions, -7 deletions)
View changed files
📝
src/SharpCompress/Common/Zip/StreamingZipFilePart.cs(+29 -3)📝
src/SharpCompress/Readers/AbstractReader.cs(+1 -1)📝
src/SharpCompress/Utility.cs(+35 -0)📝
tests/SharpCompress.Test/Zip/ZipArchiveTests.cs(+9 -2)📝
tests/SharpCompress.Test/Zip/ZipReaderTests.cs(+17 -1)➕
tests/TestArchives/Archives/test_477.zip(+0 -0)📄 Description
Mitigations of the problems found, we still need to either make the Archive tell Reader about the CompressedSizes of the archive or make a search for DataDescriptor, or both since that would increase performace in general, no need to decompress if we know the compressed size, current code is already handling that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.