http://bugs.winehq.org/show_bug.cgi?id=8066
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2008-05-09 15:51:53 --- (In reply to comment #9)
@Nikolay: it will certainly help , but it's wrong. I already sent something like that long time ago: http://www.winehq.org/pipermail/wine-patches/2007-May/039496.html
After it was rejected, i tested on windows, and found this fix is not correct. Ergo, the cause of this crash must be somewhere else
How have you tested it on Windows?
Something like this is acceptable in native dll: { HBITMAP bm; void* data;
bm = CreateDIBSection(hdc,NULL,0,&data,NULL,0); }
Saying somewhere else you meant that wine dlls made this call with NULL arg? If it's true we should check that first of course. But argument check in CreateDIBSection is necessary, cause native version support this null-pointer arg.