Skip to content

A test case for Issue #2565. #2569

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kientzle
Copy link
Contributor

@kientzle kientzle commented Apr 6, 2025

This just takes the PoC from Issue #2565 and wraps it in a standard test.
I've not yet used this to reproduce the issue, much less to diagnose the root cause.

This just takes the PoC from that issue and wraps
it into a standard test.
I've not yet used this to reproduce the issue, much
less to diagnose the root cause.
@kientzle kientzle marked this pull request as draft April 6, 2025 23:46
@kientzle
Copy link
Contributor Author

kientzle commented Apr 8, 2025

Ah. The PoC from #2565 only reproduces if libarchive is built with CRC checks disabled. I guess I need to fix the CRCs in this example so it works even in a standard build? Hmmm....

@stoeckmann
Copy link
Contributor

Hi @kientzle,

I have cherry-picked your test case addition into my PR #2599 which fixes the issue as well. The input file has been reduced a bit and checksums adjusted. The rar file header stated that a directory is contained. I have modified it to contain a file, which allows a bsdtar -x triggering the issue now as well.

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 this pull request may close these issues.

2 participants