mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-12 05:25:03 +00:00
[PR #28] [MERGED] Fixed bugs related to handling of .tar archives with long names #793
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/28
Author: @Strachu
Created: 12/16/2014
Status: ✅ Merged
Merged: 12/16/2014
Merged by: @adamhathcock
Base:
master← Head:tar_fix📝 Commits (2)
2e533f9Fixed handling of ustar tar files with long names.8fcb0cbFixed bug causing entries of non-ustar archive being after one with very long name to be discarded📊 Changes
5 files changed (+39 additions, -9 deletions)
View changed files
📝
SharpCompress.Test/Tar/TarArchiveTests.cs(+23 -3)📝
SharpCompress/Archive/Tar/TarArchive.cs(+15 -5)📝
SharpCompress/Common/Tar/Headers/TarHeader.cs(+1 -1)➕
TestArchives/Archives/ustar with long names.tar(+0 -0)📝
TestArchives/Archives/very long filename.tar(+0 -0)📄 Description
I have fixed 2 bugs related to reading of .tar archives.
It was caused by 2 issues:
I have attached test cases for these bugs, they fail without my fixes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.