Bug 329579

Summary: Extracted file is corrupt
Product: [Frameworks and Libraries] frameworks-karchive Reporter: Fabian Vogt <fabian>
Component: generalAssignee: David Faure <faure>
Status: CONFIRMED ---    
Severity: major CC: elvis.angelaccio, faure, kdelibs-bugs, mail
Priority: NOR    
Version: 5.51.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Fabian Vogt 2014-01-03 21:37:13 UTC
The TI nspire OS files are valid zip files and can be extracted by any zip utility such as unzip. But if I copy-paste zip:/file.zip/boot2.img to extract it, the resulting uncompressed file is corrupt. There is additional stuff at the beginning and at the end.
Example download: http://education.ti.com/de/deutschland/software/details/en/0607F21D07B14ACB9EE85E57A9C30EDA/ti-nspirecxcas_os

Reproducible: Always

Steps to Reproduce:
1. Download http://education.ti.com/de/deutschland/software/details/en/0607F21D07B14ACB9EE85E57A9C30EDA/ti-nspirecxcas_os
2. Open in dolphin with zip:/
3. Copy boot2.img
4. Compare with the result of "unzip *.tcc boot2.img"
5. The files differ



Ark works (as expected).
"unzip" says "63 extra bytes at beginning or within zipfile".
Maybe it's an issue that the header isn't word-aligned?
Comment 1 Julian Steinmann 2018-07-22 16:44:33 UTC
I can reproduce this behavior using KDE Frameworks 5.48, relocating to kio-extras.
Comment 2 David Faure 2018-08-01 08:20:28 UTC
Probably a KArchive bug though ;)