Gerald Pfeifer : vbscript: Add missing error handling in interp_jmp_false.
Module: wine Branch: master Commit: d685a07f221e1f5be34c85837d2016cd5b755e93 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d685a07f221e1f5be34c85837d... Author: Gerald Pfeifer <gerald(a)pfeifer.com> Date: Tue Sep 13 23:45:23 2011 +0200 vbscript: Add missing error handling in interp_jmp_false. --- dlls/vbscript/interp.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/vbscript/interp.c b/dlls/vbscript/interp.c index 593c83e..66c2cf1 100644 --- a/dlls/vbscript/interp.c +++ b/dlls/vbscript/interp.c @@ -391,6 +391,9 @@ static HRESULT interp_jmp_false(exec_ctx_t *ctx) TRACE("%u\n", arg); hres = stack_pop_val(ctx, &val); + if(FAILED(hres)) + return hres; + if(V_VT(val.v) != VT_BOOL) { FIXME("unsupported for %s\n", debugstr_variant(val.v)); release_val(&val);
participants (1)
-
Alexandre Julliard