-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Abort/core dump in fs.closeSync upon fd of greater than 32 bit #28980
Copy link
Copy link
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
Type
Fields
Give feedbackNo fields configured for issues without a type.
v12.7.0installed with nvmLinux lt2.cfware.com 5.1.20-300.fc30.x86_64 #1 SMP Fri Jul 26 15:03:11 UTC 2019 x86_64 x86_64 x86_64 GNU/LinuxfsTested in REPL:
fs.closeSync(4294967296)produces a JS exception:fs.closeSync(4294967295)trips a C++ assertion:Obviously this is not a reasonable thing to do but an invalid fd it should produce a JS exception and not core dump.