-- v3: gdiplus: Prevent uninitializd memory access (Coverity)
From: Fabian Maurer dark.shadow4@web.de
--- dlls/gdiplus/metafile.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/gdiplus/metafile.c b/dlls/gdiplus/metafile.c index eb8b4197f3f..4ad28fde48d 100644 --- a/dlls/gdiplus/metafile.c +++ b/dlls/gdiplus/metafile.c @@ -3404,6 +3404,8 @@ GpStatus WINGDIPAPI GdipPlayMetafileRecord(GDIPCONST GpMetafile *metafile, { if (flags & 0x800) /* P */ { + points[0].X = fill->PointData.pointsR[0].X; + points[0].Y = fill->PointData.pointsR[0].Y; for (i = 1; i < fill->Count; i++) { points[i].X = points[i - 1].X + fill->PointData.pointsR[i].X;
This one is broken after recent 69d815407d99667e2565e268629d909fe50b2b30. We'll need to examine this change more carefully, it didn't switch to equivalent zero-ing calls.