nodejs / llnode

An lldb plugin for Node.js and V8, which enables inspection of JavaScript states for insights into Node.js processes and their core dumps.
Other
1.15k stars 99 forks source link

src: harden SlicedString::ToString #332

Closed mmarchini closed 4 years ago

mmarchini commented 4 years ago

Add some extra checks to make sure we won't crash when stringifying a (possibly corrupted) SlicedString.

mmarchini commented 4 years ago

I had this issue in the wild. Couldn't come up with a test case for it though...

mmarchini commented 4 years ago

Landed in bff9f5ea3e75