diff options
author | Trevor Norris <trev.norris@gmail.com> | 2015-10-09 14:18:54 -0600 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2015-10-09 15:42:23 -0600 |
commit | e97dae573c11ae6db072aa41d00e4422d38f68c7 (patch) | |
tree | fa5eee81b67a08dcb4b37974a230a61bda90a768 /deps/npm/man/man3/npm-bugs.3 | |
parent | 775c01e3aa0610112b1e7348dad8873cb8245fe5 (diff) | |
download | node-new-e97dae573c11ae6db072aa41d00e4422d38f68c7.tar.gz |
buffer: don't abort on prototype getters
Accessing prototype properties directly on a typed array will throw. So
do an extra check in Buffer's own getters to verify it is being called
on an instance.
Fixes: https://github.com/nodejs/node/issues/3297
PR-URL: https://github.com/nodejs/node/pull/3302
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/man/man3/npm-bugs.3')
0 files changed, 0 insertions, 0 deletions