[haiku-bugs] [Haiku] #15806: package produce invalid HPKG file when archiving large folder with a lot of files

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 14 Mar 2020 21:56:58 -0000

#15806: package produce invalid HPKG file when archiving large folder with a 
lot of
files
------------------------------+------------------------------
 Reporter:  X512              |        Owner:  nobody
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  Unscheduled
Component:  Kits/Package Kit  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 This is hrev53967.

 When creating HPKG file with `package create -0 -i
 /path/to/stub.PackageInfo /path/to/Package.hpkg` from folder with a lot of
 small files and total size about 10GB and then extracting with `package
 extract /path/to/Package.hpkg`, extraction fails with `Error: Malformed
 TOC strings section`.

 If HPKG format has some limitation on file count, creation should fail
 instead of silently creating invalid HPKG. If there are no limitation,
 this is a bug and it should be fixed.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15806>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: