[PATCH] gdi32: Do not crash when calling ModifyWorldTransform() with a NULL xform parameter.
Huw Davies
huw at codeweavers.com
Tue Mar 30 02:46:43 CDT 2021
On Tue, Mar 30, 2021 at 11:30:36AM +0800, Zhiyi Zhang wrote:
> EMFDRV_ModifyWorldTransform() does direct struct copy through pointer dereference. And, 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.
It would be cleaner to fix the bug in EMFDRV_ModifyWorldTransform() itself.
Huw.
More information about the wine-devel
mailing list