Files
node/lib
Anna Henningsen ef9a8fa35b buffer: ignore negative allocation lengths
Treat negative length arguments to `Buffer()`/`allocUnsafe()`
as if they were zero so the allocation does not affect the
pool’s offset.

Fixes: https://github.com/nodejs/node/issues/7047
PR-URL: https://github.com/nodejs/node/pull/7051
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
2016-05-31 18:52:42 +02:00
..
2016-05-30 09:05:46 -07:00
2015-10-08 17:32:08 -07:00
2016-04-29 16:52:57 -07:00
2016-05-31 09:45:14 -04:00
2016-05-17 11:05:18 -07:00
2016-05-26 11:28:45 +02:00
2016-03-21 15:48:51 -07:00
2016-05-17 11:05:18 -07:00
2016-05-18 02:12:28 -04:00
2016-05-12 10:03:06 -04:00
2016-05-17 11:05:18 -07:00
2016-05-23 12:16:41 +02:00
2015-01-31 23:47:29 -05:00