Robert Stefanic
e26cfd313e
LibJS: Prevent stack overflow in flatten_into_array()
...
The check for stack space in VM from push_execution_context has been
moved to a method on VM called did_reach_stack_space_limit. This
allows us to check the stack size in other places besides
push_execution_context.
We can now verify that we have enough space on the stack before calling
flatten_into_array to ensure that we don't cause a stack overflow error
when calling the function with a large depth.
2021-08-15 11:24:30 +01:00
..
2021-01-12 12:17:46 +01:00
2021-06-22 20:49:28 +01:00
2021-07-04 22:07:36 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-04-13 15:16:16 +02:00
2021-06-08 23:53:13 +02:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-06-14 09:57:06 +01:00
2021-03-12 19:01:08 +01:00
2021-07-04 22:07:36 +01:00
2021-06-14 09:57:06 +01:00
2021-06-14 09:57:06 +01:00
2021-07-06 00:15:37 +01:00
2021-01-12 12:17:46 +01:00
2021-07-04 22:07:36 +01:00
2021-07-04 22:07:36 +01:00
2021-07-04 22:07:36 +01:00
2021-08-06 16:17:25 +01:00
2021-08-06 16:17:25 +01:00
2021-08-15 11:24:30 +01:00
2021-06-14 09:57:06 +01:00
2021-07-04 22:07:36 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-06-12 14:40:34 +01:00
2021-01-12 12:17:46 +01:00
2021-07-04 22:07:36 +01:00
2021-07-07 21:24:26 +01:00
2021-01-12 12:17:46 +01:00
2021-07-20 23:45:28 +02:00
2021-07-20 23:45:28 +02:00
2021-06-14 09:57:06 +01:00
2021-07-06 14:20:30 +01:00
2021-06-13 16:21:34 +01:00
2021-07-04 22:07:36 +01:00
2021-01-12 12:17:46 +01:00
2021-06-10 10:04:06 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00
2021-01-12 12:17:46 +01:00