April 3, 2026
6:58 p.m.
Jacek Caban (@jacek) commented about dlls/vbscript/compile.c:
if(!identifier) return E_OUTOFMEMORY;
- hres = compile_expression(ctx, stat->from_expr); - if(FAILED(hres)) - return hres; - if(!push_instr(ctx, OP_numval)) + expr_err_label = alloc_label(ctx); + if(!expr_err_label) return E_OUTOFMEMORY;
This changes the order in which those expressions are evaluated, which can potentially change the script’s behavior. Is that intentional? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10500#note_134965