Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LongLink Support to Tar reading #846

Closed
DannyBoyk opened this issue Jun 3, 2024 · 0 comments · Fixed by #847
Closed

Add LongLink Support to Tar reading #846

DannyBoyk opened this issue Jun 3, 2024 · 0 comments · Fixed by #847

Comments

@DannyBoyk
Copy link
Contributor

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.

DannyBoyk added a commit to DannyBoyk/sharpcompress that referenced this issue Jun 3, 2024
DannyBoyk added a commit to DannyBoyk/sharpcompress that referenced this issue Jun 3, 2024
DannyBoyk added a commit to DannyBoyk/sharpcompress that referenced this issue Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant