Opened 10 years ago

Last modified 10 years ago

#11023 closed bug

zip loses all the file's attributes — at Version 2

Reported by: bbjimmy Owned by: nobody
Priority: high Milestone: R1/beta1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by luroh)

hrev 46791

zip loses all of the file attributes when the total number of bytes in attributes exceeds 64 KiB.

comments in beos.c: starting at line 430:

/* ----------------------------------------------------------------- */ /* Read all the attributes; the buffer could grow > 64K if there are */ /* many and/or they are large. */

It seems that the buffer cannot grow as intended, and if it should grow, all the attribute data is lost.

Change History (2)

comment:1 by waddlesplash, 10 years ago

Milestone: R1R1/alpha5
Priority: normalhigh

comment:2 by luroh, 10 years ago

Description: modified (diff)
Summary: zip looses all the file's attributeszip loses all the file's attributes
Note: See TracTickets for help on using tickets.