https://bugs.documentfoundation.org/show_bug.cgi?id=82984

--- Comment #18 from Kevin Suo <suokunl...@126.com> ---
The easiest way to identify whether an xlsx (zip) for is in ZIP64 format, under
linux, seems to be:

$ xxd ./test.xlsx
00000000: 504b 0304 2d00 0000 0800 4155 6e48 3c5c  PK..-.....AUnH<\
00000010: b548 ffff ffff ffff ffff 1300 1400 5b43  .H............[C
......

Each column is 2 bytes

According to https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html:

1. The first 4 bytes, "504b 0304" indicates that it is a zip file.
2. Bytes 19-22 denotes to "Compressed size". If archive is in ZIP64 format,
then this is "ffff ffff".
3. Bytes 23-26 denotes to "Uncompressed size". If archive is in ZIP 64 format,
then this is also "ffff ffff".

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to