mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
99c02eb451
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: https://github.com/quickjs-ng/quickjs/issues/671 Fixes: https://github.com/quickjs-ng/quickjs/issues/775 Fixes: https://github.com/quickjs-ng/quickjs/issues/776
7 lines
123 B
JavaScript
7 lines
123 B
JavaScript
/*---
|
|
negative:
|
|
phase: runtime
|
|
type: RangeError
|
|
---*/
|
|
function f() { f.apply(null) } // was problematic under ASan
|
|
f()
|