René's URL Explorer Experiment


Title: gh-141707: Fix tarfile type corruption with GNU long names by heathdutton · Pull Request #143157 · python/cpython · GitHub

Open Graph Title: gh-141707: Fix tarfile type corruption with GNU long names by heathdutton · Pull Request #143157 · python/cpython

X Title: gh-141707: Fix tarfile type corruption with GNU long names by heathdutton · Pull Request #143157 · python/cpython

Description: When processing GNU long name headers, tarfile reads the actual name from data blocks but the second header's name field contains garbage. The V7 directory detection in frombuf() could incorrectly ...

Open Graph Description: When processing GNU long name headers, tarfile reads the actual name from data blocks but the second header's name field contains garbage. The V7 directory detection in frombuf() could incorrec...

X Description: When processing GNU long name headers, tarfile reads the actual name from data blocks but the second header's name field contains garbage. The V7 directory detection in frombuf() could inco...

Opengraph URL: https://github.com/python/cpython/pull/143157

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3f507654-b124-b462-1b48-4f3058ca5cf9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5FC:B22A0:339C924:4529CAD:696F09FD
html-safe-noncee80a41316d4fbe6780e79d2bc3a5b9309de9da6afca6ed6398ded55106adf8f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUZDOkIyMkEwOjMzOUM5MjQ6NDUyOUNBRDo2OTZGMDlGRCIsInZpc2l0b3JfaWQiOiI1MDIxMTkyNDQyOTkyMzMxMjYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4919cc5d3c4ef39091b419e6fa9779349e47d0f94a616263cdcb26247f5bbf95
hovercard-subject-tagpull_request:3129149007
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/143157/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8798ed858345517246becf25d5e179ea2718477e0c2f282f9b59c65421affc13/python/cpython/pull/143157
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8798ed858345517246becf25d5e179ea2718477e0c2f282f9b59c65421affc13/python/cpython/pull/143157
og:image:altWhen processing GNU long name headers, tarfile reads the actual name from data blocks but the second header's name field contains garbage. The V7 directory detection in frombuf() could incorrec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameheathdutton
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/143157#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143157
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143157
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/143157
Reloadhttps://github.com/python/cpython/pull/143157
Reloadhttps://github.com/python/cpython/pull/143157
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/143157
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.2k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/143157
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/143157#issue-comment-box
heathduttonhttps://github.com/heathdutton
python:mainhttps://github.com/python/cpython/tree/main
heathdutton:gh-141707-fix-tarfile-gnulonghttps://github.com/heathdutton/cpython/tree/gh-141707-fix-tarfile-gnulong
gh-141707: Fix tarfile type corruption with GNU long names https://github.com/python/cpython/pull/143157#top
heathduttonhttps://github.com/heathdutton
python:mainhttps://github.com/python/cpython/tree/main
heathdutton:gh-141707-fix-tarfile-gnulonghttps://github.com/heathdutton/cpython/tree/gh-141707-fix-tarfile-gnulong
Conversation 3 https://github.com/python/cpython/pull/143157
Commits 1 https://github.com/python/cpython/pull/143157/commits
Checks 42 https://github.com/python/cpython/pull/143157/checks
Files changed 2 https://github.com/python/cpython/pull/143157/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/heathdutton
heathduttonhttps://github.com/heathdutton
Dec 24, 2025https://github.com/python/cpython/pull/143157#issue-3760943502
Please reload this pagehttps://github.com/python/cpython/pull/143157
#141707https://github.com/python/cpython/issues/141707
Incorrect parsing of TarInfo header when GNU long name and type AREGTYPE are combined #141707https://github.com/python/cpython/issues/141707
Please reload this pagehttps://github.com/python/cpython/pull/143157
https://github.com/heathdutton
heathduttonhttps://github.com/heathdutton
ethanfurmanhttps://github.com/ethanfurman
code ownerhttps://github.com/python/cpython/blob/305aff0a66ad86274a58d5a5aae445713a4c4cca/.github/CODEOWNERS#L586
December 24, 2025 20:14https://github.com/python/cpython/pull/143157#event-21745476462
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 24, 2025https://github.com/python/cpython/pull/143157#issuecomment-3690453237
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/143157
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Dec 24, 2025https://github.com/python/cpython/pull/143157#issuecomment-3690453247
Please reload this pagehttps://github.com/python/cpython/pull/143157
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/143157
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 24, 2025 https://github.com/python/cpython/pull/143157#ref-issue-3637381854
Incorrect parsing of TarInfo header when GNU long name and type AREGTYPE are combined #141707 https://github.com/python/cpython/issues/141707
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 24, 2025https://github.com/python/cpython/pull/143157#event-21745477971
https://github.com/heathdutton
pythongh-141707https://github.com/python/cpython/issues/141707
: Fix tarfile type corruption with GNU long nameshttps://github.com/python/cpython/pull/143157/commits/5186da2b9bd1b240e47dffa1bf538835d8c2dd22
5186da2https://github.com/python/cpython/pull/143157/commits/5186da2b9bd1b240e47dffa1bf538835d8c2dd22
https://github.com/heathdutton
heathduttonhttps://github.com/heathdutton
force-pushedhttps://github.com/python/cpython/compare/8e61d0ba72467e1a9fb99898cca1b85b661224ff..5186da2b9bd1b240e47dffa1bf538835d8c2dd22
8e61d0bhttps://github.com/python/cpython/commit/8e61d0ba72467e1a9fb99898cca1b85b661224ff
5186da2https://github.com/python/cpython/commit/5186da2b9bd1b240e47dffa1bf538835d8c2dd22
Compare https://github.com/python/cpython/compare/8e61d0ba72467e1a9fb99898cca1b85b661224ff..5186da2b9bd1b240e47dffa1bf538835d8c2dd22
December 24, 2025 20:29https://github.com/python/cpython/pull/143157#event-21745584341
https://github.com/aisk
aiskhttps://github.com/aisk
Dec 26, 2025https://github.com/python/cpython/pull/143157#issuecomment-3692918791
Please reload this pagehttps://github.com/python/cpython/pull/143157
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143157
https://github.com/ethanfurman
ethanfurman https://github.com/ethanfurman
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Incorrect parsing of TarInfo header when GNU long name and type AREGTYPE are combined https://github.com/python/cpython/issues/141707
Please reload this pagehttps://github.com/python/cpython/pull/143157
https://github.com/heathdutton
https://github.com/aisk
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.