mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
LibJS: Throw "call stack size exceeded" exception a bit earlier
This number is pure guesswork but it appears to fix GCC builds with both ASAN and UBSAN hitting a native stack overflow before we have a chance to catch it on our Azure CI.
This commit is contained in:
parent
13ed003be1
commit
fb4c632309
Notes:
sideshowbarker
2024-07-17 07:14:09 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/fb4c632309
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public:
|
|||
{
|
||||
// Address sanitizer (ASAN) used to check for more space but
|
||||
// currently we can't detect the stack size with it enabled.
|
||||
return m_stack_info.size_free() < 32 * KiB;
|
||||
return m_stack_info.size_free() < 128 * KiB;
|
||||
}
|
||||
|
||||
// TODO: Rename this function instead of providing a second argument, now that the global object is no longer passed in.
|
||||
|
|
Loading…
Add table
Reference in a new issue