Skip to content

util: fix infinite recursion during inspection

Rodrigo Muino Tomonari requested to merge github/fork/BridgeAR/fix/37054 into master
doc: fix outdated util inspect documentation and layout example

The documentation and layout example was not up to date with the
latest changes.
util: fix infinite recursion during inspection

A specially crafted object with circular structures behind getters
could cause a infinite recursion. This is now fixed by detecting the
objects as already visited.

Fixes: https://github.com/nodejs/node/issues/37054

Merge request reports

Loading