René's URL Explorer Experiment


Title: gh-106844: Fix null-bytes handling in `LCMapStringEx` in `_winapi` by sobolevn · Pull Request #106857 · python/cpython · GitHub

Open Graph Title: gh-106844: Fix null-bytes handling in `LCMapStringEx` in `_winapi` by sobolevn · Pull Request #106857 · python/cpython

X Title: gh-106844: Fix null-bytes handling in `LCMapStringEx` in `_winapi` by sobolevn · Pull Request #106857 · python/cpython

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

Open Graph Description: I've changed the clinic definition + backported changes made by @zooba in 927b5af#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8 Issue: _winapi.LCMapStringEx fails when...

X Description: I've changed the clinic definition + backported changes made by @zooba in 927b5af#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8 Issue: _winapi.LCMapStringEx fails ...

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

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:90418824-4971-3929-ee5f-326b3a9a0135
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA22:2AE2E2:7AA02BC:A3A25E2:6A5E1770
html-safe-nonce5690c35e3bf1741b6ab86872384994f264cae8535dfb0a321eff64acea850708
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTIyOjJBRTJFMjo3QUEwMkJDOkEzQTI1RTI6NkE1RTE3NzAiLCJ2aXNpdG9yX2lkIjoiMTEzNzE2NDI4NDk5NDY1NjExMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacba12df1057d3eeeaa8e70bfea44667cd53e77f5857c3b6a4665bb3d3080a2e95
hovercard-subject-tagpull_request:1438959374
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/106857/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0a1cf3c55fa979495d27cb207dfbfbcb42a5e8889e8a5b234f586fb61c068db9/python/cpython/pull/106857
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a1cf3c55fa979495d27cb207dfbfbcb42a5e8889e8a5b234f586fb61c068db9/python/cpython/pull/106857
og:image:altI've changed the clinic definition + backported changes made by @zooba in 927b5af#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8 Issue: _winapi.LCMapStringEx fails when...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Noned4a572b82dcecf0667243946ab33171fae36ea3b282a90c368cd553220df258f
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
releasef2da5f89a14df1202295f828eac9035e3a4d2b2b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/106857#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F106857
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%2F106857
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/106857
Reloadhttps://github.com/python/cpython/pull/106857
Reloadhttps://github.com/python/cpython/pull/106857
Please reload this pagehttps://github.com/python/cpython/pull/106857
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/106857
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.4k 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
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-106844https://github.com/sobolevn/cpython/tree/issue-106844
Conversationhttps://github.com/python/cpython/pull/106857
Commits6 (6)https://github.com/python/cpython/pull/106857/commits
Checkshttps://github.com/python/cpython/pull/106857/checks
Files changedhttps://github.com/python/cpython/pull/106857/files
gh-106844: Fix null-bytes handling in LCMapStringEx in _winapihttps://github.com/python/cpython/pull/106857#top
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-106844https://github.com/sobolevn/cpython/tree/issue-106844
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Jul 18, 2023https://github.com/python/cpython/pull/106857#issue-1809606556
Please reload this pagehttps://github.com/python/cpython/pull/106857
@zoobahttps://github.com/zooba
927b5af#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8https://github.com/python/cpython/commit/927b5afee73218500a8fa80df86216cfdc24ef5a#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
_winapi.LCMapStringEx fails when encountering a string containing null characters #106844https://github.com/python/cpython/issues/106844
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/sobolevn
pythongh-106844https://github.com/python/cpython/issues/106844
: Fix null-bytes handling inhttps://github.com/python/cpython/pull/106857/commits/dff8b2f15f94d5c40677b68c3771ec5c096c7d8c
LCMapStringExhttps://github.com/python/cpython/pull/106857/commits/dff8b2f15f94d5c40677b68c3771ec5c096c7d8c
inhttps://github.com/python/cpython/pull/106857/commits/dff8b2f15f94d5c40677b68c3771ec5c096c7d8c
_winapihttps://github.com/python/cpython/pull/106857/commits/dff8b2f15f94d5c40677b68c3771ec5c096c7d8c
dff8b2fhttps://github.com/python/cpython/pull/106857/commits/dff8b2f15f94d5c40677b68c3771ec5c096c7d8c
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 18, 2023https://github.com/python/cpython/pull/106857#event-9848438995
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jul 18, 2023 https://github.com/python/cpython/pull/106857#ref-issue-1808764869
_winapi.LCMapStringEx fails when encountering a string containing null characters #106844 https://github.com/python/cpython/issues/106844
https://github.com/sobolevn
Fix CIhttps://github.com/python/cpython/pull/106857/commits/46be70ba601d3df0495e227bb4b0ca69aaed6d8b
46be70bhttps://github.com/python/cpython/pull/106857/commits/46be70ba601d3df0495e227bb4b0ca69aaed6d8b
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 18, 2023 https://github.com/python/cpython/pull/106857#pullrequestreview-1535032859
View reviewed changes https://github.com/python/cpython/pull/106857/files/46be70ba601d3df0495e227bb4b0ca69aaed6d8b
Modules/_winapi.chttps://github.com/python/cpython/pull/106857/files/46be70ba601d3df0495e227bb4b0ca69aaed6d8b#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 18, 2023https://github.com/python/cpython/pull/106857#discussion_r1266770237
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
sobolevnhttps://github.com/sobolevn
Jul 18, 2023https://github.com/python/cpython/pull/106857#discussion_r1267030299
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
927b5af#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8R1518https://github.com/python/cpython/commit/927b5afee73218500a8fa80df86216cfdc24ef5a#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8R1518
Please reload this pagehttps://github.com/python/cpython/pull/106857
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 19, 2023https://github.com/python/cpython/pull/106857#discussion_r1267536117
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
zoobahttps://github.com/zooba
Aug 9, 2023https://github.com/python/cpython/pull/106857#discussion_r1289261640
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
Modules/_winapi.chttps://github.com/python/cpython/pull/106857/files/46be70ba601d3df0495e227bb4b0ca69aaed6d8b#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 18, 2023https://github.com/python/cpython/pull/106857#discussion_r1266774570
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
zoobahttps://github.com/zooba
Aug 9, 2023https://github.com/python/cpython/pull/106857#discussion_r1289254749
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 10, 2023https://github.com/python/cpython/pull/106857#discussion_r1289749688
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 19, 2023 https://github.com/python/cpython/pull/106857#pullrequestreview-1536251751
View reviewed changes https://github.com/python/cpython/pull/106857/files/46be70ba601d3df0495e227bb4b0ca69aaed6d8b
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/106857#pullrequestreview-1536251751
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
Modules/_winapi.chttps://github.com/python/cpython/pull/106857/files/46be70ba601d3df0495e227bb4b0ca69aaed6d8b#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 19, 2023https://github.com/python/cpython/pull/106857#discussion_r1267536117
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 19, 2023https://github.com/python/cpython/pull/106857#event-9857867097
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jul 19, 2023https://github.com/python/cpython/pull/106857#issuecomment-1641412716
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Jul 19, 2023https://github.com/python/cpython/pull/106857#event-9857868997
https://github.com/zooba
zoobahttps://github.com/zooba
Aug 9, 2023https://github.com/python/cpython/pull/106857#issuecomment-1672049851
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/zooba
zoobahttps://github.com/zooba
Aug 9, 2023https://github.com/python/cpython/pull/106857#issuecomment-1672229168
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/zooba
zoobahttps://github.com/zooba
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Aug 9, 2023https://github.com/python/cpython/pull/106857#event-10052943660
serhiy-storchakahttps://github.com/serhiy-storchaka
August 10, 2023 11:26https://github.com/python/cpython/pull/106857#commits-pushed-13ce79c
https://github.com/serhiy-storchaka
Keep simpler code for the locale parameter.https://github.com/python/cpython/pull/106857/commits/13ce79c19b3a330dcc19d3e3d52e54654d89fe26
13ce79chttps://github.com/python/cpython/pull/106857/commits/13ce79c19b3a330dcc19d3e3d52e54654d89fe26
https://github.com/serhiy-storchaka
Handle large strings containing the null character.https://github.com/python/cpython/pull/106857/commits/88d4193d3ae3903b975ecfe132c60e639d7acf8a
88d4193https://github.com/python/cpython/pull/106857/commits/88d4193d3ae3903b975ecfe132c60e639d7acf8a
https://github.com/serhiy-storchaka
Merge branch 'main' into issue-106844https://github.com/python/cpython/pull/106857/commits/73551b9e289058ccf1cec349933ec806d4e0ff7e
73551b9https://github.com/python/cpython/pull/106857/commits/73551b9e289058ccf1cec349933ec806d4e0ff7e
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 10, 2023 https://github.com/python/cpython/pull/106857#ref-pullrequest-1844702709
gh-106844: Fix null-bytes handling in LCMapStringEx in _winapi #107832 https://github.com/python/cpython/pull/107832
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 10, 2023https://github.com/python/cpython/pull/106857#issuecomment-1672813300
#107832https://github.com/python/cpython/pull/107832
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/serhiy-storchaka
Fix other issues.https://github.com/python/cpython/pull/106857/commits/26161c381509f2a397bfb59f69ba3488dfdfe224
26161c3https://github.com/python/cpython/pull/106857/commits/26161c381509f2a397bfb59f69ba3488dfdfe224
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 11, 2023https://github.com/python/cpython/pull/106857#issuecomment-1675198057
#107832https://github.com/python/cpython/pull/107832
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 11, 2023https://github.com/python/cpython/pull/106857#event-10072698831
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%2F106857
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/106857/files/46be70ba601d3df0495e227bb4b0ca69aaed6d8b
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/106857/files/46be70ba601d3df0495e227bb4b0ca69aaed6d8b
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Please reload this pagehttps://github.com/python/cpython/pull/106857
https://github.com/sobolevn
https://github.com/bedevere-bot
https://github.com/zooba
https://github.com/serhiy-storchaka
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.