Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c

Issue 354413002: Fix uninitialized font_offset (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: init temp and temp_scale Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c
index 76e36f82e72e1bb63c22d4869c07af559f81ac4e..661dd075ebce8efb2fb46df5c68ba93624a0af4d 100644
--- a/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c
+++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1load.c
@@ -1100,8 +1100,8 @@
FT_Matrix* matrix = &face->type1.font_matrix;
FT_Vector* offset = &face->type1.font_offset;
FT_Face root = (FT_Face)&face->root;
- FT_Fixed temp[6];
- FT_Fixed temp_scale;
+ FT_Fixed temp[6] = {0, 0, 0, 0, 0, 0};
+ FT_Fixed temp_scale = 0;
FT_Int result;
« no previous file with comments | « core/src/fxge/fx_freetype/fxft2.5.01/src/type1/t1gload.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698