[PATCH v2] gdi32: Avoid crash when calling EMFDRV_ModifyWorldTransform() with a NULL xform parameter.

Huw Davies huw at codeweavers.com
Wed Mar 31 02:55:56 CDT 2021


On Tue, Mar 30, 2021 at 04:17:39PM +0800, Zhiyi Zhang wrote:
> When the mode parameter is MWT_IDENTITY, the xform parameter can be NULL because it should be
> ignored and use the identity matrix.
> 
> Fix Tally crashing when exporting a JPEG image.
> 
> Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
> ---
> v2: Supersede 202843. Check the mode parameter in EMFDRV_ModifyWorldTransform().
> 

I've tweaked the commit message and sent in v3.

Thanks,
Huw.



More information about the wine-devel mailing list