summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-11-21 14:18:41 +0100
committerAnna Henningsen <anna@addaleax.net>2019-11-28 02:01:54 +0100
commit255461e19ab08748e2b9b375ff26191bd1cdc8d9 (patch)
treecc07722ea24acdaa5a522e0452f2a43d8de627dc /deps
parent3e6e0006d837c187814151f80847cba4693ebb4f (diff)
downloadandroid-node-v8-255461e19ab08748e2b9b375ff26191bd1cdc8d9.tar.gz
android-node-v8-255461e19ab08748e2b9b375ff26191bd1cdc8d9.tar.bz2
android-node-v8-255461e19ab08748e2b9b375ff26191bd1cdc8d9.zip
util: fix inspection of errors with tampered name or stack property
This makes sure that `util.inspect()` does not throw while inspecting errors that have the name or stack property set to a different type than string. Fixes: https://github.com/nodejs/node/issues/30572 PR-URL: https://github.com/nodejs/node/pull/30576 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions