Ticket Change Details
Not logged in
Overview

Artifact ID: 8823761ee9e5f308a095723904a174b4cc495f31
Ticket: 0a6420e446d8f1a52308620f2ab0d2b8f21c8df6
fossil generates broken tar files when the file path is > 100 chars
User & Date: anonymous 2011-07-20 21:54:10
Changes

  1. comment changed to:
    fossil attempts to support file names up to 256 chars. The tar 'ustar' format supports path names longer than 100 chars, but the file name has to be split into two chunks, which is done incorrectly. The Posix spec requires that the split occur at a '/' character, which is not done.
    
    The above is easily verified by adding a regular file with a name length > 100 chars in a test repo, and generating a tarball. Neither GNU or BSD tar will generate the correct file name.
    
    It may be just as easy to generate a 'pax' extension record when the file name is longer than 100 characters. This works for any path length.
    
  2. foundin changed to: "d86201dce9f036591b7716bea31c29bcc3188cbf"
  3. private_contact changed to: "6984f5ff2d3f66a87d3c6ddcf777c37b54e478f0"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. title changed to:
    fossil generates broken tar files when the file path is > 100 chars
    
  7. type changed to: "Code_Defect"