Files
node/src
Matt Loring d3c0d1bb8b buffer: throw range error before truncating write
The check to determine whether `noAssert` was set to true and thus
whether RangeErrors should be thrown was happening after the write was
truncated to the available size of the buffer. These checks now occur in
the correct order.

Fixes: https://github.com/nodejs/node/issues/5587
PR-URL: https://github.com/nodejs/node/pull/5605
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-03-21 21:51:33 -07:00
..
2016-03-20 14:58:45 +02:00
2016-03-01 02:37:27 -07:00
2016-02-15 07:52:02 -08:00
2016-02-12 14:03:32 -07:00
2015-09-17 15:25:14 -05:00
2015-08-20 01:14:37 -07:00
2016-03-21 17:33:42 -04:00
2012-02-03 14:07:32 +00:00
2016-03-20 14:58:45 +02:00
2015-02-02 21:55:56 +01:00
2015-09-17 15:25:14 -05:00
2015-09-17 15:25:14 -05:00