Files
node/lib/internal
Zach Bjornson 8886b63cf6 fs: fix error when writing buffers > INT32_MAX
This reverts c380ee6785.
uv_fs_write returns an int, so it is not possible to ask
it to write more than INT32_MAX.

Instead, validate 'length' is an int32 in JS to avoid
the assertion failure.

PR-URL: https://github.com/nodejs/node/pull/38546
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-05-10 15:04:37 -07:00
..
2021-01-22 19:56:34 -08:00
2021-04-28 13:13:23 -07:00
2021-04-28 13:13:23 -07:00
2021-03-23 11:03:18 -05:00
2021-04-28 13:13:23 -07:00
2021-01-27 20:46:54 +02:00
2021-04-09 16:58:58 -07:00
2020-12-07 10:08:03 -08:00
2020-12-29 15:49:09 +00:00
2021-04-08 10:33:09 +02:00
2021-04-19 10:23:01 +02:00
2021-04-28 13:13:23 -07:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.