You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Otherwise recursive calls keep going until they trip ASan checks.
Remove the `__ASAN__` and `__UBSAN__` defines; no longer necessary.
Remove `globalThis.__running_with_sanitizer__` from qjs; likewise.
Fixes: quickjs-ng#671Fixes: quickjs-ng#775Fixes: quickjs-ng#776
Otherwise recursive calls keep going until they trip ASan checks.
Remove the `__ASAN__` and `__UBSAN__` defines; no longer necessary.
Remove `globalThis.__running_with_sanitizer__` from qjs; likewise.
Fixes: quickjs-ng/quickjs#671Fixes: quickjs-ng/quickjs#775Fixes: quickjs-ng/quickjs#776
Hi,
The following test input (
input.js
) causes theqjs
a stack-overflow issue.Compilation command:
cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-fsanitize=address -ldl -static-libasan" -DCMAKE_INSTALL_PREFIX=/home/benchmarks/quickjs/build ..
andmake -j12
.Compiler version:
gcc-7.5.0
.System:
ubuntu 18.04
.quickjs
version:master
(74fd4d7).Thanks.
The text was updated successfully, but these errors were encountered: