[PR #596] [MERGED] Conditionally parse Zip64 extra field based on specification #1118

Closed
opened 2026-01-29 22:19:04 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/596
Author: @DannyBoyk
Created: 4/26/2021
Status: Merged
Merged: 6/4/2021
Merged by: @adamhathcock

Base: masterHead: issue_595_conditionally_read_zip64_extra


📝 Commits (1)

  • fdc33e9 Conditionally parse Zip64 extra field based on specification

📊 Changes

6 files changed (+69 additions, -19 deletions)

View changed files

📝 src/SharpCompress/Common/Zip/Headers/DirectoryEntryHeader.cs (+2 -0)
📝 src/SharpCompress/Common/Zip/Headers/LocalEntryHeader.cs (+2 -0)
📝 src/SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs (+46 -18)
📝 src/SharpCompress/Common/Zip/Headers/ZipFileEntry.cs (+1 -1)
📝 tests/SharpCompress.Test/Zip/ZipArchiveTests.cs (+18 -0)
tests/TestArchives/Archives/Zip.zip64.compressedonly.zip (+0 -0)

📄 Description

The Zip64 extra field should look for values based on the corresponding
values in the local entry header.

Fixes adamhathcock/sharpcompress#595


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/596 **Author:** [@DannyBoyk](https://github.com/DannyBoyk) **Created:** 4/26/2021 **Status:** ✅ Merged **Merged:** 6/4/2021 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `issue_595_conditionally_read_zip64_extra` --- ### 📝 Commits (1) - [`fdc33e9`](https://github.com/adamhathcock/sharpcompress/commit/fdc33e91bd95f47327a69969c76ff9a5112be7e3) Conditionally parse Zip64 extra field based on specification ### 📊 Changes **6 files changed** (+69 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Common/Zip/Headers/DirectoryEntryHeader.cs` (+2 -0) 📝 `src/SharpCompress/Common/Zip/Headers/LocalEntryHeader.cs` (+2 -0) 📝 `src/SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs` (+46 -18) 📝 `src/SharpCompress/Common/Zip/Headers/ZipFileEntry.cs` (+1 -1) 📝 `tests/SharpCompress.Test/Zip/ZipArchiveTests.cs` (+18 -0) ➕ `tests/TestArchives/Archives/Zip.zip64.compressedonly.zip` (+0 -0) </details> ### 📄 Description The Zip64 extra field should look for values based on the corresponding values in the local entry header. Fixes adamhathcock/sharpcompress#595 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:19:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1118