This implementation follows the default policy in 93 of 134 cases:
The default policy is a working draft. Where an implementation does not do as it says, that can be a choice rather than a bug.
On the other 41, it does not:
| case | what it is | what it makes of it |
|---|---|---|
F03 end-lone-zero-block | An end-of-archive marker of one zero block, not two. | extracts a (2 B, 87428fc5) |
F06 checksum-signed | A checksum that only matches as the signed sum of the header. | extracts a (2 B, 87428fc5) |
F07 end-archive-after | Another archive after the end-of-archive marker. | extracts a (2 B, 87428fc5) |
F09 end-zero-block-then-member | A zero block, then another member: the end of the archive, or not? | extracts a (2 B, 87428fc5) |
F20 pax-global-size | A global pax header with a size, which frames every member after it, or none. | extracts a (0 B, e3b0c442), smuggled (0 B, e3b0c442) |
F21 pax-size-empty | An empty pax size, which in POSIX removes the size rather than giving one. | extracts a (512 B, 917dba8e) |
F23 pax-size-plus | A pax size with a plus sign, +512, which conversions of strings to numbers accept. | extracts a (512 B, 917dba8e) |
F24 pax-size-leading-space | A pax size with a leading space, 512, which conversions of strings to numbers skip. | extracts a (512 B, 917dba8e) |
F26 pax-size-leading-zero | A pax size with a leading zero, 0777: 777 in decimal, as POSIX says, or 511 in octal. | extracts a (777 B, b09d2516) |
F39 format-pax-after-v7 | A v7 header first, then a member with a pax header: is the x header a header, or a file? | extracts a (2 B, 87428fc5), from-pax (12 B, a578eb49) |
F40 number-size-no-terminator | A size of 12 octal digits, without a terminator. | extracts a (10 B, 84d89877) |
F41 number-size-leading-nul | A size with a NUL before its digits, which takes the next header for its data. | extracts a (0 B, e3b0c442), smuggled (0 B, e3b0c442) |
F44 pax-global-size-empty | An empty size in a global pax header: does it delete the size of every later member, or set it? | extracts a (512 B, 917dba8e) |
F47 checksum-wrong-after-first-member | A header with a wrong checksum after the first member: the end, a block to skip, or a header? | extracts a (2 B, 87428fc5) |
F54 format-pax-header-without-magic | A pax extended header without magic: a header, or a file? | extracts renamed (12 B, a578eb49) |
N08 extended-pax-path-and-gnu-long-name | A pax path and a GNU long name for one member, and a third name in its header. | extracts from-header (12 B, a578eb49) |
N10 format-star | A ustar prefix whose end reads as star's times, with star's tar\0 at offset 508. | extracts ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp15000000000 15000000000 /, ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp15000000000 15000000000 /a (2 B, 87428fc5) |
N11 gnu-prefix-field | The prefix field of a header with GNU magic, which GNU tar uses for times in incremental archives. | extracts a (2 B, 87428fc5) |
N13 name-backslash | A backslash in a name: a character on Unix, a separator on Windows. | extracts a\b (21 B, 15acfc39) |
N14 name-bytes-after-nul | Bytes after the NUL that ends a name. | extracts a (10 B, ef476e8d) |
N18 name-not-utf8 | A name that is not UTF-8. | extracts caf� (8 B, ff3f1fa3) |
N19 pax-nul-in-path | A NUL inside a pax path. | extracts a_b (12 B, 627be4bf) |
N21 pax-global-path | A global pax header with a path. | extracts a (2 B, 87428fc5), b (2 B, 02638299) |
N23 extended-gnu-long-then-pax | A GNU long name, then a pax header, then the member: which of them does the long name apply to? | extracts from-header (12 B, a578eb49) |
N24 pax-hdrcharset-binary | A pax path that is not UTF-8, declared as bytes with hdrcharset=BINARY. | extracts caf� (12 B, a578eb49) |
N26 pax-global-path-then-empty | A global path, then a global header that removes it with an empty value. | extracts a (12 B, a578eb49) |
N30 name-drive-letter | A name that starts with a drive letter, C:/drive-letter. | extracts C:/, C:/drive-letter (35 B, 1f39eb72) |
N31 pax-linkpath-not-utf8 | A pax linkpath that is not UTF-8. | extracts link → caf� |
N32 linkname-not-utf8 | A symlink whose target in the header is not UTF-8. | extracts link → caf� |
N36 pax-gnu-sparse | A sparse file in GNU's pax format 1.0: the data as stored, or the file it expands to? | extracts GNUSparseFile.0/, GNUSparseFile.0/a (514 B, efc6219f) |
N38 gnu-long-name-empty | An empty GNU long name: the name in the header, or none? | extracts @LongLink (12 B, a578eb49) |
N39 gnu-long-name-size-without-nul | A GNU long name whose size leaves out its NUL, with bytes after it. | extracts name (12 B, a578eb49) |
N40 pax-global-linkpath | A global pax header with a linkpath. | extracts l → header-target-l, m → header-target-m |
N41 pax-gnu-sparse-name | A pax GNU.sparse.name on a file that is not sparse, after a path. | extracts path-name (12 B, a578eb49) |
K02 linkname-on-file | A regular file with a link target. | extracts a (19 B, bc345849) |
S06 hardlink-to-symlink | A hardlink to a symlink: a link to the symlink, or to its target? | extracts f (2 B, 092fcfbb), h → f, s → f |
S14 tree-symlink-then-dir | A symlink to a directory, then a directory of the same name. | extracts a → target, target/ |
S18 hardlink-absolute | A hardlink to /etc/passwd, in an archive with a member etc/passwd. | extracts etc/, etc/passwd (22 B, cf754f09), l (22 B, cf754f09) |
| case | what it is | what it makes of it |
|---|---|---|
F28 pax-newline-in-comment | A newline in a pax comment, which split on lines leaves a size record. | error: InvalidDataException: The extended header contains invalid records. |
F57 pax-newline-in-comment-path | A newline in a pax comment, which split on lines leaves a path record. | error: InvalidDataException: The extended header contains invalid records. |
F58 pax-newline-in-comment-then-size | A newline in a pax comment, which split on lines leaves a size record before the last one. | error: InvalidDataException: The extended header contains invalid records. |