[Bug 8066] Page fault when starting 9 Dragons

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 9 15:51:53 CDT 2008


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





--- Comment #10 from Nikolay Sivov <bunglehead at 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.


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