-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
fs.realpath.native
causes SIGABRT
on darwin when the realpath is really long
#34900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To clarify: there's no buffer overrun anymore after libuv/libuv#2965 lands because paths are never > 1024 on that platform. The problem was that libuv was using the wrong constant, one that was considerably smaller. |
Correct, I'll scratch the last bit. |
At this late stage it's very unlikely libuv will be updated again in Node.js 10.x. |
Uh oh!
There was an error while loading. Please reload this page.
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Almost every time.
What is the expected behavior?
return ENOENT.
What do you see instead?
Crash with SIGABRT
Additional information
The bug is confirmed by the libuv and the patch is underway: libuv/libuv#2965
The text was updated successfully, but these errors were encountered: