mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-09 21:24:08 +00:00
[PR #673] [MERGED] Feature/malformed zip file generated #1156
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/673
Author: @Erior
Created: 6/17/2022
Status: ✅ Merged
Merged: 6/20/2022
Merged by: @adamhathcock
Base:
master← Head:feature/Malformed-zip-file-generated📝 Commits (2)
b6c4e28Generated test case, however, don't see any problemsa00075eWrong flags set, we do not expose this in the interface📊 Changes
2 files changed (+20 additions, -6 deletions)
View changed files
📝
src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs(+19 -5)📝
tests/SharpCompress.Test/Zip/ZipWriterTests.cs(+1 -1)📄 Description
This is connected to issue #666
We are setting wrong flags in the zip directory headers, I am unable to create a test case since we don't expose them, might be the next step.
Would then as an example allow setting "read-only" on a file if an extractor honers it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.