René's URL Explorer Experiment


Title: ffi: throw on allocation failure in toArrayBuffer() by trivikr · Pull Request #66406 · nodejs/node · GitHub

Open Graph Title: ffi: throw on allocation failure in toArrayBuffer() by trivikr · Pull Request #66406 · nodejs/node

X Title: ffi: throw on allocation failure in toArrayBuffer() by trivikr · Pull Request #66406 · nodejs/node

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

Open Graph Description: Fixes: #66405 The copy path of toArrayBuffer() allocated its backing store with V8's default failure mode, so a large length aborted the process with a fatal out-of-memory error. toBuffer() thr...

X Description: Fixes: #66405 The copy path of toArrayBuffer() allocated its backing store with V8's default failure mode, so a large length aborted the process with a fatal out-of-memory error. toBuffer()...

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

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:f447f039-5d93-2c90-910f-0a56eb3f50b0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE498:33E776:CD264:10FCB7:6AED01E6
html-safe-nonce11c607312397e3dd92d05b7126716a37c5a44de8c8fb6b96820e245025e81527
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDk4OjMzRTc3NjpDRDI2NDoxMEZDQjc6NkFFRDAxRTYiLCJ2aXNpdG9yX2lkIjoiNjk0NTEzNjUyOTQ1Nzg3MzM4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc7635fceb0fabecaedcfebac48541c3bf7dbd84110c549317e32235e9f78e867
hovercard-subject-tagpull_request:4686877209
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/66406/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0149fd2c99cf31049f98c5b0fa241b2a46124ec61d0b31b3d9e110785dfa8898/nodejs/node/pull/66406
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0149fd2c99cf31049f98c5b0fa241b2a46124ec61d0b31b3d9e110785dfa8898/nodejs/node/pull/66406
og:image:altFixes: #66405 The copy path of toArrayBuffer() allocated its backing store with V8's default failure mode, so a large length aborted the process with a fatal out-of-memory error. toBuffer() thr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametrivikr
hostnamegithub.com
expected-hostnamegithub.com
None21e10c535436b2122cfb44c76dfb4af296e371850fb60de16776f8a64e5c3ed8
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
release302a6d707c3288a5f951258a2fa3e926b8c8f8cf
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/nodejs/node/pull/66406#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66406
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%2F66406
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/66406
Reloadhttps://github.com/nodejs/node/pull/66406
Reloadhttps://github.com/nodejs/node/pull/66406
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues654 (654)https://github.com/nodejs/node/issues
Pull requests668 (668)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-toarraybuffer-allocation-failurehttps://github.com/trivikr/node/tree/ffi-toarraybuffer-allocation-failure
Conversationhttps://github.com/nodejs/node/pull/66406
Commits2 (2)https://github.com/nodejs/node/pull/66406/commits
Checkshttps://github.com/nodejs/node/pull/66406/checks
Files changedhttps://github.com/nodejs/node/pull/66406/files
ffi: throw on allocation failure in toArrayBuffer()https://github.com/nodejs/node/pull/66406#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
trivikr:ffi-toarraybuffer-allocation-failurehttps://github.com/trivikr/node/tree/ffi-toarraybuffer-allocation-failure
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Sep 30, 2026https://github.com/nodejs/node/pull/66406#issue-5642207518
#66405https://github.com/nodejs/node/issues/66405
Please reload this pagehttps://github.com/nodejs/node/pull/66406
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Sep 30, 2026https://github.com/nodejs/node/pull/66406#issuecomment-5905665678
Please reload this pagehttps://github.com/nodejs/node/pull/66406
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 30, 2026https://github.com/nodejs/node/pull/66406#event-32141195652
https://github.com/daeyeon
daeyeonhttps://github.com/daeyeon
Sep 30, 2026 https://github.com/nodejs/node/pull/66406#pullrequestreview-5363485661
View reviewed changes https://github.com/nodejs/node/pull/66406/files
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 30, 2026https://github.com/nodejs/node/pull/66406#event-32147539898
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 30, 2026https://github.com/nodejs/node/pull/66406#event-32148482633
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Sep 30, 2026 https://github.com/nodejs/node/pull/66406#pullrequestreview-5363651719
View reviewed changes https://github.com/nodejs/node/pull/66406/files
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Sep 30, 2026https://github.com/nodejs/node/pull/66406#issuecomment-5907374096
https://ci.nodejs.org/job/node-test-pull-request/78093/https://ci.nodejs.org/job/node-test-pull-request/78093/
Please reload this pagehttps://github.com/nodejs/node/pull/66406
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Sep 30, 2026https://github.com/nodejs/node/pull/66406#issuecomment-5907489690
Please reload this pagehttps://github.com/nodejs/node/pull/66406
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/66406?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
bd83a5chttps://app.codecov.io/gh/nodejs/node/commit/bd83a5cd7a80c3b4b1378fd66c700bff9752847f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
1d89180https://app.codecov.io/gh/nodejs/node/commit/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c?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/66406?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
src/ffi/data.cchttps://app.codecov.io/gh/nodejs/node/pull/66406?src=pr&el=tree&filepath=src%2Fffi%2Fdata.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL2ZmaS9kYXRhLmNj
27 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/66406/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/66406
https://github.com/trivikr
trivikrhttps://github.com/trivikr
resume-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aresume-ci
resume-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aresume-ci
Sep 30, 2026https://github.com/nodejs/node/pull/66406#event-32172652031
trivikrhttps://github.com/trivikr
September 30, 2026 07:19https://github.com/nodejs/node/pull/66406#commits-pushed-54907ac
https://github.com/trivikr
ffi: throw on allocation failure in toArrayBuffer()https://github.com/nodejs/node/pull/66406/commits/54907ac7ba97691fce83078635c465bbf465c855
54907achttps://github.com/nodejs/node/pull/66406/commits/54907ac7ba97691fce83078635c465bbf465c855
https://github.com/trivikr
fixup! ffi: throw on allocation failure in toArrayBuffer()https://github.com/nodejs/node/pull/66406/commits/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
1d89180https://github.com/nodejs/node/pull/66406/commits/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
https://github.com/trivikr
trivikrhttps://github.com/trivikr
force-pushedhttps://github.com/nodejs/node/compare/a05e7ef30a1c23e7e43102bb885d9f5d83845b31..1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
a05e7efhttps://github.com/nodejs/node/commit/a05e7ef30a1c23e7e43102bb885d9f5d83845b31
1d89180https://github.com/nodejs/node/commit/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
Compare https://github.com/nodejs/node/compare/a05e7ef30a1c23e7e43102bb885d9f5d83845b31..1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
September 30, 2026 14:26https://github.com/nodejs/node/pull/66406#event-32173474977
https://github.com/trivikr
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66406
https://github.com/trivikr
trivikrhttps://github.com/trivikr
addaleaxhttps://github.com/addaleax
daeyeonhttps://github.com/daeyeon
September 30, 2026 14:27https://github.com/nodejs/node/pull/66406#event-32173576153
https://github.com/trivikr
trivikrhttps://github.com/trivikr
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Sep 30, 2026https://github.com/nodejs/node/pull/66406#event-32173595482
https://github.com/daeyeon
daeyeonhttps://github.com/daeyeon
Sep 30, 2026 https://github.com/nodejs/node/pull/66406#pullrequestreview-5367785276
View reviewed changes https://github.com/nodejs/node/pull/66406/files/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
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 30, 2026https://github.com/nodejs/node/pull/66406#event-32175818302
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Sep 30, 2026https://github.com/nodejs/node/pull/66406#issuecomment-5913825221
https://ci.nodejs.org/job/node-test-pull-request/78103/https://ci.nodejs.org/job/node-test-pull-request/78103/
Please reload this pagehttps://github.com/nodejs/node/pull/66406
https://github.com/trivikr
trivikrhttps://github.com/trivikr
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
Sep 30, 2026https://github.com/nodejs/node/pull/66406#event-32184541572
https://github.com/ShogunPanda
ShogunPandahttps://github.com/ShogunPanda
Oct 1, 2026 https://github.com/nodejs/node/pull/66406#pullrequestreview-5376356800
View reviewed changes https://github.com/nodejs/node/pull/66406/files/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
de073c5https://github.com/nodejs/node/commit/de073c56faf955fc69dc2db60d1bf5e6d0af2e33
Oct 2, 2026https://github.com/nodejs/node/pull/66406#event-32316935824
Please reload this pagehttps://github.com/nodejs/node/pull/66406
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Oct 2, 2026https://github.com/nodejs/node/pull/66406#issuecomment-5947453921
de073c5https://github.com/nodejs/node/commit/de073c56faf955fc69dc2db60d1bf5e6d0af2e33
Please reload this pagehttps://github.com/nodejs/node/pull/66406
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
Oct 2, 2026https://github.com/nodejs/node/pull/66406#event-32316939731
aduh95https://github.com/aduh95
Oct 3, 2026 https://github.com/nodejs/node/pull/66406#ref-commit-afb2237
https://github.com/trivikr
https://github.com/aduh95
ffi: throw on allocation failure in toArrayBuffer()https://github.com/nodejs/node/commit/afb223731ef810879442431fab27f8c55d7135a4
afb2237https://github.com/nodejs/node/commit/afb223731ef810879442431fab27f8c55d7135a4
#66406https://github.com/nodejs/node/pull/66406
#66405https://github.com/nodejs/node/issues/66405
aduh95https://github.com/aduh95
Oct 3, 2026 https://github.com/nodejs/node/pull/66406#ref-commit-11f8079
https://github.com/trivikr
https://github.com/aduh95
ffi: throw on allocation failure in toArrayBuffer()https://github.com/nodejs/node/commit/11f80798ba26e7fe482f58897de76e1a22c22d8f
11f8079https://github.com/nodejs/node/commit/11f80798ba26e7fe482f58897de76e1a22c22d8f
#66406https://github.com/nodejs/node/pull/66406
#66405https://github.com/nodejs/node/issues/66405
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 5, 2026 https://github.com/nodejs/node/pull/66406#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/66406#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/66406#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%2F66406
https://github.com/ShogunPanda
ShogunPanda https://github.com/ShogunPanda
https://github.com/nodejs/node/pull/66406/files/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
https://github.com/daeyeon
daeyeon https://github.com/daeyeon
https://github.com/nodejs/node/pull/66406/files/1d89180c4544cd56b9f7e04ef9cf2081ee44a69c
https://github.com/addaleax
addaleax https://github.com/addaleax
Please reload this pagehttps://github.com/nodejs/node/pull/66406
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: toArrayBuffer() aborts on allocation failure instead of throwing https://github.com/nodejs/node/issues/66405
Please reload this pagehttps://github.com/nodejs/node/pull/66406
https://github.com/trivikr
https://github.com/nodejs-github-bot
https://github.com/ShogunPanda
https://github.com/addaleax
https://github.com/daeyeon
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.