Files
node/lib
Michaël Zasso d3178d8b1b buffer: SlowBuffer only accept valid numeric values
Fixes a regression that appeared with the new Buffer implementation in v3.
Without this change, calling the SlowBuffer constructor with something else
than a number would abort on the C++ side. This makes sure that the length
argument is coerced to number or is 0.

Fixes: https://github.com/nodejs/node/issues/2634
PR-URL: https://github.com/nodejs/node/pull/2635
Reviewed-By: trevnorris - Trevor Norris <trev.norris@gmail.com>
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
2015-09-06 21:39:06 +10:00
..
2015-06-11 20:24:44 +02:00
2015-08-20 01:14:37 -07:00
2015-06-11 20:24:44 +02:00
2015-05-09 12:10:02 +09:00
2015-08-04 11:56:14 -07:00
2015-07-27 11:48:36 -07:00
2015-06-11 20:24:44 +02:00
2015-08-23 17:59:43 -04:00
2015-06-11 20:24:44 +02:00
2015-01-31 23:47:29 -05:00
2015-08-04 11:56:12 -07:00