http://bugs.winehq.org/show_bug.cgi?id=18575
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|oleaut32 |-unknown
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2010-05-07 09:17:55 --- I don't see why it's an oleaut32 bug. Austin, could you attach complete +relay? A part you reported with doesn't contain anything closely related to registration problem.
About this oleaut32 call:
--- 001d:Call oleaut32.SysReAllocStringLen(0199e834,0199dff4,00000025) ret=00403d94 001d:Call ntdll.RtlAllocateHeap(00110000,00000000,00000050) ret=7e76369d 001d:Ret ntdll.RtlAllocateHeap() retval=00159338 ret=7e76369d 001d:Ret oleaut32.SysReAllocStringLen() retval=00000001 ret=00403d94 001d:Call sfc_os.SfcIsFileProtected(00000000,0015933c L"C:\Program Files\FlashFXP\IEFlash.dll") ret=0043cf6a 001d:Ret sfc_os.SfcIsFileProtected() retval=00000000 ret=0043cf6a 001d:Call oleaut32.SysFreeString(0015933c L"C:\Program Files\FlashFXP\IEFlash.dll") ret=00403cb3 ---
For some reason they decided to call SfcIsFileProtected() with BSTR-allocated string. That's the only purpose of this SysReAllocStringLen here (which doesn't fail by the way).