https://git.reactos.org/?p=reactos.git;a=commitdiff;h=60af8194bbbc5e2dfe496916bbfb2a80d75c1e4c

commit 60af8194bbbc5e2dfe496916bbfb2a80d75c1e4c
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Sun Nov 27 15:22:36 2022 +0200
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Tue Dec 13 07:18:24 2022 +0100

    [WIN32K] Fix uninitialized variable in IntExtTextOutW
---
 win32ss/gdi/ntgdi/freetype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win32ss/gdi/ntgdi/freetype.c b/win32ss/gdi/ntgdi/freetype.c
index 5100c20dc76..ca1285a4ae7 100644
--- a/win32ss/gdi/ntgdi/freetype.c
+++ b/win32ss/gdi/ntgdi/freetype.c
@@ -6052,7 +6052,7 @@ IntExtTextOutW(
     SIZEL bitSize;
     FONTOBJ *FontObj;
     PFONTGDI FontGDI;
-    PTEXTOBJ TextObj;
+    PTEXTOBJ TextObj = NULL;
     EXLATEOBJ exloRGB2Dst, exloDst2RGB;
     POINT Start;
     PMATRIX pmxWorldToDevice;

Reply via email to