mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #855] [MERGED] Check crc on tar header #1285
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/855
Author: @Erior
Created: 7/10/2024
Status: ✅ Merged
Merged: 7/12/2024
Merged by: @adamhathcock
Base:
master← Head:feature/Check-tar-crc-on-header📝 Commits (3)
e42d953Check crc on tar header6b88f82Handle special case, empty file9515350Remove using directive📊 Changes
3 files changed (+50 additions, -0 deletions)
View changed files
📝
src/SharpCompress/Common/Tar/Headers/TarHeader.cs(+42 -0)📝
tests/SharpCompress.Test/Tar/TarArchiveTests.cs(+8 -0)➕
tests/TestArchives/Archives/false.positive.tar(+0 -0)📄 Description
#837
We could use the CRC for checking validation of the header, however it would seem the Tar.Empty.tar test case is invalid
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.