Vincent Povirk : gdiplus: Fix use of uninitialized memory.
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 12:46:57 CDT 2011
Module: wine
Branch: master
Commit: 171e832839c082b55e7e44161d82bd58aa3b056e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=171e832839c082b55e7e44161d82bd58aa3b056e
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Fri Jul 15 13:21:09 2011 -0500
gdiplus: Fix use of uninitialized memory.
---
dlls/gdiplus/graphics.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 1e3f946..324b895 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -4713,6 +4713,9 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
args.graphics = graphics;
args.brush = brush;
+ args.x = rect->X;
+ args.y = rect->Y;
+
args.rel_width = rel_width;
args.rel_height = rel_height;
More information about the wine-cvs
mailing list