http://bugs.winehq.org/show_bug.cgi?id=7380
--- Comment #35 from Dan Kegel dank@kegel.com 2008-02-28 19:02:16 --- Here's Rein's patch again: http://marc.info/?l=wine-patches&m=114269049431915&w=2 He mentions that this problem also affects bug 4334 and bug 4664.
I took the test from his patch, added in ideas from every fix for this I've seen, and submitted it as http://winehq.org/pipermail/wine-patches/2008-February/050832.html
This fixes the dib.exe test case from #17 as well as WinMerge. I can't get FoxIT 2.0 to crash, shrug.