[Git][wine/wine][master] vbscript: Move call_depth check past exec_script's setup phase.
Alexandre Julliard pushed to branch master at wine / wine Commits: 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. - - - - - 2 changed files: - dlls/vbscript/interp.c - dlls/vbscript/tests/lang.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/a5e4f1771c9c42d05df636488887b0e... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/a5e4f1771c9c42d05df636488887b0e... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)