[Bug 16048] unzip cannot extract big zip files

bugzilla at busybox.net bugzilla at busybox.net
Mon Sep 9 14:27:03 UTC 2024


https://bugs.busybox.net/show_bug.cgi?id=16048

Richard Stephens <rjst01 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rjst01 at gmail.com

--- Comment #1 from Richard Stephens <rjst01 at gmail.com> ---
This may or may not be the same underlying issue as reported by Diego, but
we're seeing the same issue with zip files produced by virtnbdbackup, which are
created with Python's default zip support. But we're seeing it even with much
smaller files.

I've uploaded a 4.2MB sample file here:
https://gallium.b-cdn.net/misc/test_vm_backup_busybox_bug.zip

~~~
alpine-dev:~/test# busybox unzip -v
BusyBox v1.36.1 (2024-06-10 07:11:47 UTC) multi-call binary.

Usage: unzip [-lnojpqK] FILE[.zip] [FILE]... [-x FILE]... [-d DIR]

Extract FILEs from ZIP archive

        -l      List contents (with -q for short form)
        -n      Never overwrite files (default: ask)
        -o      Overwrite
        -j      Do not restore paths
        -p      Write to stdout
        -t      Test
        -q      Quiet
        -K      Do not clear SUID bit
        -x FILE Exclude FILEs
        -d DIR  Extract into DIR
alpine-dev:~/test# busybox unzip -o test_vm_backup_busybox_bug.zip 
Archive:  test_vm_backup_busybox_bug.zip
  inflating: vda.full.data
unzip: short read
alpine-dev:~/test# unzip -o test_vm_backup_busybox_bug.zip 
Archive:  test_vm_backup_busybox_bug.zip
 extracting: vda.full.data           
 extracting: vmconfig.virtnbdbackup.0.xml  
 extracting: vm-testbackup-7WfManDF.cpt  
   creating: checkpoints/
 extracting: checkpoints/virtnbdbackup.0.xml  
 extracting: edk2-x86_64-secure-code.fd.virtnbdbackup.0  
 extracting: VARS.fd.virtnbdbackup.0  
 extracting: vda.virtnbdbackup.0.qcow.json  
 extracting: backup.full.09092024140646.log  
alpine-dev:~/test# 
~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list