diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 4f7d1effbc9..7c0e826ec96 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -152,7 +152,7 @@ GpStatus WINGDIPAPI GdipGetPathPoints(GpPath *path, GpPointF* points, INT count) if(count < path->pathdata.Count) return InsufficientBuffer; - memcpy(points, path->pathdata.Points, path->pathdata.Count); + memcpy(points, path->pathdata.Points, path->pathdata.Count * sizeof(GpPointF)); return Ok; }