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

Too much data: diagnostic #35

Open
plicease opened this issue Jun 1, 2021 · 1 comment
Open

Too much data: diagnostic #35

plicease opened this issue Jun 1, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@plicease
Copy link
Member

plicease commented Jun 1, 2021

uperl/Archive-Libarchive-Extract#2 (comment)

This may be a bug in Platypus or Archive::Libarchive

@plicease plicease added the bug Something isn't working label Jun 1, 2021
@plicease
Copy link
Member Author

plicease commented Jun 2, 2021

I think this is a bug in libarchive, but there is an easy workaround (and probably necessary too because we will be supporting affected versions of libarchive for some time), so we should try to come up with a C example that is demonstrates and submit it to libarchive project. But basically the reference encrypted .zip file that I created returns 0 / ARCCHIVE_OK from archive_read_data_block, whereas the regular reference tar returns ARCHIVE_EOF. The workaround is to check the buffer, if that is undef then and 0 was returned then treat as ARCHIVE_EOF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant