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

Strange .tbz seemingly only gets its first block extracted #59

Open
mihelm opened this issue Oct 21, 2024 · 0 comments
Open

Strange .tbz seemingly only gets its first block extracted #59

mihelm opened this issue Oct 21, 2024 · 0 comments

Comments

@mihelm
Copy link

mihelm commented Oct 21, 2024

Hi

I've stumbled upon a very strange .tbz archive:

https://macromates.com

For some reason, BZip2.decompress(data: data) only spits out the first block (at least I think that's what's happening, since the "decompressed" data comes out at 900 KB). Naturally, TarContainer can't do anything with that.

Archive Utility can open the downloaded file. And when I create a .tbz from the expanded app with no funny settings, the resulting archive works just fine with BZip2.decompress(data: data) — and my archive is even a little smaller than the offered download.

I have no idea what they did there. Maybe an interesting edge case to play around with...

Cheers, michael.

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

No branches or pull requests

1 participant