From 1fc841f6555d9700499dcc59adf0e6b1d6bc5795 Mon Sep 17 00:00:00 2001
From: Evan Stade <estade@gmail.com>
Date: Mon, 9 Jul 2007 20:54:43 -0700
Subject: [PATCH] gdiplus: Fixed bug in GdipGetPathPoints().

---
 dlls/gdiplus/graphicspath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 }
-- 
GitLab