WGL: fix piAttributes NULL crash

Roderick Colenbrander thunderbird2k at gmx.net
Wed Jan 3 17:15:54 CST 2007


This patch fixes a nullpointer dereferencing bug in wglCreatePbufferARB / wglChoosePixelFormatARB. The code didn't take into account that the list of attributes could be NULL which is a legal value.

Roderick Colenbrander
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wgl_nullpointer.patch
Type: text/x-patch
Size: 723 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070104/09f58a0e/wgl_nullpointer.bin

More information about the wine-patches mailing list