René's URL Explorer Experiment


Title: gh-60198: Prevent memoryview pointing to freed heap memory by furkanonder · Pull Request #105290 · python/cpython · GitHub

Open Graph Title: gh-60198: Prevent memoryview pointing to freed heap memory by furkanonder · Pull Request #105290 · python/cpython

X Title: gh-60198: Prevent memoryview pointing to freed heap memory by furkanonder · Pull Request #105290 · python/cpython

Description: Issue: memoryview to freed memory can cause segfault #60198 Co-authored-by: Martin Panter vadmium+py@gmail.com

Open Graph Description: Issue: memoryview to freed memory can cause segfault #60198 Co-authored-by: Martin Panter vadmium+py@gmail.com

X Description: Issue: memoryview to freed memory can cause segfault #60198 Co-authored-by: Martin Panter vadmium+py@gmail.com

Mail addresses
vadmium+py@gmail.com

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

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:cd578baa-ed7f-3eda-3fd8-46732af38b84
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD42:2E5741:1E6383:2749DC:696B3872
html-safe-nonce858f6da2d5c70a6ce3099ddbd2bf41b00acf10d0aa6905873f6762031d1b6e72
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQyOjJFNTc0MToxRTYzODM6Mjc0OURDOjY5NkIzODcyIiwidmlzaXRvcl9pZCI6IjUxMDg3NzQwNTg4ODI0NDc0NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacef9dcaa7d4d28f00e26807f1778ccc9993ab6ef5163a9bcd174b2ebc9b5c85d5
hovercard-subject-tagpull_request:1377932661
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/105290/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/032a5bd324ef79399c7a14f3923ef6ae7dd2034ffcf7c09be645e10e87f58246/python/cpython/pull/105290
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/032a5bd324ef79399c7a14f3923ef6ae7dd2034ffcf7c09be645e10e87f58246/python/cpython/pull/105290
og:image:altIssue: memoryview to freed memory can cause segfault #60198 Co-authored-by: Martin Panter vadmium+py@gmail.com
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefurkanonder
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/105290#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F105290
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%2F105290
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/105290
Reloadhttps://github.com/python/cpython/pull/105290
Reloadhttps://github.com/python/cpython/pull/105290
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/105290
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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/105290
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/105290#issue-comment-box
furkanonderhttps://github.com/furkanonder
python:mainhttps://github.com/python/cpython/tree/main
furkanonder:issue-60198https://github.com/furkanonder/cpython/tree/issue-60198
gh-60198: Prevent memoryview pointing to freed heap memory https://github.com/python/cpython/pull/105290#top
furkanonderhttps://github.com/furkanonder
python:mainhttps://github.com/python/cpython/tree/main
furkanonder:issue-60198https://github.com/furkanonder/cpython/tree/issue-60198
Conversation 2 https://github.com/python/cpython/pull/105290
Commits 11 https://github.com/python/cpython/pull/105290/commits
Checks 0 https://github.com/python/cpython/pull/105290/checks
Files changed https://github.com/python/cpython/pull/105290/files
Please reload this pagehttps://github.com/python/cpython/pull/105290
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/furkanonder
furkanonderhttps://github.com/furkanonder
Jun 4, 2023https://github.com/python/cpython/pull/105290#issue-1740590606
Please reload this pagehttps://github.com/python/cpython/pull/105290
memoryview to freed memory can cause segfault #60198https://github.com/python/cpython/issues/60198
Please reload this pagehttps://github.com/python/cpython/pull/105290
https://github.com/furkanonder
Prevent memoryview points to freed heap memory.https://github.com/python/cpython/pull/105290/commits/426d4957f5d79e468b192b17cc7686f68079f7f3
426d495https://github.com/python/cpython/pull/105290/commits/426d4957f5d79e468b192b17cc7686f68079f7f3
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 4, 2023 https://github.com/python/cpython/pull/105290#ref-issue-1198888646
memoryview to freed memory can cause segfault #60198 https://github.com/python/cpython/issues/60198
furkanonderhttps://github.com/furkanonder
June 4, 2023 20:58https://github.com/python/cpython/pull/105290#commits-pushed-d106d12
https://github.com/furkanonder
Merge branch 'main' into issue-60198https://github.com/python/cpython/pull/105290/commits/d106d125347ad3eef4301fd8280101781c7158a1
d106d12https://github.com/python/cpython/pull/105290/commits/d106d125347ad3eef4301fd8280101781c7158a1
https://github.com/furkanonder
Merge branch 'main' into issue-60198https://github.com/python/cpython/pull/105290/commits/3a5a604a18920148ba8d38092f9530ee7a025e09
3a5a604https://github.com/python/cpython/pull/105290/commits/3a5a604a18920148ba8d38092f9530ee7a025e09
https://github.com/furkanonder
Merge branch 'main' into issue-60198https://github.com/python/cpython/pull/105290/commits/27cd033115f5d3551c5a4b4944903bdbf716ec39
27cd033https://github.com/python/cpython/pull/105290/commits/27cd033115f5d3551c5a4b4944903bdbf716ec39
https://github.com/furkanonder
Merge branch 'main' into issue-60198https://github.com/python/cpython/pull/105290/commits/bb29de17059637cc1d647d8e7e281738a756a7c2
bb29de1https://github.com/python/cpython/pull/105290/commits/bb29de17059637cc1d647d8e7e281738a756a7c2
https://github.com/furkanonder
Don't reduce ref count for memobj in _bufferedwriter_raw_writehttps://github.com/python/cpython/pull/105290/commits/1809a2ac371726d24a522e948f51727fc9dca8fd
1809a2ahttps://github.com/python/cpython/pull/105290/commits/1809a2ac371726d24a522e948f51727fc9dca8fd
https://github.com/furkanonder
Use _PyErr_ChainExceptions1 instead of _PyErr_ChainExceptionshttps://github.com/python/cpython/pull/105290/commits/7b2cddad8200164be959dd9b2372fe3d2cc063d6
7b2cddahttps://github.com/python/cpython/pull/105290/commits/7b2cddad8200164be959dd9b2372fe3d2cc063d6
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/105290/commits/83a4bf4da1612b1290392713e6105c885fd188d1
83a4bf4https://github.com/python/cpython/pull/105290/commits/83a4bf4da1612b1290392713e6105c885fd188d1
https://github.com/furkanonder
Mention Co-Author in the News entryhttps://github.com/python/cpython/pull/105290/commits/ad03e4a718ada2741d94d3164c0ee6469f041ecc
ad03e4ahttps://github.com/python/cpython/pull/105290/commits/ad03e4a718ada2741d94d3164c0ee6469f041ecc
https://github.com/furkanonder
furkanonderhttps://github.com/furkanonder
July 23, 2023 07:51https://github.com/python/cpython/pull/105290#event-9892305768
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 23, 2023https://github.com/python/cpython/pull/105290#event-9892305799
furkanonderhttps://github.com/furkanonder
July 23, 2023 09:51https://github.com/python/cpython/pull/105290#commits-pushed-c837064
https://github.com/furkanonder
Merge branch 'main' into issue-60198https://github.com/python/cpython/pull/105290/commits/c837064c812e544b0687d7f8a62d54ec02e09c21
c837064https://github.com/python/cpython/pull/105290/commits/c837064c812e544b0687d7f8a62d54ec02e09c21
https://github.com/furkanonder
Add test case to reproduce issuehttps://github.com/python/cpython/pull/105290/commits/7a81f608cea4af6d0c200b8039f96489bfaab69e
7a81f60https://github.com/python/cpython/pull/105290/commits/7a81f608cea4af6d0c200b8039f96489bfaab69e
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
type-security https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-security
type-crash https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-crash
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
type-security https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-security
Jul 30, 2023https://github.com/python/cpython/pull/105290#event-9955834378
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jul 30, 2023https://github.com/python/cpython/pull/105290#event-9955836913
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Jul 30, 2023https://github.com/python/cpython/pull/105290#event-9957201244
https://github.com/ambv
ambvhttps://github.com/ambv
Jul 31, 2023 https://github.com/python/cpython/pull/105290#pullrequestreview-1554138085
View reviewed changes https://github.com/python/cpython/pull/105290/files/7a81f608cea4af6d0c200b8039f96489bfaab69e
Modules/_io/bufferedio.chttps://github.com/python/cpython/pull/105290/files/7a81f608cea4af6d0c200b8039f96489bfaab69e#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
ambvhttps://github.com/ambv
Jul 31, 2023https://github.com/python/cpython/pull/105290#discussion_r1278902396
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/105290
https://github.com/furkanonder
furkanonderhttps://github.com/furkanonder
Aug 6, 2023https://github.com/python/cpython/pull/105290#event-10016319822
https://github.com/oconnor663
oconnor663https://github.com/oconnor663
Sep 1, 2023https://github.com/python/cpython/pull/105290#issuecomment-1703372826
Please reload this pagehttps://github.com/python/cpython/pull/105290
#60198 (comment)https://github.com/python/cpython/issues/60198#issuecomment-1093594116
Please reload this pagehttps://github.com/python/cpython/pull/105290
https://github.com/almarklein
almarkleinhttps://github.com/almarklein
Oct 16, 2023 https://github.com/python/cpython/pull/105290#ref-issue-648870826
Making buffer mapping part of the public API? pygfx/wgpu-py#114 https://github.com/pygfx/wgpu-py/issues/114
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
February 1, 2024 16:46https://github.com/python/cpython/pull/105290#event-11672854041
https://github.com/furkanonder
furkanonderhttps://github.com/furkanonder
extension-modules https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aextension-modules
Aug 19, 2025https://github.com/python/cpython/pull/105290#event-19222826748
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%2F105290
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/python/cpython/pull/105290/files/7a81f608cea4af6d0c200b8039f96489bfaab69e
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/gpshead
gpshead https://github.com/gpshead
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
extension-modules https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aextension-modules
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
type-crash https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-crash
Please reload this pagehttps://github.com/python/cpython/pull/105290
https://github.com/furkanonder
https://github.com/oconnor663
https://github.com/ambv
https://github.com/gpshead
https://github.com/bedevere-bot
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.