mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Add LongLink Support to Tar reading #644
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?
Originally created by @DannyBoyk on GitHub (Jun 3, 2024).
We have to process some Tar files that contain the LongLink header type. Specially, they contain both a LongLink and a LongName header type for a hard link entry. Currently, SharpCompress will not handle the LongLink header properly and accidentally consume the following block as a file instead of as the long link name, resulting in an empty file named
@././LongLink, at least, with the Tar file we are dealing with.