On 09/10/2009 10:56 PM, Markus Stockhausen wrote:
Hi,
http://bugs.winehq.org/show_bug.cgi?id=18041 reveals a bug where GdiAlphaBlend will crash in Teamviewer application when a NULL pointer is handed over. The attached check fixes that behaviour.
Tanks in advance.
Markus
No comments on the validity of the patch but you should add a test for this to the conformance tests.
If you are bailing out when dcSrc == NULL then the other checks in that function for dcSrc are not necessary anymore.