freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] t42objs.c (T42_Size_Init): fix possible uninitialized use of tts


From: Ozkan Sezer
Subject: [PATCH] t42objs.c (T42_Size_Init): fix possible uninitialized use of ttsize
Date: Wed, 4 Jun 2025 11:47:23 +0300

---
 src/type42/t42objs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/type42/t42objs.c b/src/type42/t42objs.c
index 7010ba8..a8336b0 100644
--- a/src/type42/t42objs.c
+++ b/src/type42/t42objs.c
@@ -504,7 +504,7 @@
     T42_Size  t42size = (T42_Size)size;
     FT_Face   face    = size->face;
     T42_Face  t42face = (T42_Face)face;
-    FT_Size   ttsize;
+    FT_Size   ttsize  = NULL;
     FT_Error  error;


--
O.S.

Attachment: 0001-t42objs.c-T42_Size_Init-fix-possible-uninitialized-u.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]