8 Feb
2023
8 Feb
'23
2:26 p.m.
Jacek Caban (@jacek) commented about dlls/vbscript/interp.c:
array = V_ISBYREF(v) ? *V_ARRAYREF(v) : V_ARRAY(v);
hres = array_bounds_from_stack(ctx, dim_cnt, &bounds); - if(FAILED(hres)) - return hres;
Yes, it's better now, but this part was better without changes. When array_bounds_from_stack fails, bounds in not allocated, so the quick exit is fine. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2132#note_23436