René's URL Explorer Experiment


Title: gh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` by hartwork · Pull Request #139403 · python/cpython · GitHub

Open Graph Title: gh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` by hartwork · Pull Request #139403 · python/cpython

X Title: gh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` by hartwork · Pull Request #139403 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: CC @picnixz Issue: Heap-use-after-free issue in pyexpat related to .ExternalEntityParserCreate #139400

X Description: CC @picnixz Issue: Heap-use-after-free issue in pyexpat related to .ExternalEntityParserCreate #139400

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:2f7c2c6e-63e6-c529-29c7-fa1975a08594
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB46:3DCCDD:184EF10:219A626:6A55E103
html-safe-noncebc0152f0832426ecf93804a9c612584b400294368a179bec095e61776f7d7720
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjQ2OjNEQ0NERDoxODRFRjEwOjIxOUE2MjY6NkE1NUUxMDMiLCJ2aXNpdG9yX2lkIjoiMjYyNzI1MjQ5NDg0MjMyMzIwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac587e14d2caf7431cd0254af009ab1182a56abae6a2af4c0910539a2d25b33d26
hovercard-subject-tagpull_request:2868509520
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/139403/commits
twitter:imagehttps://opengraph.githubassets.com/d733c474e1a32388c1e70f01f159719bd5c65f2cf8e6e694789e35ff1fe1e867/python/cpython/pull/139403
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d733c474e1a32388c1e70f01f159719bd5c65f2cf8e6e694789e35ff1fe1e867/python/cpython/pull/139403
og:image:altCC @picnixz Issue: Heap-use-after-free issue in pyexpat related to .ExternalEntityParserCreate #139400
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehartwork
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-cache
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
release3725c7f9b2a6e3a27ef57c5aed13428c0f65e045
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/139403/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139403%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F139403%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/139403/commits
Reloadhttps://github.com/python/cpython/pull/139403/commits
Reloadhttps://github.com/python/cpython/pull/139403/commits
Please reload this pagehttps://github.com/python/cpython/pull/139403/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/139403/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
hartwork:issue-139400https://github.com/hartwork/cpython/tree/issue-139400
Conversationhttps://github.com/python/cpython/pull/139403
Commits22 (22)https://github.com/python/cpython/pull/139403/commits
Checkshttps://github.com/python/cpython/pull/139403/checks
Files changedhttps://github.com/python/cpython/pull/139403/files
gh-139400: Make sure that parent parsers outlive their subparsers in pyexpathttps://github.com/python/cpython/pull/139403/commits#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
hartwork:issue-139400https://github.com/hartwork/cpython/tree/issue-139400
pyexpat.c: Disallow collection of in-use parent parsershttps://github.com/python/cpython/pull/139403/commits/e1c047039b72c4c9002e9eb9c6cf689f4f54a9b2
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
e1c0470https://github.com/python/cpython/pull/139403/commits/e1c047039b72c4c9002e9eb9c6cf689f4f54a9b2
https://github.com/python/cpython/tree/e1c047039b72c4c9002e9eb9c6cf689f4f54a9b2
Add a regression test for issue 139400https://github.com/python/cpython/pull/139403/commits/3b0afdaaf7b2361e209d725c9901f5f29c0d64b5
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
3b0afdahttps://github.com/python/cpython/pull/139403/commits/3b0afdaaf7b2361e209d725c9901f5f29c0d64b5
https://github.com/python/cpython/tree/3b0afdaaf7b2361e209d725c9901f5f29c0d64b5
Add news item for issue 139400https://github.com/python/cpython/pull/139403/commits/8f70991fadc1dfaa7f9c800c9a760dea4107afaf
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
8f70991https://github.com/python/cpython/pull/139403/commits/8f70991fadc1dfaa7f9c800c9a760dea4107afaf
https://github.com/python/cpython/tree/8f70991fadc1dfaa7f9c800c9a760dea4107afaf
Improve test's docstringhttps://github.com/python/cpython/pull/139403/commits/a63bd34ac2cbeadaece3ade4bba648455ca4f44a
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
a63bd34https://github.com/python/cpython/pull/139403/commits/a63bd34ac2cbeadaece3ade4bba648455ca4f44a
https://github.com/python/cpython/tree/a63bd34ac2cbeadaece3ade4bba648455ca4f44a
Simplify xmlparseobject_ to xmlparseobjecthttps://github.com/python/cpython/pull/139403/commits/22417ec475d8e9a0f29caedc23d8584132ebf768
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
22417echttps://github.com/python/cpython/pull/139403/commits/22417ec475d8e9a0f29caedc23d8584132ebf768
https://github.com/python/cpython/tree/22417ec475d8e9a0f29caedc23d8584132ebf768
Leverage Py_CLEARhttps://github.com/python/cpython/pull/139403/commits/20caacd3e77ef29780e5aa1d054ae5a3476f10a4
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
20caacdhttps://github.com/python/cpython/pull/139403/commits/20caacd3e77ef29780e5aa1d054ae5a3476f10a4
https://github.com/python/cpython/tree/20caacd3e77ef29780e5aa1d054ae5a3476f10a4
Simplify call to Py_CLEARhttps://github.com/python/cpython/pull/139403/commits/f8c58a3040b2deb9b8d37196a4697c9ebf04abd6
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
f8c58a3https://github.com/python/cpython/pull/139403/commits/f8c58a3040b2deb9b8d37196a4697c9ebf04abd6
https://github.com/python/cpython/tree/f8c58a3040b2deb9b8d37196a4697c9ebf04abd6
Streamline docsting of ParentParserLifetimeTesthttps://github.com/python/cpython/pull/139403/commits/f1e3e3624b1e443246a36cd0d20b09652e62edd6
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
f1e3e36https://github.com/python/cpython/pull/139403/commits/f1e3e3624b1e443246a36cd0d20b09652e62edd6
https://github.com/python/cpython/tree/f1e3e3624b1e443246a36cd0d20b09652e62edd6
pyexpat.c: Adjust whitespace around pointerhttps://github.com/python/cpython/pull/139403/commits/1b2937d5ee019220ea05bf444bbea7c2ff7732ef
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
1b2937dhttps://github.com/python/cpython/pull/139403/commits/1b2937d5ee019220ea05bf444bbea7c2ff7732ef
https://github.com/python/cpython/tree/1b2937d5ee019220ea05bf444bbea7c2ff7732ef
Re-write news itemhttps://github.com/python/cpython/pull/139403/commits/8c5a4e868ba370d744647826581858e3f3416a9d
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
8c5a4e8https://github.com/python/cpython/pull/139403/commits/8c5a4e868ba370d744647826581858e3f3416a9d
https://github.com/python/cpython/tree/8c5a4e868ba370d744647826581858e3f3416a9d
Turn parent into a PyObject pointerhttps://github.com/python/cpython/pull/139403/commits/a6f5520c3efb55f00e189c030415f379cdabad95
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
a6f5520https://github.com/python/cpython/pull/139403/commits/a6f5520c3efb55f00e189c030415f379cdabad95
https://github.com/python/cpython/tree/a6f5520c3efb55f00e189c030415f379cdabad95
Add missing parent visit to xmlparse_traversehttps://github.com/python/cpython/pull/139403/commits/4470ceabf12be222c2d2a407f32841e591ff52f3
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
4470ceahttps://github.com/python/cpython/pull/139403/commits/4470ceabf12be222c2d2a407f32841e591ff52f3
https://github.com/python/cpython/tree/4470ceabf12be222c2d2a407f32841e591ff52f3
Re-write comment about mission of "PyObject *parent"https://github.com/python/cpython/pull/139403/commits/3759ac792315617e04f5f19a56bb6c9ad9d9c856
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
3759ac7https://github.com/python/cpython/pull/139403/commits/3759ac792315617e04f5f19a56bb6c9ad9d9c856
https://github.com/python/cpython/tree/3759ac792315617e04f5f19a56bb6c9ad9d9c856
Add whitespace as requestedhttps://github.com/python/cpython/pull/139403/commits/30598a95d4bec1b0c767dced19a13e4b7c3e4f30
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
30598a9https://github.com/python/cpython/pull/139403/commits/30598a95d4bec1b0c767dced19a13e4b7c3e4f30
https://github.com/python/cpython/tree/30598a95d4bec1b0c767dced19a13e4b7c3e4f30
Add more testshttps://github.com/python/cpython/pull/139403/commits/6d3c424ffddc6373debb555052234b3b3d4717f6
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
6d3c424https://github.com/python/cpython/pull/139403/commits/6d3c424ffddc6373debb555052234b3b3d4717f6
https://github.com/python/cpython/tree/6d3c424ffddc6373debb555052234b3b3d4717f6
Add comment about Py_CLEAR(self->parent) to xmlparse_clearhttps://github.com/python/cpython/pull/139403/commits/66b77e0c2d7cf1d1199d9c678001830858787fe2
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
66b77e0https://github.com/python/cpython/pull/139403/commits/66b77e0c2d7cf1d1199d9c678001830858787fe2
https://github.com/python/cpython/tree/66b77e0c2d7cf1d1199d9c678001830858787fe2
Add missing full stops to docstringshttps://github.com/python/cpython/pull/139403/commits/455787fe8ececc089adf34a17372b4dbad23659b
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
455787fhttps://github.com/python/cpython/pull/139403/commits/455787fe8ececc089adf34a17372b4dbad23659b
https://github.com/python/cpython/tree/455787fe8ececc089adf34a17372b4dbad23659b
Drop reference to XML_ExternalEntityParserCreatehttps://github.com/python/cpython/pull/139403/commits/a66945436a8fba28919baadfa2d09ffa4679ef84
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
a669454https://github.com/python/cpython/pull/139403/commits/a66945436a8fba28919baadfa2d09ffa4679ef84
https://github.com/python/cpython/tree/a66945436a8fba28919baadfa2d09ffa4679ef84
Make test test_cycle waterproofhttps://github.com/python/cpython/pull/139403/commits/a91ed6ba476333a307273fa1f3b27e6ecd6a3ae7
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
a91ed6bhttps://github.com/python/cpython/pull/139403/commits/a91ed6ba476333a307273fa1f3b27e6ecd6a3ae7
https://github.com/python/cpython/tree/a91ed6ba476333a307273fa1f3b27e6ecd6a3ae7
Full stops and sentenceshttps://github.com/python/cpython/pull/139403/commits/c056cfe0f420bc62fd6a6e4ddfac3715dc2cd6b4
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
c056cfehttps://github.com/python/cpython/pull/139403/commits/c056cfe0f420bc62fd6a6e4ddfac3715dc2cd6b4
https://github.com/python/cpython/tree/c056cfe0f420bc62fd6a6e4ddfac3715dc2cd6b4
Drop test test_cyclehttps://github.com/python/cpython/pull/139403/commits/12b89892f1f53690c412e9a39f827f04bfaf6602
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
12b8989https://github.com/python/cpython/pull/139403/commits/12b89892f1f53690c412e9a39f827f04bfaf6602
https://github.com/python/cpython/tree/12b89892f1f53690c412e9a39f827f04bfaf6602
Drop now-unused importhttps://github.com/python/cpython/pull/139403/commits/0541d6f48c209dfaed8783a4171a68f19a0aa4bf
https://github.com/hartwork
hartworkhttps://github.com/python/cpython/commits?author=hartwork
0541d6fhttps://github.com/python/cpython/pull/139403/commits/0541d6f48c209dfaed8783a4171a68f19a0aa4bf
https://github.com/python/cpython/tree/0541d6f48c209dfaed8783a4171a68f19a0aa4bf
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.