[Bug 16585] Printing document with images crashes wine

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 1 07:49:06 CST 2009


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





--- Comment #4 from Jeff Zaroyko <jeffz at jeffz.name>  2009-01-01 07:49:06 ---
Created an attachment (id=18364)
 --> (http://bugs.winehq.org/attachment.cgi?id=18364)
hack

hmm, well, the problem seems to be that the cySrc parameter originally passed
to OLEPictureImpl_Render is negative which filters down and is used to
calculate a buffer size in PSDRV_StretchDIBits for HeapAlloc, which will be
some rather large number, hence the crash because it returns 0.

Try this hack, apply with `patch -p1 < hack.diff` then run make again.


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