a5e4f177
by Francis De Brabandere at 2026-04-28T22:24:22+02:00
vbscript: Move call_depth check past exec_script's setup phase.
The check was incremented at function entry but five early-return
paths in the validation/allocation block skipped the matching
decrement, leaking ctx->call_depth and eventually causing every
later call to fail with VBSE_OUT_OF_STACK. Counting only after
setup succeeds removes the leak by structure: a single decrement
at the bottom always pairs with the single increment, and adding
new early returns in the setup block can no longer desync it.