From 3a323c3de0b9721cb1981080ecee68c30388e5ef Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 15 Oct 2021 22:35:32 -0400 Subject: [PATCH] [WIN32K] Fix uninitialized bResult in IntExtTextOutW. Powered by clang-cl. --- win32ss/gdi/ntgdi/freetype.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/win32ss/gdi/ntgdi/freetype.c b/win32ss/gdi/ntgdi/freetype.c index 55bb3612e45..b56aab526d6 100644 --- a/win32ss/gdi/ntgdi/freetype.c +++ b/win32ss/gdi/ntgdi/freetype.c @@ -6168,6 +6168,7 @@ IntExtTextOutW( { DPRINT1("Failed to render glyph! [index: %d]\n", glyph_index); IntUnLockFreeType(); + bResult = FALSE; goto Cleanup; } @@ -6243,6 +6244,7 @@ IntExtTextOutW( { DPRINT1("Failed to load and render glyph! [index: %d]\n", glyph_index); IntUnLockFreeType(); + bResult = FALSE; goto Cleanup; } @@ -6256,6 +6258,7 @@ IntExtTextOutW( { DPRINT1("Failed to render glyph! [index: %d]\n", glyph_index); IntUnLockFreeType(); + bResult = FALSE; goto Cleanup; }