[PR #455] [MERGED] Handle a bad extra field in a local file header in zip files #1036

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/455
Author: @DannyBoyk
Created: 6/3/2019
Status: Merged
Merged: 6/4/2019
Merged by: @adamhathcock

Base: masterHead: issue_454_zip_bad_extra_field


📝 Commits (1)

  • b2bd20b Handle a bad extra field in a local file header in zip files

📊 Changes

3 files changed (+34 additions, -1 deletions)

View changed files

📝 src/SharpCompress/Common/Zip/Headers/ZipFileEntry.cs (+10 -1)
📝 tests/SharpCompress.Test/Zip/ZipArchiveTests.cs (+24 -0)
tests/TestArchives/Archives/Zip.badlocalextra.zip (+0 -0)

📄 Description

Fixes issue #454


🔄 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/455 **Author:** [@DannyBoyk](https://github.com/DannyBoyk) **Created:** 6/3/2019 **Status:** ✅ Merged **Merged:** 6/4/2019 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `issue_454_zip_bad_extra_field` --- ### 📝 Commits (1) - [`b2bd20b`](https://github.com/adamhathcock/sharpcompress/commit/b2bd20b47eb0e9fadd74f5655f1e8f4c1e81d476) Handle a bad extra field in a local file header in zip files ### 📊 Changes **3 files changed** (+34 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Common/Zip/Headers/ZipFileEntry.cs` (+10 -1) 📝 `tests/SharpCompress.Test/Zip/ZipArchiveTests.cs` (+24 -0) ➕ `tests/TestArchives/Archives/Zip.badlocalextra.zip` (+0 -0) </details> ### 📄 Description Fixes issue #454 --- <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:18:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1036