René's URL Explorer Experiment


Title: gh-152375: Fix UB in `INSTRUMENTED_JUMP` by StanFromIreland · Pull Request #152376 · python/cpython · GitHub

Open Graph Title: gh-152375: Fix UB in `INSTRUMENTED_JUMP` by StanFromIreland · Pull Request #152376 · python/cpython

X Title: gh-152375: Fix UB in `INSTRUMENTED_JUMP` by StanFromIreland · Pull Request #152376 · python/cpython

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

Open Graph Description: I didn't add a test, I think it's too messy here, but I don't feel strongly about it. It is also already covered (non-deterministically) by test_monitoring, as that's what triggered...

X Description: I didn't add a test, I think it's too messy here, but I don't feel strongly about it. It is also already covered (non-deterministically) by test_monitoring, as that'...

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

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:99031b5a-d825-8d8a-9ae0-a89b52de5391
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD59E:20FEA0:8230F3:B14919:6A51F975
html-safe-nonceef63e3bc0b907099c67dc15083047a76b9269b9a8de27ad46a07fe556f7e7575
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTlFOjIwRkVBMDo4MjMwRjM6QjE0OTE5OjZBNTFGOTc1IiwidmlzaXRvcl9pZCI6IjI2ODA5OTY3NzI0MDU1NTg5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac547ac12ca6758e39f18eb0a08ee5bba84a895c564d3857dbe3c1a8ae55bb9732
hovercard-subject-tagpull_request:3947068745
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/152376/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fd9108b4eaa4002b53187ec3f136c30d9cc785fea665bd9eb3054559a5bd9bde/python/cpython/pull/152376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd9108b4eaa4002b53187ec3f136c30d9cc785fea665bd9eb3054559a5bd9bde/python/cpython/pull/152376
og:image:altI didn't add a test, I think it's too messy here, but I don't feel strongly about it. It is also already covered (non-deterministically) by test_monitoring, as that's what triggered...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameStanFromIreland
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/152376#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152376
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%2F152376
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/152376
Reloadhttps://github.com/python/cpython/pull/152376
Reloadhttps://github.com/python/cpython/pull/152376
Please reload this pagehttps://github.com/python/cpython/pull/152376
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/152376
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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
StanFromIrelandhttps://github.com/StanFromIreland
python:mainhttps://github.com/python/cpython/tree/main
StanFromIreland:INSTRUMENTED_JUMP-ubhttps://github.com/StanFromIreland/cpython/tree/INSTRUMENTED_JUMP-ub
Conversationhttps://github.com/python/cpython/pull/152376
Commits2 (2)https://github.com/python/cpython/pull/152376/commits
Checkshttps://github.com/python/cpython/pull/152376/checks
Files changedhttps://github.com/python/cpython/pull/152376/files
gh-152375: Fix UB in INSTRUMENTED_JUMPhttps://github.com/python/cpython/pull/152376#top
StanFromIrelandhttps://github.com/StanFromIreland
python:mainhttps://github.com/python/cpython/tree/main
StanFromIreland:INSTRUMENTED_JUMP-ubhttps://github.com/StanFromIreland/cpython/tree/INSTRUMENTED_JUMP-ub
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jun 27, 2026https://github.com/python/cpython/pull/152376#issue-4757665030
Please reload this pagehttps://github.com/python/cpython/pull/152376
Pointer arithmetic on NULL in INSTRUMENTED_JUMP #152375https://github.com/python/cpython/issues/152375
Please reload this pagehttps://github.com/python/cpython/pull/152376
https://github.com/StanFromIreland
Fix UB in INSTRUMENTED_JUMPhttps://github.com/python/cpython/pull/152376/commits/452407ba77f88ed2128ea2eec8bfdc963ef961d7
452407bhttps://github.com/python/cpython/pull/152376/commits/452407ba77f88ed2128ea2eec8bfdc963ef961d7
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/b3154aa4507f6d2612c128e912860be963dbff1a/.github/CODEOWNERS#L226
June 27, 2026 09:08https://github.com/python/cpython/pull/152376#event-27276484055
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 27, 2026https://github.com/python/cpython/pull/152376#event-27276486089
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 27, 2026 https://github.com/python/cpython/pull/152376#ref-issue-4757624285
Pointer arithmetic on NULL in INSTRUMENTED_JUMP #152375 https://github.com/python/cpython/issues/152375
https://github.com/StanFromIreland
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152376
Add curses.scr_dump(), scr_restore(), scr_init() and scr_set() #152260 https://github.com/python/cpython/issues/152260
Don't require _testcapi and _testinternalcapi for test_monitoring.py #152311 https://github.com/python/cpython/pull/152311
https://github.com/StanFromIreland
Merge branch 'main' into INSTRUMENTED_JUMP-ubhttps://github.com/python/cpython/pull/152376/commits/9110586e1f5a265525be8a5e0dff63ef881daad9
9110586https://github.com/python/cpython/pull/152376/commits/9110586e1f5a265525be8a5e0dff63ef881daad9
https://github.com/serhiy-storchaka
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152376
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
iritkatrielhttps://github.com/iritkatriel
June 27, 2026 11:47https://github.com/python/cpython/pull/152376#event-27279009376
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Jun 27, 2026 https://github.com/python/cpython/pull/152376#pullrequestreview-4585156535
View reviewed changes https://github.com/python/cpython/pull/152376/files/9110586e1f5a265525be8a5e0dff63ef881daad9
Python/ceval_macros.hhttps://github.com/python/cpython/pull/152376/files/9110586e1f5a265525be8a5e0dff63ef881daad9#diff-45baf725df91ed7826458cda8a17c2b4a2e5296504de1ed6a1c5a9ebe6390a47
Please reload this pagehttps://github.com/python/cpython/pull/152376
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
iritkatrielhttps://github.com/iritkatriel
June 27, 2026 12:47https://github.com/python/cpython/pull/152376#event-27279862407
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Jun 27, 2026 https://github.com/python/cpython/pull/152376#pullrequestreview-4585665787
View reviewed changes https://github.com/python/cpython/pull/152376/files/9110586e1f5a265525be8a5e0dff63ef881daad9
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 27, 2026https://github.com/python/cpython/pull/152376#event-27283268921
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
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
Jun 27, 2026https://github.com/python/cpython/pull/152376#event-27284062421
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
cdec9achttps://github.com/python/cpython/commit/cdec9acd63c33d9b822700de8f63eb94d86e1c93
Jun 29, 2026https://github.com/python/cpython/pull/152376#event-27320946689
Please reload this pagehttps://github.com/python/cpython/pull/152376
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
June 29, 2026 09:06https://github.com/python/cpython/pull/152376#event-27320948229
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
Jun 29, 2026https://github.com/python/cpython/pull/152376#event-27320949201
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 29, 2026https://github.com/python/cpython/pull/152376#issuecomment-4830744137
@StanFromIrelandhttps://github.com/StanFromIreland
Please reload this pagehttps://github.com/python/cpython/pull/152376
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 29, 2026https://github.com/python/cpython/pull/152376#issuecomment-4830745753
GH-152566https://github.com/python/cpython/pull/152566
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/152376
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jun 29, 2026https://github.com/python/cpython/pull/152376#issuecomment-4830745926
@StanFromIrelandhttps://github.com/StanFromIreland
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/152376
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
Jun 29, 2026https://github.com/python/cpython/pull/152376#event-27320960055
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
StanFromIrelandhttps://github.com/StanFromIreland
Jun 29, 2026https://github.com/python/cpython/pull/152376#event-27320961116
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 29, 2026https://github.com/python/cpython/pull/152376#issuecomment-4830746461
GH-152567https://github.com/python/cpython/pull/152567
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/152376
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
Jun 29, 2026https://github.com/python/cpython/pull/152376#event-27320964034
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jun 29, 2026https://github.com/python/cpython/pull/152376#issuecomment-4830766621
Please reload this pagehttps://github.com/python/cpython/pull/152376
StanFromIrelandhttps://github.com/StanFromIreland
Jun 29, 2026 https://github.com/python/cpython/pull/152376#ref-commit-be68d9a
https://github.com/miss-islington
https://github.com/StanFromIreland
[3.14]https://github.com/python/cpython/commit/be68d9abca4f7d456811a8040d028f953f6ed14e
gh-152375https://github.com/python/cpython/issues/152375
: Fix undefined behaviour in thehttps://github.com/python/cpython/commit/be68d9abca4f7d456811a8040d028f953f6ed14e
INSTRUMENTED_JUMPhttps://github.com/python/cpython/commit/be68d9abca4f7d456811a8040d028f953f6ed14e
https://github.com/python/cpython/commit/be68d9abca4f7d456811a8040d028f953f6ed14e
be68d9ahttps://github.com/python/cpython/commit/be68d9abca4f7d456811a8040d028f953f6ed14e
GH-152376https://github.com/python/cpython/pull/152376
#152567https://github.com/python/cpython/pull/152567
cdec9achttps://github.com/python/cpython/commit/cdec9acd63c33d9b822700de8f63eb94d86e1c93
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 29, 2026https://github.com/python/cpython/pull/152376#issuecomment-4831082164
GH-152577https://github.com/python/cpython/pull/152577
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/152376
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jun 29, 2026https://github.com/python/cpython/pull/152376#event-27322673788
StanFromIrelandhttps://github.com/StanFromIreland
Jun 29, 2026 https://github.com/python/cpython/pull/152376#ref-commit-00a4304
https://github.com/miss-islington
https://github.com/StanFromIreland
[3.15]https://github.com/python/cpython/commit/00a43044d88101b44a67bdef40df14a77838bfbf
gh-152375https://github.com/python/cpython/issues/152375
: Fix undefined behaviour in thehttps://github.com/python/cpython/commit/00a43044d88101b44a67bdef40df14a77838bfbf
INSTRUMENTED_JUMPhttps://github.com/python/cpython/commit/00a43044d88101b44a67bdef40df14a77838bfbf
https://github.com/python/cpython/commit/00a43044d88101b44a67bdef40df14a77838bfbf
00a4304https://github.com/python/cpython/commit/00a43044d88101b44a67bdef40df14a77838bfbf
GH-152376https://github.com/python/cpython/pull/152376
#152566https://github.com/python/cpython/pull/152566
cdec9achttps://github.com/python/cpython/commit/cdec9acd63c33d9b822700de8f63eb94d86e1c93
StanFromIrelandhttps://github.com/StanFromIreland
Jun 29, 2026 https://github.com/python/cpython/pull/152376#ref-commit-1638151
https://github.com/StanFromIreland
[3.13]https://github.com/python/cpython/commit/16381511ebcea041bf56db40e3f5675d27306c25
gh-152375https://github.com/python/cpython/issues/152375
: Fix undefined behaviour in thehttps://github.com/python/cpython/commit/16381511ebcea041bf56db40e3f5675d27306c25
INSTRUMENTED_JUMPhttps://github.com/python/cpython/commit/16381511ebcea041bf56db40e3f5675d27306c25
https://github.com/python/cpython/commit/16381511ebcea041bf56db40e3f5675d27306c25
1638151https://github.com/python/cpython/commit/16381511ebcea041bf56db40e3f5675d27306c25
GH-152376https://github.com/python/cpython/pull/152376
#152577https://github.com/python/cpython/pull/152577
cdec9achttps://github.com/python/cpython/commit/cdec9acd63c33d9b822700de8f63eb94d86e1c93
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%2F152376
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/152376/files/9110586e1f5a265525be8a5e0dff63ef881daad9
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
Please reload this pagehttps://github.com/python/cpython/pull/152376
https://github.com/StanFromIreland
https://github.com/serhiy-storchaka
https://github.com/iritkatriel
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.