bitblt.c - GdiAlphaBlend : Check for NULL Pointer
bunglehead at gmail.com
Thu Sep 10 16:17:03 CDT 2009
Roderick Colenbrander wrote:
> Recently Nikolay Sivov wrote some tests for this call. His tests
> didn't make it in yet but I think those should enter and then based on
> those results changes should be made.
> On Thu, Sep 10, 2009 at 10:56 PM, Markus Stockhausen
> <markus.stockhausen at collogia.de> wrote:
>> 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.
This is what Roderick is talking about:
I don't think it will be committed, it should be included with a fix.
You may take this part and resubmit:
+ expect_eq(pGdiAlphaBlend(hdcDst, 0, 0, 20, 20, NULL, 0, 0, 20, 20,
blend), FALSE, BOOL, "%d");
+ expect_eq(GetLastError(), 0xdeadbeef, int, "%d");
More information about the wine-devel