René's URL Explorer Experiment


Title: gh-149931: Fix memory leaks on failed realloc by aisk · Pull Request #149932 · python/cpython · GitHub

Open Graph Title: gh-149931: Fix memory leaks on failed realloc by aisk · Pull Request #149932 · python/cpython

X Title: gh-149931: Fix memory leaks on failed realloc by aisk · Pull Request #149932 · python/cpython

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

Open Graph Description: Issue: Possible memory leaks when realloc fails #149931

X Description: Issue: Possible memory leaks when realloc fails #149931

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:1d778689-8bc9-7943-41df-36349191b576
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC71E:B1B84:32F4099:40D3A0E:6B021055
html-safe-noncef7f9cd763572c5a1ee65850f31c90ae57b1ad80a7a7ed1b4ac51af8cfab4176f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzFFOkIxQjg0OjMyRjQwOTk6NDBEM0EwRTo2QjAyMTA1NSIsInZpc2l0b3JfaWQiOiI4NzU3MTU4MTMwODMwNTgyNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacac5e9f92d46f11445e14d067adff99d2337c1fde1e022547693bf6119c0b8351
hovercard-subject-tagpull_request:3696475890
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/149932/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ab93d00f1826710a021bd6408834837d4a14c38c706bb887ce8a5f3f6df60a35/python/cpython/pull/149932
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ab93d00f1826710a021bd6408834837d4a14c38c706bb887ce8a5f3f6df60a35/python/cpython/pull/149932
og:image:altIssue: Possible memory leaks when realloc fails #149931
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaisk
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/149932#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149932
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149932
Sign uphttps://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/149932
Reloadhttps://github.com/python/cpython/pull/149932
Reloadhttps://github.com/python/cpython/pull/149932
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
aisk:leak-on-reallochttps://github.com/aisk/cpython/tree/leak-on-realloc
Conversationhttps://github.com/python/cpython/pull/149932
Commits3 (3)https://github.com/python/cpython/pull/149932/commits
Checkshttps://github.com/python/cpython/pull/149932/checks
Files changedhttps://github.com/python/cpython/pull/149932/files
gh-149931: Fix memory leaks on failed reallochttps://github.com/python/cpython/pull/149932#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
aisk:leak-on-reallochttps://github.com/aisk/cpython/tree/leak-on-realloc
https://github.com/aisk
aiskhttps://github.com/aisk
May 17, 2026https://github.com/python/cpython/pull/149932#issue-4462463927
Please reload this pagehttps://github.com/python/cpython/pull/149932
Possible memory leaks when realloc fails #149931https://github.com/python/cpython/issues/149931
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/aisk
Fix memory leaks on failed reallochttps://github.com/python/cpython/pull/149932/commits/2c0792f95d2734196b9e4a0e08a2b28698fecb73
2c0792fhttps://github.com/python/cpython/pull/149932/commits/2c0792f95d2734196b9e4a0e08a2b28698fecb73
https://github.com/aisk
aiskhttps://github.com/aisk
StanFromIrelandhttps://github.com/StanFromIreland
pablogsalhttps://github.com/pablogsal
pgansslehttps://github.com/pganssle
code ownershttps://github.com/python/cpython/blob/5f8d9d35753e22946880d4fefb123e8234706266/.github/CODEOWNERS#L440
May 17, 2026 06:00https://github.com/python/cpython/pull/149932#event-25621070611
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
May 17, 2026https://github.com/python/cpython/pull/149932#event-25621071494
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 17, 2026 https://github.com/python/cpython/pull/149932#ref-issue-4462457327
Possible memory leaks when realloc fails #149931 https://github.com/python/cpython/issues/149931
https://github.com/aisk
aiskhttps://github.com/aisk
May 17, 2026https://github.com/python/cpython/pull/149932#issuecomment-4469589322
Please reload this pagehttps://github.com/python/cpython/pull/149932
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/aisk
aiskhttps://github.com/aisk
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 17, 2026https://github.com/python/cpython/pull/149932#event-25621296612
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
May 17, 2026 https://github.com/python/cpython/pull/149932#pullrequestreview-4305019713
View reviewed changes https://github.com/python/cpython/pull/149932/files/2c0792f95d2734196b9e4a0e08a2b28698fecb73
Misc/NEWS.d/next/Library/2026-05-17-14-58-21.gh-issue-149931.9Oh2go.rsthttps://github.com/python/cpython/pull/149932/files/2c0792f95d2734196b9e4a0e08a2b28698fecb73#diff-04e32c0bd05a1a83c132615ca103191da6b5364dad3a9c05d28f0c9c47ec47a5
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/aisk
Remove news entryhttps://github.com/python/cpython/pull/149932/commits/eab61bf01efa6fe114eeaaf7d2d121e7e6e0362a
eab61bfhttps://github.com/python/cpython/pull/149932/commits/eab61bf01efa6fe114eeaaf7d2d121e7e6e0362a
https://github.com/aisk
aiskhttps://github.com/aisk
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
May 17, 2026https://github.com/python/cpython/pull/149932#event-25625817718
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
May 17, 2026 https://github.com/python/cpython/pull/149932#pullrequestreview-4305447605
View reviewed changes https://github.com/python/cpython/pull/149932/files/eab61bf01efa6fe114eeaaf7d2d121e7e6e0362a
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 17, 2026https://github.com/python/cpython/pull/149932#event-25626127342
https://github.com/MojoVampire
MojoVampirehttps://github.com/MojoVampire
May 18, 2026 https://github.com/python/cpython/pull/149932#pullrequestreview-4314477163
View reviewed changes https://github.com/python/cpython/pull/149932/files/eab61bf01efa6fe114eeaaf7d2d121e7e6e0362a
Modules/timemodule.chttps://github.com/python/cpython/pull/149932/files/eab61bf01efa6fe114eeaaf7d2d121e7e6e0362a#diff-5b4563bfeddc3e20890eada5c8aa651b107a05a0ca8008ae839b86e67897e679
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/aisk
free outbuf on errorhttps://github.com/python/cpython/pull/149932/commits/f1c5782e4e049db8473e8e8f4875b5816b0c362e
f1c5782https://github.com/python/cpython/pull/149932/commits/f1c5782e4e049db8473e8e8f4875b5816b0c362e
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2026 https://github.com/python/cpython/pull/149932#pullrequestreview-4359484368
View reviewed changes https://github.com/python/cpython/pull/149932/files/f1c5782e4e049db8473e8e8f4875b5816b0c362e
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2026https://github.com/python/cpython/pull/149932#issuecomment-4538500751
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
ec23ec6https://github.com/python/cpython/commit/ec23ec6870373b64a760f4d7bcc3ed5495e1c9aa
May 26, 2026https://github.com/python/cpython/pull/149932#event-25944408230
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 26, 2026https://github.com/python/cpython/pull/149932#issuecomment-4538502817
@aiskhttps://github.com/aisk
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 26, 2026https://github.com/python/cpython/pull/149932#event-25944409338
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 26, 2026https://github.com/python/cpython/pull/149932#issuecomment-4538503859
@aiskhttps://github.com/aisk
@pablogsalhttps://github.com/pablogsal
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
pablogsalhttps://github.com/pablogsal
May 26, 2026https://github.com/python/cpython/pull/149932#event-25944412712
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 26, 2026https://github.com/python/cpython/pull/149932#issuecomment-4538504342
GH-150439https://github.com/python/cpython/pull/150439
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
May 26, 2026https://github.com/python/cpython/pull/149932#event-25944415738
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2026https://github.com/python/cpython/pull/149932#issuecomment-4538507944
@aiskhttps://github.com/aisk
Please reload this pagehttps://github.com/python/cpython/pull/149932
pablogsalhttps://github.com/pablogsal
May 26, 2026 https://github.com/python/cpython/pull/149932#ref-commit-d73e433
https://github.com/miss-islington
[3.15]https://github.com/python/cpython/commit/d73e43317e08e6d2ce693c61ca6e751996da2d43
gh-149931https://github.com/python/cpython/issues/149931
: Fix memory leaks on failed realloc (https://github.com/python/cpython/commit/d73e43317e08e6d2ce693c61ca6e751996da2d43
GH-149932https://github.com/python/cpython/pull/149932
) (https://github.com/python/cpython/commit/d73e43317e08e6d2ce693c61ca6e751996da2d43
#15…https://github.com/python/cpython/pull/150439
d73e433https://github.com/python/cpython/commit/d73e43317e08e6d2ce693c61ca6e751996da2d43
…0439https://github.com/python/cpython/pull/150439
https://github.com/aisk
aiskhttps://github.com/aisk
May 26, 2026 01:23https://github.com/python/cpython/pull/149932#event-25945703474
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 26, 2026https://github.com/python/cpython/pull/149932#issuecomment-4544255223
GH-150476https://github.com/python/cpython/pull/150476
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 26, 2026https://github.com/python/cpython/pull/149932#event-25967698288
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F149932
https://github.com/MojoVampire
MojoVampire https://github.com/MojoVampire
https://github.com/python/cpython/pull/149932/files/eab61bf01efa6fe114eeaaf7d2d121e7e6e0362a
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/149932/files/f1c5782e4e049db8473e8e8f4875b5816b0c362e
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/python/cpython/pull/149932/files/eab61bf01efa6fe114eeaaf7d2d121e7e6e0362a
https://github.com/pganssle
pganssle https://github.com/pganssle
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/149932
https://github.com/aisk
https://github.com/pablogsal
https://github.com/MojoVampire
https://github.com/StanFromIreland
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.