René's URL Explorer Experiment


Title: gh-111178: fix UBSan failures in `Modules/_hashopenssl.c` by picnixz · Pull Request #129802 · python/cpython · GitHub

Open Graph Title: gh-111178: fix UBSan failures in `Modules/_hashopenssl.c` by picnixz · Pull Request #129802 · python/cpython

X Title: gh-111178: fix UBSan failures in `Modules/_hashopenssl.c` by picnixz · Pull Request #129802 · python/cpython

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

Open Graph Description: This PR fixes the UBSan failures and addresses some minor cosmetic changes. PEP-7 changes were not applied since they could scramble the diff but other semantic changes affecting the signature of t...

X Description: This PR fixes the UBSan failures and addresses some minor cosmetic changes. PEP-7 changes were not applied since they could scramble the diff but other semantic changes affecting the signature of t...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:889675f4-2b4f-e042-64c8-4717dc3a43ba
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85DC:2A3B86:2880B8:38DE02:696A070E
html-safe-noncef85aa45a2f879f7f02cf75570099f8fc75cbe21158c7aef5b5e0a4f13e8c5cbe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NURDOjJBM0I4NjoyODgwQjg6MzhERTAyOjY5NkEwNzBFIiwidmlzaXRvcl9pZCI6IjI1NDI4MjU4NzE3MTc4MjgzNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfde24504f32258aa8f0c9042b09dca719861f26e9bcc91e3184f83f7934b869b
hovercard-subject-tagpull_request:2322090926
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/129802/commits
twitter:imagehttps://opengraph.githubassets.com/db4741ea805ab06e23bfc5689431664c592a39bfe312c3bc8514c73a44b5360e/python/cpython/pull/129802
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/db4741ea805ab06e23bfc5689431664c592a39bfe312c3bc8514c73a44b5360e/python/cpython/pull/129802
og:image:altThis PR fixes the UBSan failures and addresses some minor cosmetic changes. PEP-7 changes were not applied since they could scramble the diff but other semantic changes affecting the signature of t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
None578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc
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
release671c2f67171dbced24284331f3133a613d08c366
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/129802/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F129802%2Fcommits
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%2F129802%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/129802/commits
Reloadhttps://github.com/python/cpython/pull/129802/commits
Reloadhttps://github.com/python/cpython/pull/129802/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/129802/commits
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/129802/commits
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
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/ubsan/hashlib-111178https://github.com/picnixz/cpython/tree/fix/ubsan/hashlib-111178
Conversationhttps://github.com/python/cpython/pull/129802
Commits11 (11)https://github.com/python/cpython/pull/129802/commits
Checkshttps://github.com/python/cpython/pull/129802/checks
Files changedhttps://github.com/python/cpython/pull/129802/files
gh-111178: fix UBSan failures in Modules/_hashopenssl.chttps://github.com/python/cpython/pull/129802/commits#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/ubsan/hashlib-111178https://github.com/picnixz/cpython/tree/fix/ubsan/hashlib-111178
fix UBSan failures for `EVPobject`https://github.com/python/cpython/pull/129802/commits/fd378ad6ce722b11718d2e30af9a4edef393a0e9
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
fd378adhttps://github.com/python/cpython/pull/129802/commits/fd378ad6ce722b11718d2e30af9a4edef393a0e9
https://github.com/python/cpython/tree/fd378ad6ce722b11718d2e30af9a4edef393a0e9
fix UBSan failures for `HMACobject`https://github.com/python/cpython/pull/129802/commits/77493a40fdc9177b399b03419e02ab92cc6bce68
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
77493a4https://github.com/python/cpython/pull/129802/commits/77493a40fdc9177b399b03419e02ab92cc6bce68
https://github.com/python/cpython/tree/77493a40fdc9177b399b03419e02ab92cc6bce68
suppress unused return valueshttps://github.com/python/cpython/pull/129802/commits/7c59c744e3fb3f30ca1badab2a7b79d04aa98bcb
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
7c59c74https://github.com/python/cpython/pull/129802/commits/7c59c744e3fb3f30ca1badab2a7b79d04aa98bcb
https://github.com/python/cpython/tree/7c59c744e3fb3f30ca1badab2a7b79d04aa98bcb
remove redundant castshttps://github.com/python/cpython/pull/129802/commits/66cf1fb559f410db7fe88f341374ce7e2ce5647a
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
66cf1fbhttps://github.com/python/cpython/pull/129802/commits/66cf1fb559f410db7fe88f341374ce7e2ce5647a
https://github.com/python/cpython/tree/66cf1fb559f410db7fe88f341374ce7e2ce5647a
Merge remote-tracking branch 'upstream/main' into fix/ubsan/hashlib-111178https://github.com/python/cpython/pull/129802/commits/3008ebba9d9786de16dae7eb6e417b15962655f9
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
3008ebbhttps://github.com/python/cpython/pull/129802/commits/3008ebba9d9786de16dae7eb6e417b15962655f9
https://github.com/python/cpython/tree/3008ebba9d9786de16dae7eb6e417b15962655f9
Merge remote-tracking branch 'upstream/main' into fix/ubsan/hashlib-111178https://github.com/python/cpython/pull/129802/commits/b676e6c87a243daab3394fc840b1955c6e3c1309
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
b676e6chttps://github.com/python/cpython/pull/129802/commits/b676e6c87a243daab3394fc840b1955c6e3c1309
https://github.com/python/cpython/tree/b676e6c87a243daab3394fc840b1955c6e3c1309
Do Do not use `_` + capital letter in new code as it is also UB.https://github.com/python/cpython/pull/129802/commits/b932b8333520aaf0eea6a34e939536bcead96297
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
b932b83https://github.com/python/cpython/pull/129802/commits/b932b8333520aaf0eea6a34e939536bcead96297
https://github.com/python/cpython/tree/b932b8333520aaf0eea6a34e939536bcead96297
Merge branch 'main' into fix/ubsan/hashlib-111178https://github.com/python/cpython/pull/129802/commits/1d62ecd50c413bc1a646a6ab3858243be7a3e6ee
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
1d62ecdhttps://github.com/python/cpython/pull/129802/commits/1d62ecd50c413bc1a646a6ab3858243be7a3e6ee
https://github.com/python/cpython/tree/1d62ecd50c413bc1a646a6ab3858243be7a3e6ee
fix a bad representation!https://github.com/python/cpython/pull/129802/commits/26faaa59b44e07ab6e5eb227e505ddf08aacf5f7
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
26faaa5https://github.com/python/cpython/pull/129802/commits/26faaa59b44e07ab6e5eb227e505ddf08aacf5f7
https://github.com/python/cpython/tree/26faaa59b44e07ab6e5eb227e505ddf08aacf5f7
remove unnecessary forward declarationhttps://github.com/python/cpython/pull/129802/commits/30e0c9b237afe4544b13c6956a37d497c7aaa3a8
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
30e0c9bhttps://github.com/python/cpython/pull/129802/commits/30e0c9b237afe4544b13c6956a37d497c7aaa3a8
https://github.com/python/cpython/tree/30e0c9b237afe4544b13c6956a37d497c7aaa3a8
Merge in the main branchhttps://github.com/python/cpython/pull/129802/commits/c4cd5bb3f3c19426046036ba4c406541390a2c9c
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
c4cd5bbhttps://github.com/python/cpython/pull/129802/commits/c4cd5bb3f3c19426046036ba4c406541390a2c9c
https://github.com/python/cpython/tree/c4cd5bb3f3c19426046036ba4c406541390a2c9c
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.