20 Sep
2022
20 Sep
'22
10:02 p.m.
VariantCopyInd allows pvargDest == pvargSrc in order to dereference in place To avoid confusing the source values and a partially-written destination, wine's implementation makes a shallow copy and uses that as pSrc. However, the call to VARIANT_CopyIRecordInfo did not use this, leading to it copying from the zeroed-out memory it just allocated. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/897