Abort/core dump in fs.closeSync upon fd of greater than 32 bit #28980
Labels
c++
Issues and PRs that require attention from people who are familiar with C++.
confirmed-bug
Issues with confirmed bugs.
fs
Issues and PRs related to the fs subsystem / file system.
v12.7.0
installed 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/Linux
fs
Tested 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.
The text was updated successfully, but these errors were encountered: