Does the library support PAX tar? #682

Open
opened 2026-01-29 22:15:48 +00:00 by claunia · 1 comment
Owner

Originally created by @alex-b-123 on GitHub (Jun 9, 2025).

We're been using the library successfully for a while, but it's failing for a set of files, they are PAX tar files, and from inspection, it looks like the big entry has '0' for the size of the file, instead there's a PAX header with "19 size=<almost 8gb number here>". The number is under 8gb, so I'm not really sure why the file uses pax to store it, but the header says the file is 0 bytes, so the library fails.
However 'tar' command, 7zip, they can all untar the file, but the library can't.

If pax is currently not supported, any plan to extend it?

Originally created by @alex-b-123 on GitHub (Jun 9, 2025). We're been using the library successfully for a while, but it's failing for a set of files, they are PAX tar files, and from inspection, it looks like the big entry has '0' for the size of the file, instead there's a PAX header with "19 size=<almost 8gb number here>". The number is under 8gb, so I'm not really sure why the file uses pax to store it, but the header says the file is 0 bytes, so the library fails. However 'tar' command, 7zip, they can all untar the file, but the library can't. If pax is currently not supported, any plan to extend it?
claunia added the enhancementup for grabs labels 2026-01-29 22:15:48 +00:00
Author
Owner

@adamhathcock commented on GitHub (Jun 10, 2025):

I've looked at it years ago but I have no plans to fully implement it. I was hoping to use another tar implementation and retrofit it for streaming needs.

@adamhathcock commented on GitHub (Jun 10, 2025): I've looked at it years ago but I have no plans to fully implement it. I was hoping to use another tar implementation and retrofit it for streaming needs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#682