[Bug 33892] New: major bugfix in IRecordInfoImpl_RecordCopy

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 26 07:50:51 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33892

             Bug #: 33892
           Summary: major bugfix in IRecordInfoImpl_RecordCopy
           Product: Wine
           Version: 1.6-rc3
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: oleaut32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: rosen.diankov at gmail.com
    Classification: Unclassified


the following function in oleaut32/recinfo.c

static HRESULT WINAPI IRecordInfoImpl_RecordCopy(IRecordInfo *iface, PVOID
pvExisting, PVOID pvNew)

needs to copy stuff from pvExisting to pvNew, however it was doing the
opposite!
The fix is simple, just do:

memcpy(pvNew, pvExisting, This->size);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list