René's URL Explorer Experiment


Title: fs: fix readFileSync utf8 overflow on short reads by christianaurichzm · Pull Request #66939 · nodejs/node · GitHub

Open Graph Title: fs: fix readFileSync utf8 overflow on short reads by christianaurichzm · Pull Request #66939 · nodejs/node

X Title: fs: fix readFileSync utf8 overflow on short reads by christianaurichzm · Pull Request #66939 · nodejs/node

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

Open Graph Description: readFileSync(fd, 'utf8') overflows a heap buffer when a pipe delivers more than 64 KiB in short reads before the first full 8 KiB read, e.g. cmd | node -e 'fs.readFileSync(0, "utf8...

X Description: readFileSync(fd, 'utf8') overflows a heap buffer when a pipe delivers more than 64 KiB in short reads before the first full 8 KiB read, e.g. cmd | node -e 'fs.readFileSync(0...

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

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:449f09b4-e831-3223-4c61-133b5f16cafb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA45A:1F05C8:CBBF50:1097272:6AED4D64
html-safe-nonce19aae497de24a19a1304f9698ae266b04b971d4481c65c741e037e3c216aa82f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDVBOjFGMDVDODpDQkJGNTA6MTA5NzI3Mjo2QUVENEQ2NCIsInZpc2l0b3JfaWQiOiIxODAzNjY5NTAzNDA5NDc0OTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0e2ce9bcb5832258a2dd408c6eae26b447be382d574ae289a1a0920c365274fc
hovercard-subject-tagpull_request:4974717276
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/66939/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/508735e0eddf6d764dda95bee07b1d7ddf2e391da3c7979ce13a10a69adff93c/nodejs/node/pull/66939
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/508735e0eddf6d764dda95bee07b1d7ddf2e391da3c7979ce13a10a69adff93c/nodejs/node/pull/66939
og:image:altreadFileSync(fd, 'utf8') overflows a heap buffer when a pipe delivers more than 64 KiB in short reads before the first full 8 KiB read, e.g. cmd | node -e 'fs.readFileSync(0, "utf8...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechristianaurichzm
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
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
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/nodejs/node/pull/66939#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F66939
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%2F66939
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/66939
Reloadhttps://github.com/nodejs/node/pull/66939
Reloadhttps://github.com/nodejs/node/pull/66939
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues654 (654)https://github.com/nodejs/node/issues
Pull requests662 (662)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
christianaurichzm:readfileutf8-short-readshttps://github.com/christianaurichzm/node/tree/readfileutf8-short-reads
Conversationhttps://github.com/nodejs/node/pull/66939
Commits1 (1)https://github.com/nodejs/node/pull/66939/commits
Checkshttps://github.com/nodejs/node/pull/66939/checks
Files changedhttps://github.com/nodejs/node/pull/66939/files
fs: fix readFileSync utf8 overflow on short readshttps://github.com/nodejs/node/pull/66939#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
christianaurichzm:readfileutf8-short-readshttps://github.com/christianaurichzm/node/tree/readfileutf8-short-reads
https://github.com/christianaurichzm
christianaurichzmhttps://github.com/christianaurichzm
Oct 22, 2026https://github.com/nodejs/node/pull/66939#issue-5988159398
#65328https://github.com/nodejs/node/pull/65328
#66341https://github.com/nodejs/node/issues/66341
Please reload this pagehttps://github.com/nodejs/node/pull/66939
https://github.com/christianaurichzm
fs: fix readFileSync utf8 overflow on short readshttps://github.com/nodejs/node/pull/66939/commits/ed9a05cfc28fe9f10c1f5d7751c0257ed23f7490
ed9a05chttps://github.com/nodejs/node/pull/66939/commits/ed9a05cfc28fe9f10c1f5d7751c0257ed23f7490
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
fs https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
Oct 22, 2026https://github.com/nodejs/node/pull/66939#event-33997832623
https://github.com/christianaurichzm
christianaurichzmhttps://github.com/christianaurichzm
Oct 22, 2026https://github.com/nodejs/node/pull/66939#issuecomment-6352294694
@mcollinahttps://github.com/mcollina
@anonrighttps://github.com/anonrig
#65328https://github.com/nodejs/node/pull/65328
Please reload this pagehttps://github.com/nodejs/node/pull/66939
https://github.com/anonrig
anonrighttps://github.com/anonrig
Oct 22, 2026 https://github.com/nodejs/node/pull/66939#pullrequestreview-5621553219
View reviewed changes https://github.com/nodejs/node/pull/66939/files/ed9a05cfc28fe9f10c1f5d7751c0257ed23f7490
https://github.com/anonrig
anonrighttps://github.com/anonrig
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Oct 22, 2026https://github.com/nodejs/node/pull/66939#event-33998847783
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
Oct 22, 2026https://github.com/nodejs/node/pull/66939#event-34000236818
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Oct 22, 2026https://github.com/nodejs/node/pull/66939#issuecomment-6352891263
https://ci.nodejs.org/job/node-test-pull-request/78581/https://ci.nodejs.org/job/node-test-pull-request/78581/
Please reload this pagehttps://github.com/nodejs/node/pull/66939
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Oct 22, 2026https://github.com/nodejs/node/pull/66939#issuecomment-6353811069
Please reload this pagehttps://github.com/nodejs/node/pull/66939
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/66939?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
a7e06d9https://app.codecov.io/gh/nodejs/node/commit/a7e06d975d23573849daaf87438cb3ee5cf5f08c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
ed9a05chttps://app.codecov.io/gh/nodejs/node/commit/ed9a05cfc28fe9f10c1f5d7751c0257ed23f7490?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/66939?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
src/node_file.cchttps://app.codecov.io/gh/nodejs/node/pull/66939?src=pr&el=tree&filepath=src%2Fnode_file.cc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-c3JjL25vZGVfZmlsZS5jYw==
34 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/66939/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/66939
https://github.com/panva
panvahttps://github.com/panva
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Oct 23, 2026https://github.com/nodejs/node/pull/66939#event-34032623534
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
lacks-second-approval https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alacks-second-approval
Oct 24, 2026https://github.com/nodejs/node/pull/66939#event-34152478521
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
8d514c7https://github.com/nodejs/node/commit/8d514c7b0e47e1b802c56f4abc177d165a961e3b
Oct 29, 2026https://github.com/nodejs/node/pull/66939#event-34638007257
Please reload this pagehttps://github.com/nodejs/node/pull/66939
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Oct 29, 2026https://github.com/nodejs/node/pull/66939#issuecomment-6509619527
8d514c7https://github.com/nodejs/node/commit/8d514c7b0e47e1b802c56f4abc177d165a961e3b
Please reload this pagehttps://github.com/nodejs/node/pull/66939
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
lacks-second-approval https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Alacks-second-approval
Oct 29, 2026https://github.com/nodejs/node/pull/66939#event-34638012142
https://github.com/sxa
sxahttps://github.com/sxa
Nov 4, 2026 https://github.com/nodejs/node/pull/66939#ref-issue-6200687719
New test parallel/test-fs-readfilesync-pipe-short-reads fails on Linux/riscv64 #67241 https://github.com/nodejs/node/issues/67241
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%2F66939
https://github.com/anonrig
anonrig https://github.com/anonrig
https://github.com/nodejs/node/pull/66939/files/ed9a05cfc28fe9f10c1f5d7751c0257ed23f7490
Please reload this pagehttps://github.com/nodejs/node/pull/66939
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
fs https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Afs
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
fs: heap buffer overflow in readFileSync(fd, "utf8") when a pipe returns short reads https://github.com/nodejs/node/issues/66341
Please reload this pagehttps://github.com/nodejs/node/pull/66939
https://github.com/christianaurichzm
https://github.com/nodejs-github-bot
https://github.com/anonrig
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.