-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
7z: Trailing garbage #1521
Comments
Thanks a lot for the feedback @systemcrash 👍🏼 Files with trailing garbage will be notified but the extraction data will be not removed as incomplete. |
Thanks @aonez
I figure this is an acceptable compromise - perhaps the trailing garbage strictness could be configured with a boolean? |
@systemcrash I usually prefer to inform when there's extra data instead of silently accepting that. The user should decide if it is ok or not. I've seen macOS bundled archiver extract a corrupted tar.gz producing incomplete output without any warning.
Will be added in the next revision v1.4.6. You can already set the flag for when the version is ready. |
Is there a good motivation for a hidden flag versus a GUI checkbox? |
@systemcrash v1.4.7 is public now with this option in the preferences. Thanks again!! |
Great to hear! Thanks @aonez |
So.... not sure whether it's meant to be like this, but in the latest version running, I can't click on any menus, but I can hit CTRL+, to open prefs pane and I see the new option. |
Hi @systemcrash, I'm not sure what do you mean with CTRL+ to open the Settings. The default command is Command,. I'm not seeing any issue with the menus. Can you share an screencast or more information about your issue? |
Configuration
Describe the bug
Try any of these:
https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/openwrt-23.05.5-x86-64-generic-ext4-combined-efi.img.gz
Header:
Garbage in question:
So, I don't think this is a Keka problem, but rather the decompressor it uses. 7zz and kekaunar decompression strategy seems prisoner to the archive file length. Given that there is nothing else to use, since a header is absent (probably because the gzip was created from piped data), this is now problematic.
gzip successfully decompresses, and ignores the 'trailing garbage' with:
The trailing garbage should not be there, but, it is.
The text was updated successfully, but these errors were encountered: