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
Analyzed by Peter Cawley.
(cherry picked from commit a4c1640)
The `pcall()` and `xpcall()` calls in GC64 mode require 2 slots. This
means that all arguments should be moved up during emitting of the frame
link to the stack. Hence, this may cause stack overflow without the
corresponding check.
This patch adds the corresponding checks to the VM. Non-GC64 VMs are
updated as well for the consistency.
Sergey Bronnikov:
* added the description and the test for the problem
Part of tarantool/tarantool#12134
Reviewed-by: Sergey Kaplun <[email protected]>
Signed-off-by: Sergey Kaplun <[email protected]>
(cherry picked from commit bdd5908)
0 commit comments