Skip to content

gh-155629: do not treat GNU header atime as a ustar path prefix - #155706

Open
Khan3K wants to merge 1 commit into
python:mainfrom
Khan3K:gh-155629-gnu-atime-prefix
Open

gh-155629: do not treat GNU header atime as a ustar path prefix#155706
Khan3K wants to merge 1 commit into
python:mainfrom
Khan3K:gh-155629-gnu-atime-prefix

Conversation

@Khan3K

@Khan3K Khan3K commented Aug 13, 2026

Copy link
Copy Markdown

When parsing an old-GNU header, the byte range at offset 345 is used for the member's atime rather than a ustar path prefix. The header magic is now checked before reconstructing a long name from the prefix field, so the atime is no longer prepended to the member name.

cc @woodruffw

When parsing an old-GNU header, the byte range at offset 345 is used for
the member's atime rather than a ustar path prefix.  The header magic is
now checked before reconstructing a long name from the prefix field, so
the atime is no longer prepended to the member name.
@Khan3K
Khan3K requested a review from ethanfurman as a code owner August 13, 2026 14:10
@python-cla-bot

python-cla-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant