Skip to content

src: prevent crash in TTYWrap::Initialize

Rodrigo Muino Tomonari requested to merge github/fork/Hakerh400/tty into master

When console.log is called for the first time it initializes TTYWrap object. However, if there is not enough space on the V8 stack, creating function template fails and triggers empty maybe local exception.

Fixes #26829 (closed)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading