• Kevin Puetz's avatar
    oleaut32: Dereference VT_RECORD|VT_BYREF in place. · 28e0d8ff
    Kevin Puetz authored
    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.
    28e0d8ff
vartest.c 347 KB