winex11.drv: try work around a crash

Louis. Lenders xerox_xerox2000 at yahoo.co.uk
Thu Jan 24 03:00:32 CST 2008


Hi, basically this is a resend of a patch i sent very long time ago ( http://www.winehq.org/pipermail/wine-patches/2007-April/037733.html )

It's a fix for bug http://bugs.winehq.org/show_bug.cgi?id=7380#c29

As explained in comment http://bugs.winehq.org/show_bug.cgi?id=7380#c29
the cause of these crashes is some buggy mfc-function
, and as windows is able to work around this, wine should do the same.

I've put the exception handler only around X11DRV_DIB_SetImageBits_24 , as that's where all the applications crash; if we want to mimic windows behaviour it should be put around all cases i guess, but i'm not sure we want to that and maybe hide other bugs.

If this patch is rejected could you please comment why, to help fix the bug in a better way



      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20080124/ebc9e345/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: y.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080124/ebc9e345/attachment.txt 


More information about the wine-patches mailing list