[haiku-bugs] [Haiku] #11023: zip looses all the file's attributes

  • From: "bbjimmy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 10 Jul 2014 15:44:14 -0000

#11023: zip looses all the file's attributes
---------------------------------------------+-----------------------------
 Reporter:  bbjimmy                          |        Owner:  nobody
     Type:  bug                              |       Status:  new
 Priority:  normal                           |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:
 Keywords:                                   |  R1/Development
 Blocking:                                   |   Blocked By:
 Platform:  All                              |  Has a Patch:  0
---------------------------------------------+-----------------------------
 hrev 46791

 zip looses 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.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11023>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: