Bug 129

Summary: unzip with "central directory" does not work on big endian
Product: Busybox Reporter: Stephane Fillod <fillods>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: busybox-cvs, vda.linux
Priority: P5    
Version: 1.13.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:
Attachments: unzip endianess patch

Description Stephane Fillod 2009-02-25 18:01:31 UTC
Created attachment 73 [details]
unzip endianess patch

unzipping file with "central directory" does not work on big endian arch.
Obvious when reading the code, because formatted.cds_offset is an uint32_t.
Bug conditional on CONFIG_DESKTOP.

Patch attached.
Comment 1 Denys Vlasenko 2009-02-26 11:25:54 UTC
Fixed in svn. Thanks!