René's URL Explorer Experiment


Title: gh-148850: Fix memory sanitizer false positive in os.getrandom by petervanvugt · Pull Request #148851 · python/cpython · GitHub

Open Graph Title: gh-148850: Fix memory sanitizer false positive in os.getrandom by petervanvugt · Pull Request #148851 · python/cpython

X Title: gh-148850: Fix memory sanitizer false positive in os.getrandom by petervanvugt · Pull Request #148851 · python/cpython

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

Open Graph Description: This marks the memory filled by the getrandom syscall as having been initialized when os.getrandom() is called. Without this, accessing this memory will cause a false positive when the memory sanit...

X Description: This marks the memory filled by the getrandom syscall as having been initialized when os.getrandom() is called. Without this, accessing this memory will cause a false positive when the memory sanit...

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

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:cff1e166-fb46-f565-8c9c-a0b60a8f525b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB83E:2D857A:1DD22DD:28C04B1:6A537ED0
html-safe-nonce3b0806d6bc3faa6d3d9ca9bfc3ba54e60c349f44ebece77b2bfa77874322a035
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODNFOjJEODU3QToxREQyMkREOjI4QzA0QjE6NkE1MzdFRDAiLCJ2aXNpdG9yX2lkIjoiMTE0MTgwNDYwMjAyMDI5ODQ0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf3f3b9e35cb292e673f9855f0091d28aee3615bf632555850697bf1b1cd5b7a8
hovercard-subject-tagpull_request:3563636767
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/148851/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/371311194a8bd531b9f8fcfb70826011e916f2716193d741e7b2d6540b6a5f81/python/cpython/pull/148851
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/371311194a8bd531b9f8fcfb70826011e916f2716193d741e7b2d6540b6a5f81/python/cpython/pull/148851
og:image:altThis marks the memory filled by the getrandom syscall as having been initialized when os.getrandom() is called. Without this, accessing this memory will cause a false positive when the memory sanit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepetervanvugt
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/148851#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F148851
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%2F148851
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/148851
Reloadhttps://github.com/python/cpython/pull/148851
Reloadhttps://github.com/python/cpython/pull/148851
Please reload this pagehttps://github.com/python/cpython/pull/148851
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/148851
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
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
petervanvugt:fix-issue-148850https://github.com/petervanvugt/cpython/tree/fix-issue-148850
Conversationhttps://github.com/python/cpython/pull/148851
Commits5 (5)https://github.com/python/cpython/pull/148851/commits
Checkshttps://github.com/python/cpython/pull/148851/checks
Files changedhttps://github.com/python/cpython/pull/148851/files
gh-148850: Fix memory sanitizer false positive in os.getrandomhttps://github.com/python/cpython/pull/148851#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
petervanvugt:fix-issue-148850https://github.com/petervanvugt/cpython/tree/fix-issue-148850
https://github.com/petervanvugt
petervanvugthttps://github.com/petervanvugt
Apr 21, 2026https://github.com/python/cpython/pull/148851#issue-4304798881
Please reload this pagehttps://github.com/python/cpython/pull/148851
Memory sanitizer generates false positives on data returned by os.getrandom() #148850https://github.com/python/cpython/issues/148850
Please reload this pagehttps://github.com/python/cpython/pull/148851
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Apr 21, 2026https://github.com/python/cpython/pull/148851#issuecomment-4291185036
Please reload this pagehttps://github.com/python/cpython/pull/148851
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/148851
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
Apr 21, 2026https://github.com/python/cpython/pull/148851#event-24730642813
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 21, 2026https://github.com/python/cpython/pull/148851#issuecomment-4291185096
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/148851
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 21, 2026 https://github.com/python/cpython/pull/148851#ref-issue-4304724642
Memory sanitizer generates false positives on data returned by os.getrandom() #148850 https://github.com/python/cpython/issues/148850
https://github.com/encukou
encukouhttps://github.com/encukou
Apr 23, 2026 https://github.com/python/cpython/pull/148851#pullrequestreview-4160588100
View reviewed changes https://github.com/python/cpython/pull/148851/files
Include/pyport.hhttps://github.com/python/cpython/pull/148851/files#diff-4832eab2bfe1a8edc0ca7d7661126bd69d8f4e41916624e3ed48389b6ced6b02
Please reload this pagehttps://github.com/python/cpython/pull/148851
Include/pyport.hhttps://github.com/python/cpython/pull/148851/files#diff-4832eab2bfe1a8edc0ca7d7661126bd69d8f4e41916624e3ed48389b6ced6b02
Please reload this pagehttps://github.com/python/cpython/pull/148851
petervanvugthttps://github.com/petervanvugt
April 23, 2026 11:20https://github.com/python/cpython/pull/148851#commits-pushed-4a0bdb6
https://github.com/petervanvugt
pythongh-148850https://github.com/python/cpython/issues/148850
: Fix msan false positive in os.getrandomhttps://github.com/python/cpython/pull/148851/commits/4a0bdb610f265af971f7ca17c1a29a6ab1d2ea50
4a0bdb6https://github.com/python/cpython/pull/148851/commits/4a0bdb610f265af971f7ca17c1a29a6ab1d2ea50
https://github.com/apps/blurb-it
https://github.com/petervanvugt
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/148851/commits/d7337e067dde8b6223556aabe15e9974f15e0d61
d7337e0https://github.com/python/cpython/pull/148851/commits/d7337e067dde8b6223556aabe15e9974f15e0d61
https://github.com/petervanvugt
PR feedbackhttps://github.com/python/cpython/pull/148851/commits/f455687600596a0c534efa1cc670310c69a19281
f455687https://github.com/python/cpython/pull/148851/commits/f455687600596a0c534efa1cc670310c69a19281
https://github.com/petervanvugt
https://github.com/encukou
Update Include/pyport.hhttps://github.com/python/cpython/pull/148851/commits/a0ff7faf6bb28894239b62034f691edcf5f9194e
a0ff7fahttps://github.com/python/cpython/pull/148851/commits/a0ff7faf6bb28894239b62034f691edcf5f9194e
https://github.com/petervanvugt
https://github.com/encukou
Update Include/pyport.hhttps://github.com/python/cpython/pull/148851/commits/587949b13f1cecc3016a3b62be17d6a6fbf37633
587949bhttps://github.com/python/cpython/pull/148851/commits/587949b13f1cecc3016a3b62be17d6a6fbf37633
https://github.com/petervanvugt
petervanvugthttps://github.com/petervanvugt
force-pushedhttps://github.com/python/cpython/compare/db603c0072c49bfcbf5a345b6687eb6b85ddc7ea..587949b13f1cecc3016a3b62be17d6a6fbf37633
db603c0https://github.com/python/cpython/commit/db603c0072c49bfcbf5a345b6687eb6b85ddc7ea
587949bhttps://github.com/python/cpython/commit/587949b13f1cecc3016a3b62be17d6a6fbf37633
Compare https://github.com/python/cpython/compare/db603c0072c49bfcbf5a345b6687eb6b85ddc7ea..587949b13f1cecc3016a3b62be17d6a6fbf37633
April 23, 2026 18:20https://github.com/python/cpython/pull/148851#event-24808263671
https://github.com/encukou
encukouhttps://github.com/encukou
9668d26https://github.com/python/cpython/commit/9668d260a197207b440c8e65f09f4cc24b9cd566
May 1, 2026https://github.com/python/cpython/pull/148851#event-25074400844
Please reload this pagehttps://github.com/python/cpython/pull/148851
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 1, 2026https://github.com/python/cpython/pull/148851#event-25074402261
https://github.com/encukou
encukouhttps://github.com/encukou
May 1, 2026https://github.com/python/cpython/pull/148851#issuecomment-4360116392
Please reload this pagehttps://github.com/python/cpython/pull/148851
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%2F148851
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/148851/files/fc2402930aea53b39a2b491332a19fa2857e0bf4
Please reload this pagehttps://github.com/python/cpython/pull/148851
https://github.com/petervanvugt
https://github.com/encukou
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.