util: inspect: do not crash on an Error stack pointing to itself · nodejs/node@db648b9 · GitHub
Skip to content

Commit db648b9

Browse files
SamVerschuerenaduh95
authored andcommitted
util: inspect: do not crash on an Error stack pointing to itself
PR-URL: #58196 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
1 parent a029a06 commit db648b9

2 files changed

Lines changed: 37 additions & 4 deletions

File tree

lib/internal/util/inspect.js

Lines changed: 6 additions & 1 deletion

test/parallel/test-util-inspect.js

Lines changed: 31 additions & 3 deletions

0 commit comments

Comments
 (0)