Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZYSzys <17367077526@163.com>2019-02-17 16:59:10 +0300
committerAnna Henningsen <anna@addaleax.net>2019-02-22 00:08:53 +0300
commit6fb7baf935442a1ceddcd0a585892456438f95aa (patch)
tree0cacb7315eeda5389a6a4005064c183b17a82c5a /src/aliased_buffer.h
parentdbfe14c8092ba914afc22d4ed8b0e1937c27ac25 (diff)
buffer: harden validation of buffer allocation size
This makes using `NaN` as the buffer size throw an error. Fixes: https://github.com/nodejs/node/issues/26151 PR-URL: https://github.com/nodejs/node/pull/26162 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/aliased_buffer.h')
0 files changed, 0 insertions, 0 deletions