[Bug 13152] QIP Infium: incorrect fonts displaying

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 15 08:44:44 CDT 2008


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





--- Comment #6 from Dmitry Timoshkov <dmitry at codeweavers.com>  2008-05-15 08:44:44 ---
The problem is caused by the application bug. It does:

str1 = SysAllocStringLen("Reply", 5);
SysFreeString(str1);
str2 = SysAllocStringLen(str1, 5);

i.e. it passes a just freed memory block as a string pointer to copy data
from. Wine allocates new memory block in the place of just freed one, and
simultaneously changes some internal data structures which happen to be
inside of a previously freed memory block, and that corrupts the passed in
data.

According to a snoop trace native oleaut32 doesn't do memory allocations
on each SysAllocStringLen call, and probably uses some internal cache.

I'd say this bug is a WONTFIX, please report the problem to the application
developers.


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