Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-136602: Fix wrongoffset_data being used for sparse files with an additionalsize PAX keyword#136621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mxmlnkn wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
frommxmlnkn:fix-issue-136602

Conversation

mxmlnkn
Copy link

@mxmlnknmxmlnkn commentedJul 13, 2025
edited by bedevere-appbot
Loading

@python-cla-bot
Copy link

python-cla-botbot commentedJul 13, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@mxmlnkn
Copy link
Author

_apply_pax_info suppresses all int-conversion errors:

cpython/Lib/tarfile.py

Lines 1628 to 1631 in85ec3b3

try:
value=PAX_NUMBER_FIELDS[keyword](value)
exceptValueError:
value=0

Is this also necessary for this PR forint(pax_headers["size"])? It seems like it would break more than it helps, or are there use cases for this?

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

@ethanfurmanethanfurmanAwaiting requested review from ethanfurmanethanfurman is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Next TAR header offset recomputation is wrong for GNU sparse 1.0 file combined with 'size' PAX header key
1 participant
@mxmlnkn

[8]ページ先頭

©2009-2025 Movatter.jp