Email List: Xaustin-review-lX
[All Lists]

Defect in XCU pax options

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XCU pax options
From: yyyyyyyyyy@xxxxxxx
Date: Thu, 20 Jun 2002 23:50:22 +0100 (BST)
        Defect report from : Ken Dawson , Sun Microsystems

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 701 line 27030-27065 section pax options objection {sunw-pax-01}

Problem:

Defect code :  1. Error

The specification of the exthdr.name (and globexthdr.name) option (and
default values) creates a potential race condition between two different
processes extracting identically-named files from pax-format archives.

The default value for exthdr.name is

    %d/PaxHeaders/%f

and the default value for globexthdr.name is

    %d/GlobalHead.%n

There is no way for the implemenation (or the user) to ensure that
different instances of pax extracting a file named "/a/b/foo" will not
collide when processing the extended header information associated with
"foo".

What provision can be made so that this race condition is avoided?



Action:

Replace the text @P701, L27042 with the following:

27042                    %p              The process id of the pax process.
                         %%              A '%' character.

Replace the text @P701, L27046 with the following:

27046                %d/PaxHeaders.%p/%f

Replace the text @P702, L27059 with the following:

27059                    %p              The process id of the pax process.
                         %%              A '%' character.

Replace the text @P702, L27063 with the following:

27063                %d/GlobalHead.%p.%n


<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XCU pax options, ken.dawson <=