Files
node/lib
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
..
2020-10-21 01:26:34 +02:00
2021-04-10 14:31:34 -07:00
2021-04-23 13:18:38 +02:00
2021-05-09 09:11:38 +02:00
2021-01-22 19:56:34 -08:00
2021-04-16 07:47:46 +02:00
2021-02-11 19:30:28 +05:30
2021-04-19 10:23:01 +02:00
2021-04-26 11:54:15 -07:00
2021-04-14 17:07:26 +02:00
2021-04-30 10:59:28 -07:00
2021-04-24 11:56:42 +02:00
2021-05-01 16:41:37 -07:00