[Bug 30839] BSTR cache corrupts most of cached BSTR entries

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 21 06:58:07 CDT 2012


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

--- Comment #10 from Jacek Caban <jacek at codeweavers.com> 2012-06-21 06:58:07 CDT ---
(In reply to comment #7)
> The application doesn't work with 32-bit oleaut32.dll copied from Vista,
> while it does work with 32-bit oleaut32.dll copied from XP.
> 
> Although it looks like the application is broken by newer oleaut32 bstr
> cache implementations,

If the application depends on bstr cache in any way it's obviously broken.

> Jacek, could you please have a look at the test and perhaps suggest what
> could be improved/changed in BSTR cache to make it pass?

I've attached a patch that may help. Although it's technically good, I don't it
in Wine yet.

Did you try running your test case on Windows with FLG_HEAP_ENABLE_FREE_CHECK
set? What you observe could be just another heap management (that is, the cache
frees the memory, but it's not yet corrupted by heap management).

-- 
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