René's URL Explorer Experiment


Title: [3.12] gh-126554: ctypes: Correctly handle NULL dlsym values (GH-126555) by picnixz · Pull Request #127764 · python/cpython · GitHub

Open Graph Title: [3.12] gh-126554: ctypes: Correctly handle NULL dlsym values (GH-126555) by picnixz · Pull Request #127764 · python/cpython

X Title: [3.12] gh-126554: ctypes: Correctly handle NULL dlsym values (GH-126555) by picnixz · Pull Request #127764 · python/cpython

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

Open Graph Description: For dlsym(), a return value of NULL does not necessarily indicate an error 1. Therefore, to avoid using stale (or NULL) dlerror() values, we must: clear the previous error state by calling dlerror...

X Description: For dlsym(), a return value of NULL does not necessarily indicate an error 1. Therefore, to avoid using stale (or NULL) dlerror() values, we must: clear the previous error state by calling dlerror...

Mail addresses
giorgosalexo0@gmail.com
grgalex42@gmail.com
grgalex@ba.uoa.gr
zintensitydev@gmail.com
10796600+picnixz@users.noreply.github.com
encukou@gmail.com

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:80e85ac7-a197-6bd5-e3c6-ef8519f8513c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE640:187C1E:284F63B:34E007D:6B026998
html-safe-nonce8421a55e02fd4226c6e234834e56bb77459a4a6ad36a05b2428ac58fa64ef59a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjQwOjE4N0MxRToyODRGNjNCOjM0RTAwN0Q6NkIwMjY5OTgiLCJ2aXNpdG9yX2lkIjoiNzU1MzE4MDcyNzUwMDc2MTQ5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac81baa290b0830baac99bcbae05e82a3078ef1327c7bc054fe3fedf9d9a33ef3d
hovercard-subject-tagpull_request:2223742554
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/127764/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/28803e6ddd8d06eac20cc4b65db3aed942ccd17a8999ab171c22ef44f95144ae/python/cpython/pull/127764
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/28803e6ddd8d06eac20cc4b65db3aed942ccd17a8999ab171c22ef44f95144ae/python/cpython/pull/127764
og:image:altFor dlsym(), a return value of NULL does not necessarily indicate an error 1. Therefore, to avoid using stale (or NULL) dlerror() values, we must: clear the previous error state by calling dlerror...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/127764#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127764
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127764
Sign uphttps://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/127764
Reloadhttps://github.com/python/cpython/pull/127764
Reloadhttps://github.com/python/cpython/pull/127764
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:3.12https://github.com/python/cpython/tree/3.12
picnixz:bp-8717f792f7cc343599dc60daf80630cceb66145bhttps://github.com/picnixz/cpython/tree/bp-8717f792f7cc343599dc60daf80630cceb66145b
Conversationhttps://github.com/python/cpython/pull/127764
Commits3 (3)https://github.com/python/cpython/pull/127764/commits
Checkshttps://github.com/python/cpython/pull/127764/checks
Files changedhttps://github.com/python/cpython/pull/127764/files
[3.12] gh-126554: ctypes: Correctly handle NULL dlsym values (GH-126555)https://github.com/python/cpython/pull/127764#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:3.12https://github.com/python/cpython/tree/3.12
picnixz:bp-8717f792f7cc343599dc60daf80630cceb66145bhttps://github.com/picnixz/cpython/tree/bp-8717f792f7cc343599dc60daf80630cceb66145b
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Dec 9, 2024https://github.com/python/cpython/pull/127764#issue-2727179810
1https://man7.org/linux/man-pages/man3/dlsym.3.html
8717f79https://github.com/python/cpython/commit/8717f792f7cc343599dc60daf80630cceb66145b
ctypes: We do not correctly handle NULL dlsym() return values #126554https://github.com/python/cpython/issues/126554
Please reload this pagehttps://github.com/python/cpython/pull/127764
https://github.com/grgalex
https://github.com/ZeroIntensity
https://github.com/picnixz
https://github.com/encukou
pythongh-126554https://github.com/python/cpython/issues/126554
: ctypes: Correctly handle NULL dlsym values (https://github.com/python/cpython/pull/127764/commits/1c543d9c67e63713f5914c58e91fc7a974f81fdb
pythonGH…https://github.com/python/cpython/pull/126555
1c543d9https://github.com/python/cpython/pull/127764/commits/1c543d9c67e63713f5914c58e91fc7a974f81fdb
…-126555https://github.com/python/cpython/pull/126555
https://man7.org/linux/man-pages/man3/dlsym.3.htmlhttps://man7.org/linux/man-pages/man3/dlsym.3.html
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
Dec 9, 2024https://github.com/python/cpython/pull/127764#event-15583976781
https://github.com/picnixz
picnixzhttps://github.com/picnixz
encukouhttps://github.com/encukou
December 9, 2024 14:16https://github.com/python/cpython/pull/127764#event-15583977418
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 9, 2024 https://github.com/python/cpython/pull/127764#ref-issue-2642078584
ctypes: We do not correctly handle NULL dlsym() return values #126554 https://github.com/python/cpython/issues/126554
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
topic-ctypes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-ctypes
Dec 9, 2024https://github.com/python/cpython/pull/127764#event-15583978061
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Dec 9, 2024 https://github.com/python/cpython/pull/127764#ref-pullrequest-2642087697
gh-126554: ctypes: Correctly handle NULL dlsym values #126555 https://github.com/python/cpython/pull/126555
https://github.com/picnixz
picnixzhttps://github.com/picnixz
December 9, 2024 14:17https://github.com/python/cpython/pull/127764#event-15583993833
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
Dec 9, 2024https://github.com/python/cpython/pull/127764#event-15583994561
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Dec 9, 2024https://github.com/python/cpython/pull/127764#issuecomment-2528085711
Please reload this pagehttps://github.com/python/cpython/pull/127764
Please reload this pagehttps://github.com/python/cpython/pull/127764
picnixzhttps://github.com/picnixz
December 15, 2024 13:52https://github.com/python/cpython/pull/127764#commits-pushed-9179fac
https://github.com/picnixz
fix Windows testshttps://github.com/python/cpython/pull/127764/commits/9179fac685b2479bd626e74146ca63dea3d95e6c
9179fachttps://github.com/python/cpython/pull/127764/commits/9179fac685b2479bd626e74146ca63dea3d95e6c
https://github.com/picnixz
Merge branch '3.12' into bp-8717f792f7cc343599dc60daf80630cceb66145bhttps://github.com/python/cpython/pull/127764/commits/9fd0eb0a5d3a82233970cecf2bc8f0c5b5dd4ebe
9fd0eb0https://github.com/python/cpython/pull/127764/commits/9fd0eb0a5d3a82233970cecf2bc8f0c5b5dd4ebe
https://github.com/picnixz
picnixzhttps://github.com/picnixz
December 15, 2024 13:40https://github.com/python/cpython/pull/127764#event-15661081012
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
Dec 15, 2024https://github.com/python/cpython/pull/127764#event-15661081112
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Dec 17, 2024 https://github.com/python/cpython/pull/127764#ref-pullrequest-2652333713
gh-126742: allow to use non-UTF8 exception messages #126746 https://github.com/python/cpython/pull/126746
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 17, 2024 https://github.com/python/cpython/pull/127764#pullrequestreview-2508665284
View reviewed changes https://github.com/python/cpython/pull/127764/files/9fd0eb0a5d3a82233970cecf2bc8f0c5b5dd4ebe
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/127764#pullrequestreview-2508665284
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/127764
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
Dec 17, 2024https://github.com/python/cpython/pull/127764#event-15684832367
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
6ac578chttps://github.com/python/cpython/commit/6ac578cf535666283c95dff17d70e4d7de0150e7
Dec 17, 2024https://github.com/python/cpython/pull/127764#event-15684850090
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
Dec 17, 2024https://github.com/python/cpython/pull/127764#event-15684850683
https://github.com/picnixz
picnixzhttps://github.com/picnixz
December 17, 2024 11:54https://github.com/python/cpython/pull/127764#event-15684861866
https://github.com/petermarko
petermarkohttps://github.com/petermarko
Feb 9, 2025 https://github.com/python/cpython/pull/127764#ref-pullrequest-2840323471
gh-126554: correct detection of gcc for TestNullDlsym.test_null_dlsym #129872 https://github.com/python/cpython/pull/129872
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%2F127764
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/127764/files/9fd0eb0a5d3a82233970cecf2bc8f0c5b5dd4ebe
https://github.com/encukou
encukou https://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/127764
topic-ctypes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-ctypes
Please reload this pagehttps://github.com/python/cpython/pull/127764
https://github.com/picnixz
https://github.com/serhiy-storchaka
https://github.com/grgalex
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.