René's URL Explorer Experiment


Title: gh-145105: Fix crash in csv.reader with re-entrant iterator by raminfp · Pull Request #145106 · python/cpython · GitHub

Open Graph Title: gh-145105: Fix crash in csv.reader with re-entrant iterator by raminfp · Pull Request #145106 · python/cpython

X Title: gh-145105: Fix crash in csv.reader with re-entrant iterator by raminfp · Pull Request #145106 · python/cpython

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

Open Graph Description: The fix adds a guard right after PyIter_Next returns: if self->fields has been set to NULL by a re-entrant call, raise csv.Error instead of continuing into parse_process_char. Issue: _csv.read...

X Description: The fix adds a guard right after PyIter_Next returns: if self->fields has been set to NULL by a re-entrant call, raise csv.Error instead of continuing into parse_process_char. Issue: _csv....

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

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:eeb99711-4700-cae7-a112-cb28391add87
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83E2:36F3F6:1045A6:1562E8:6A5FE719
html-safe-nonce618fc98f8233f16860efe9c6843082aadce333b12e22f1bf4e9b0b0bdfdafa4a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0UyOjM2RjNGNjoxMDQ1QTY6MTU2MkU4OjZBNUZFNzE5IiwidmlzaXRvcl9pZCI6IjI5MjI1MTU0MzMyNjUyOTMwODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac42d3bacb7518493ea6d3cb72b6ec0be177ba50df282b89689b1e868201872ddf
hovercard-subject-tagpull_request:3312662375
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/145106/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b7f8b3f9ec3a03b846c86bbf42ea2b6160bc54f48889cb96296372147f2550fb/python/cpython/pull/145106
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b7f8b3f9ec3a03b846c86bbf42ea2b6160bc54f48889cb96296372147f2550fb/python/cpython/pull/145106
og:image:altThe fix adds a guard right after PyIter_Next returns: if self->fields has been set to NULL by a re-entrant call, raise csv.Error instead of continuing into parse_process_char. Issue: _csv.read...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameraminfp
hostnamegithub.com
expected-hostnamegithub.com
None78938542173c0d8e4ad1aefc7954896e81c10ce2620286603ef14cf593bd5a11
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
release1a427601e09953033b696253e754ebc7328096a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145106#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145106
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2F145106
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/145106
Reloadhttps://github.com/python/cpython/pull/145106
Reloadhttps://github.com/python/cpython/pull/145106
Please reload this pagehttps://github.com/python/cpython/pull/145106
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145106
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.9k 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
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
raminfp:fix-gh-145105-csv-reader-reentrant-crashhttps://github.com/raminfp/cpython/tree/fix-gh-145105-csv-reader-reentrant-crash
Conversationhttps://github.com/python/cpython/pull/145106
Commits1 (1)https://github.com/python/cpython/pull/145106/commits
Checkshttps://github.com/python/cpython/pull/145106/checks
Files changedhttps://github.com/python/cpython/pull/145106/files
gh-145105: Fix crash in csv.reader with re-entrant iteratorhttps://github.com/python/cpython/pull/145106#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
raminfp:fix-gh-145105-csv-reader-reentrant-crashhttps://github.com/raminfp/cpython/tree/fix-gh-145105-csv-reader-reentrant-crash
https://github.com/raminfp
raminfphttps://github.com/raminfp
Feb 22, 2026https://github.com/python/cpython/pull/145106#issue-3974256319
Please reload this pagehttps://github.com/python/cpython/pull/145106
_csv.reader: NULL deref via re-entrant iterator #145105https://github.com/python/cpython/issues/145105
Please reload this pagehttps://github.com/python/cpython/pull/145106
https://github.com/raminfp
pythongh-145105https://github.com/python/cpython/issues/145105
: Fix crash in csv.reader with re-entrant iteratorhttps://github.com/python/cpython/pull/145106/commits/d4f4ec1e468228995b7c06de6288e0f139bd68b6
d4f4ec1https://github.com/python/cpython/pull/145106/commits/d4f4ec1e468228995b7c06de6288e0f139bd68b6
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 22, 2026 https://github.com/python/cpython/pull/145106#ref-issue-3974236447
_csv.reader: NULL deref via re-entrant iterator #145105 https://github.com/python/cpython/issues/145105
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
Feb 22, 2026https://github.com/python/cpython/pull/145106#event-22979734039
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Apr 11, 2026 https://github.com/python/cpython/pull/145106#pullrequestreview-4094288161
View reviewed changes https://github.com/python/cpython/pull/145106/files/d4f4ec1e468228995b7c06de6288e0f139bd68b6
gpsheadhttps://github.com/gpshead
https://github.com/python/cpython/pull/145106#pullrequestreview-4094288161
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145106
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
Apr 11, 2026https://github.com/python/cpython/pull/145106#event-24413005850
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Apr 11, 2026https://github.com/python/cpython/pull/145106#event-24413006992
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
April 11, 2026 22:14https://github.com/python/cpython/pull/145106#event-24413008298
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
April 11, 2026 22:17https://github.com/python/cpython/pull/145106#event-24413032993
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
20994b1https://github.com/python/cpython/commit/20994b1809f9c162e4cae01a5af08bd492ede9f9
Apr 11, 2026https://github.com/python/cpython/pull/145106#event-24413034196
Please reload this pagehttps://github.com/python/cpython/pull/145106
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Apr 11, 2026https://github.com/python/cpython/pull/145106#issuecomment-4230278404
@raminfphttps://github.com/raminfp
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/145106
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
Apr 11, 2026https://github.com/python/cpython/pull/145106#event-24413034610
miss-islingtonhttps://github.com/miss-islington
Apr 11, 2026 https://github.com/python/cpython/pull/145106#ref-commit-0d71152
https://github.com/raminfp
https://github.com/miss-islington
pythongh-145105https://github.com/python/cpython/issues/145105
: Fix crash in csv.reader with re-entrant iterator (https://github.com/miss-islington/cpython/commit/0d71152d278763d623bb8e10e5d0340011fb401c
py…https://github.com/python/cpython/pull/145106
0d71152https://github.com/miss-islington/cpython/commit/0d71152d278763d623bb8e10e5d0340011fb401c
…thonGH-145106https://github.com/python/cpython/pull/145106
20994b1https://github.com/miss-islington/cpython/commit/20994b1809f9c162e4cae01a5af08bd492ede9f9
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 11, 2026https://github.com/python/cpython/pull/145106#issuecomment-4230278592
GH-148404https://github.com/python/cpython/pull/148404
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/145106
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
Apr 11, 2026https://github.com/python/cpython/pull/145106#event-24413035929
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Apr 11, 2026https://github.com/python/cpython/pull/145106#event-24413043504
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Apr 11, 2026https://github.com/python/cpython/pull/145106#issuecomment-4230279838
@raminfphttps://github.com/raminfp
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/145106
miss-islingtonhttps://github.com/miss-islington
Apr 11, 2026 https://github.com/python/cpython/pull/145106#ref-commit-8a15ef6
https://github.com/raminfp
https://github.com/miss-islington
pythongh-145105https://github.com/python/cpython/issues/145105
: Fix crash in csv.reader with re-entrant iterator (https://github.com/miss-islington/cpython/commit/8a15ef691698e07005df5fbcb1947630fe2f90fc
py…https://github.com/python/cpython/pull/145106
8a15ef6https://github.com/miss-islington/cpython/commit/8a15ef691698e07005df5fbcb1947630fe2f90fc
…thonGH-145106https://github.com/python/cpython/pull/145106
20994b1https://github.com/miss-islington/cpython/commit/20994b1809f9c162e4cae01a5af08bd492ede9f9
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 11, 2026https://github.com/python/cpython/pull/145106#issuecomment-4230280056
GH-148405https://github.com/python/cpython/pull/148405
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/145106
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
Apr 11, 2026https://github.com/python/cpython/pull/145106#event-24413045511
gpsheadhttps://github.com/gpshead
Apr 11, 2026 https://github.com/python/cpython/pull/145106#ref-commit-8e369d3
https://github.com/miss-islington
https://github.com/raminfp
[3.13]https://github.com/python/cpython/commit/8e369d364518d668898f2142f8daf402e2cd3ddc
gh-145105https://github.com/python/cpython/issues/145105
: Fix crash in csv.reader with re-entrant iterator (https://github.com/python/cpython/commit/8e369d364518d668898f2142f8daf402e2cd3ddc
G…https://github.com/python/cpython/pull/145106
8e369d3https://github.com/python/cpython/commit/8e369d364518d668898f2142f8daf402e2cd3ddc
…H-145106https://github.com/python/cpython/pull/145106
#148405https://github.com/python/cpython/pull/148405
gh-145105https://github.com/python/cpython/issues/145105
GH-145106https://github.com/python/cpython/pull/145106
20994b1https://github.com/python/cpython/commit/20994b1809f9c162e4cae01a5af08bd492ede9f9
gpsheadhttps://github.com/gpshead
Apr 11, 2026 https://github.com/python/cpython/pull/145106#ref-commit-4f8a77b
https://github.com/miss-islington
https://github.com/raminfp
[3.14]https://github.com/python/cpython/commit/4f8a77bf3fa8d0c10ddd50a8dda4ad89e8d2434e
gh-145105https://github.com/python/cpython/issues/145105
: Fix crash in csv.reader with re-entrant iterator (https://github.com/python/cpython/commit/4f8a77bf3fa8d0c10ddd50a8dda4ad89e8d2434e
G…https://github.com/python/cpython/pull/145106
4f8a77bhttps://github.com/python/cpython/commit/4f8a77bf3fa8d0c10ddd50a8dda4ad89e8d2434e
…H-145106https://github.com/python/cpython/pull/145106
#148404https://github.com/python/cpython/pull/148404
gh-145105https://github.com/python/cpython/issues/145105
GH-145106https://github.com/python/cpython/pull/145106
20994b1https://github.com/python/cpython/commit/20994b1809f9c162e4cae01a5af08bd492ede9f9
https://github.com/raminfp
raminfphttps://github.com/raminfp
April 12, 2026 04:55https://github.com/python/cpython/pull/145106#event-24416093474
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/145106#ref-commit-eb4cabb
https://github.com/raminfp
https://github.com/ljfp
pythongh-145105https://github.com/python/cpython/issues/145105
: Fix crash in csv.reader with re-entrant iterator (https://github.com/ljfp/cpython/commit/eb4cabbca58c8dd82170df1130adc7b5ddadae8d
py…https://github.com/python/cpython/pull/145106
eb4cabbhttps://github.com/ljfp/cpython/commit/eb4cabbca58c8dd82170df1130adc7b5ddadae8d
…thonGH-145106https://github.com/python/cpython/pull/145106
https://github.com/widehyo1
widehyo1https://github.com/widehyo1
Jul 19, 2026 https://github.com/python/cpython/pull/145106#ref-issue-4922738056
csv: csv.reader does not detect re-entrant iterator advancement RustPython/RustPython#8323 https://github.com/RustPython/RustPython/issues/8323
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%2F145106
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/145106/files/d4f4ec1e468228995b7c06de6288e0f139bd68b6
Please reload this pagehttps://github.com/python/cpython/pull/145106
https://github.com/raminfp
https://github.com/gpshead
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.