summaryrefslogtreecommitdiff
path: root/core/src/fxge
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2014-06-05 11:12:52 -0700
committerJohn Abd-El-Malek <jam@chromium.org>2014-06-05 11:12:52 -0700
commitf0a5576384e6def4f1fe78d6e0b12b0a9d710bf8 (patch)
tree5b8ddc93dd549f9b63e9216fa85673ba7e6f454b /core/src/fxge
parentbb2b1e72929fb78f9d5b64b3732ed9b5cc93af4e (diff)
downloadpdfium-f0a5576384e6def4f1fe78d6e0b12b0a9d710bf8.tar.xz
fix two uninitialized reads
https://code.google.com/p/pdfium/issues/detail?id=9 https://code.google.com/p/pdfium/issues/detail?id=10 BUG= R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/312273002
Diffstat (limited to 'core/src/fxge')
-rw-r--r--core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/psconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/psconv.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/psconv.c
index 22e2f7d9ba..c13d41b6a8 100644
--- a/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/psconv.c
+++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/psconv.c
@@ -202,7 +202,7 @@
FT_INT64 integral = 0;
FT_INT64 decimal = 0;
#else
- FT_Long integral;
+ FT_Long integral = 0;
FT_Long decimal = 0;
FT_Int temp0 = 65536;
FT_Int temp1 = power_ten;