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@winehq.org ReportedBy: rosen.diankov@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);
http://bugs.winehq.org/show_bug.cgi?id=33892
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|major bugfix in |Bug in |IRecordInfoImpl_RecordCopy |IRecordInfoImpl_RecordCopy Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=33892
--- Comment #1 from Austin English austinenglish@gmail.com 2013-06-26 13:15:45 CDT --- Please send a patch. See http://wiki.winehq.org/SubmittingPatches for more info.
http://bugs.winehq.org/show_bug.cgi?id=33892
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2013-09-08 05:34:22 CDT --- Can you please resend your patch to the mailing list?
http://bugs.winehq.org/show_bug.cgi?id=33892
--- Comment #3 from Rosen Diankov rosen.diankov@gmail.com 2013-09-08 05:44:22 CDT --- it's right here:
http://www.winehq.org/pipermail/wine-patches/2013-June/125059.html
http://bugs.winehq.org/show_bug.cgi?id=33892
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2013-09-08 06:02:44 CDT --- (In reply to comment #3)
it's right here:
http://www.winehq.org/pipermail/wine-patches/2013-June/125059.html
Please resend it in git diff format, and add test case. If you don't have time for this please say so, this way your find will be less likely lost.
http://bugs.winehq.org/show_bug.cgi?id=33892
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Bug in |IRecordInfo::RecordCopy() |IRecordInfoImpl_RecordCopy |is broken Ever confirmed|0 |1
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Proposed patch is broken too, not that horribly, but still not what we need. I'm working on a proper fix.
http://bugs.winehq.org/show_bug.cgi?id=33892
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |60252ea65bbdf991938d919cd4c | |734809fb899bf Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- This is improved with 60252ea65bbdf991938d919cd4c734809fb899bf.
https://bugs.winehq.org/show_bug.cgi?id=33892
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.12.