René's URL Explorer Experiment


Title: ffi: fix use-after-free in PrepareFunction by trivikr · Pull Request #66368 · nodejs/node · GitHub

Open Graph Title: ffi: fix use-after-free in PrepareFunction by trivikr · Pull Request #66368 · nodejs/node

X Title: ffi: fix use-after-free in PrepareFunction by trivikr · Pull Request #66368 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: Fixes: #66367 PrepareFunction() looked up the function cache before parsing the signature. Parsing can run user getters, and a getter that calls lib.close() clears the cache, which invalidates the ...

X Description: Fixes: #66367 PrepareFunction() looked up the function cache before parsing the signature. Parsing can run user getters, and a getter that calls lib.close() clears the cache, which invalidates the ...

Opengraph URL: https://github.com/nodejs/node/pull/66368

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:30d0b01f-73a3-1fdb-5ea5-2d766a4a5cad
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAEE0:39024:191367:20C715:6AED15D8
html-safe-nonceacf852953ed81ff2458ba76cdff10fdddd1ad41a49d398d4ee7316c3de1be3cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUUwOjM5MDI0OjE5MTM2NzoyMEM3MTU6NkFFRDE1RDgiLCJ2aXNpdG9yX2lkIjoiMjQ0NzUyNDc2OTM5NzgwNjU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3ddcbaa6377396ddb95ade8e815e8f056c4d1a279ac4e7d5dc7b946355d451eb
hovercard-subject-tagpull_request:4658871899
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/nodejs/node/66368/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f3f0e69a185ef4c380022bc712f0029039d4efac705ea33d689e2c4772f63485/nodejs/node/pull/66368
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f3f0e69a185ef4c380022bc712f0029039d4efac705ea33d689e2c4772f63485/nodejs/node/pull/66368
og:image:altFixes: #66367 PrepareFunction() looked up the function cache before parsing the signature. Parsing can run user getters, and a getter that calls lib.close() clears the cache, which invalidates the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametrivikr
hostnamegithub.com
expected-hostnamegithub.com
None120085d0bcec1f427e3ab45302c8b95f873d26ad21984dc86d62ab2c10158f41
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
releasee12fd03aa775dceadc5a793c3a0791e43ca256bb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/nodejs/node/pull/66368#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66368
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%2Fnodejs%2Fnode%2Fpull%2F66368
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=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/66368
Reloadhttps://github.com/nodejs/node/pull/66368
Reloadhttps://github.com/nodejs/node/pull/66368
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues655 (655)https://github.com/nodejs/node/issues
Pull requests666 (666)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
trivikr:ffi-segfault-sig-getter-closehttps://github.com/trivikr/node/tree/ffi-segfault-sig-getter-close
Conversationhttps://github.com/nodejs/node/pull/66368
Commits1 (1)https://github.com/nodejs/node/pull/66368/commits
Checkshttps://github.com/nodejs/node/pull/66368/checks
Files changedhttps://github.com/nodejs/node/pull/66368/files
ffi: fix use-after-free in PrepareFunctionhttps://github.com/nodejs/node/pull/66368#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
trivikr:ffi-segfault-sig-getter-closehttps://github.com/trivikr/node/tree/ffi-segfault-sig-getter-close
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Sep 28, 2026https://github.com/nodejs/node/pull/66368#issue-5608860041
#66367https://github.com/nodejs/node/issues/66367
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/trivikr
ffi: fix use-after-free in PrepareFunctionhttps://github.com/nodejs/node/pull/66368/commits/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
8d87696https://github.com/nodejs/node/pull/66368/commits/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Sep 28, 2026https://github.com/nodejs/node/pull/66368#issuecomment-5862742765
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
c++ https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Ac%2B%2B
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Sep 28, 2026https://github.com/nodejs/node/pull/66368#event-31960594293
https://github.com/daeyeon
daeyeonhttps://github.com/daeyeon
Sep 28, 2026 https://github.com/nodejs/node/pull/66368#pullrequestreview-5334059599
View reviewed changes https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/daeyeon
daeyeonhttps://github.com/daeyeon
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
ffi https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Affi
Sep 28, 2026https://github.com/nodejs/node/pull/66368#event-31963813049
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Sep 28, 2026https://github.com/nodejs/node/pull/66368#event-31963897143
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Sep 28, 2026https://github.com/nodejs/node/pull/66368#issuecomment-5863634471
https://ci.nodejs.org/job/node-test-pull-request/78017/https://ci.nodejs.org/job/node-test-pull-request/78017/
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/ShogunPanda
ShogunPandahttps://github.com/ShogunPanda
Sep 28, 2026 https://github.com/nodejs/node/pull/66368#pullrequestreview-5334145802
View reviewed changes https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Sep 28, 2026https://github.com/nodejs/node/pull/66368#issuecomment-5863836460
Please reload this pagehttps://github.com/nodejs/node/pull/66368
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/66368?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
75e4bbehttps://app.codecov.io/gh/nodejs/node/commit/75e4bbe0a8ffbc6389982183955cdb756358423f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
8d87696https://app.codecov.io/gh/nodejs/node/commit/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Files with missing lineshttps://app.codecov.io/gh/nodejs/node/pull/66368?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
src/node_ffi.cchttps://app.codecov.io/gh/nodejs/node/pull/66368?src=pr&el=tree&filepath=src%2Fnode_ffi.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfZmZpLmNj
21 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/66368/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/panva
panvahttps://github.com/panva
resume-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aresume-ci
Sep 28, 2026https://github.com/nodejs/node/pull/66368#event-31967580896
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
resume-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aresume-ci
Sep 28, 2026https://github.com/nodejs/node/pull/66368#event-31967812268
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Sep 28, 2026https://github.com/nodejs/node/pull/66368#issuecomment-5864514216
https://ci.nodejs.org/job/node-test-pull-request/78021/https://ci.nodejs.org/job/node-test-pull-request/78021/
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Sep 28, 2026 https://github.com/nodejs/node/pull/66368#pullrequestreview-5335688863
View reviewed changes https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Sep 28, 2026https://github.com/nodejs/node/pull/66368#event-31974400461
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Sep 28, 2026 https://github.com/nodejs/node/pull/66368#pullrequestreview-5340939171
View reviewed changes https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
f71d644https://github.com/nodejs/node/commit/f71d6441ced93dd6f5e4386c5fb4de0fe146768a
Sep 30, 2026https://github.com/nodejs/node/pull/66368#event-32132525322
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Sep 30, 2026https://github.com/nodejs/node/pull/66368#issuecomment-5903524196
f71d644https://github.com/nodejs/node/commit/f71d6441ced93dd6f5e4386c5fb4de0fe146768a
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Sep 30, 2026https://github.com/nodejs/node/pull/66368#event-32132527555
aduh95https://github.com/aduh95
Oct 3, 2026 https://github.com/nodejs/node/pull/66368#ref-commit-ebc33df
https://github.com/trivikr
https://github.com/aduh95
ffi: fix use-after-free in PrepareFunctionhttps://github.com/nodejs/node/commit/ebc33df161b5c1215f05e90c57edf0de36a694b6
ebc33dfhttps://github.com/nodejs/node/commit/ebc33df161b5c1215f05e90c57edf0de36a694b6
#66368https://github.com/nodejs/node/pull/66368
#66367https://github.com/nodejs/node/issues/66367
aduh95https://github.com/aduh95
Oct 3, 2026 https://github.com/nodejs/node/pull/66368#ref-commit-343a5c2
https://github.com/trivikr
https://github.com/aduh95
ffi: fix use-after-free in PrepareFunctionhttps://github.com/nodejs/node/commit/343a5c29155bdfb8ac74c6588b07aa1e73fea22b
343a5c2https://github.com/nodejs/node/commit/343a5c29155bdfb8ac74c6588b07aa1e73fea22b
#66368https://github.com/nodejs/node/pull/66368
#66367https://github.com/nodejs/node/issues/66367
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 5, 2026 https://github.com/nodejs/node/pull/66368#ref-pullrequest-5720654094
2026-10-07, Version 26.11.0 (Current) #66546 https://github.com/nodejs/node/pull/66546
https://github.com/apps/leapmux-renovate
leapmux-renovatehttps://github.com/apps/leapmux-renovate
Nov 1, 2026 https://github.com/nodejs/node/pull/66368#ref-pullrequest-6152716313
chore(deps): Update Node.js to v26 leapmux/leapmux#578 https://github.com/leapmux/leapmux/pull/578
markhardinghttps://github.com/markharding
Nov 5, 2026 https://github.com/nodejs/node/pull/66368#ref-commit-609f23e
https://github.com/markharding
Update Node.js to v26 (#2168)https://github.com/futo-org/Harbor/commit/609f23e8d0f42eb45a55543b96b55f997f66e2c3
609f23ehttps://github.com/futo-org/Harbor/commit/609f23e8d0f42eb45a55543b96b55f997f66e2c3
https://github.co/hiddenchars
https://github.com/nodejs/node/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%2Fnodejs%2Fnode%2Fpull%2F66368
https://github.com/ShogunPanda
ShogunPanda https://github.com/ShogunPanda
https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/addaleax
addaleax https://github.com/addaleax
https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/cjihrig
cjihrig https://github.com/cjihrig
https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
https://github.com/daeyeon
daeyeon https://github.com/daeyeon
https://github.com/nodejs/node/pull/66368/files/8d87696c9b2275f06b2afc4fbacd13bd949f7ae1
Please reload this pagehttps://github.com/nodejs/node/pull/66368
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
c++ https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Ac%2B%2B
ffi https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Affi
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
ffi: segfault when a signature getter closes the library in getFunction() https://github.com/nodejs/node/issues/66367
Please reload this pagehttps://github.com/nodejs/node/pull/66368
https://github.com/trivikr
https://github.com/nodejs-github-bot
https://github.com/ShogunPanda
https://github.com/addaleax
https://github.com/cjihrig
https://github.com/daeyeon
https://github.com/panva
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.