Files
node/test/parallel
cjihrig 751a42a30f fs: add length validation to fs.truncate()
This commit adds validation to the length parameter of
fs.truncate(). Prior to this commit, passing a non-number would
trigger a CHECK() in the binding layer.

PR-URL: https://github.com/nodejs/node/pull/20851
Fixes: https://github.com/nodejs/node/issues/20844
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2018-05-25 21:48:37 -04:00
..
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-03-25 01:45:40 +01:00
2018-05-19 17:55:57 +02:00
2018-03-25 01:45:38 +01:00
2018-05-19 17:55:57 +02:00
2018-05-20 14:15:56 -07:00