summaryrefslogtreecommitdiff
path: root/.eslintignore
diff options
context:
space:
mode:
authorMatt Loring <mattloring@google.com>2015-12-07 16:52:53 -0700
committerTrevor Norris <trev.norris@gmail.com>2015-12-07 16:52:53 -0700
commitec836547c486394505bc3ea6e195dbd2f3137cf6 (patch)
tree3d1faf85728444c42bf7fa804cc14b8be9a039e3 /.eslintignore
parentd2c8ba5248d68a6b152ea8443a1c50feab35a162 (diff)
downloadandroid-node-v8-ec836547c486394505bc3ea6e195dbd2f3137cf6.tar.gz
android-node-v8-ec836547c486394505bc3ea6e195dbd2f3137cf6.tar.bz2
android-node-v8-ec836547c486394505bc3ea6e195dbd2f3137cf6.zip
buffer: fix range checking for slowToString
If `start` is not a valid number in the range, then the default value zero will be used. Same way, if `end` is not a valid number in the accepted range, then, by default, the length of the buffer is assumed. Fixes: https://github.com/nodejs/node/issues/2668 Ref: https://github.com/nodejs/node/pull/2919 PR-URL: https://github.com/nodejs/node/pull/4019 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to '.eslintignore')
0 files changed, 0 insertions, 0 deletions