[PATCH v2 3/3] winex11.drv: fix NULL pointer dereference (clang)

Alexandre Julliard julliard at winehq.org
Thu Jul 7 22:17:48 CDT 2016


Kirill Smirnov <kirill.k.smirnov at gmail.com> writes:

> @@ -1679,6 +1679,11 @@ static void xrender_put_image( Pixmap src_pixmap, Picture src_pict, Picture mask
>      }
>      else
>      {
> +        if (!physdev)
> +        {
> +            ERR("physdev is NULL\n");
> +            return;
> +        }

This should never happen.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list