summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorJUN FANG <jun_fang@foxitsoftware.com>2015-02-10 08:13:01 -0800
committerJUN FANG <jun_fang@foxitsoftware.com>2015-02-10 08:13:01 -0800
commit0c61a738d2a8bef13c8fbe08c6df0b27238960ab (patch)
tree4c3afe4f2f5f2b662621b684b2c72ee4c59bd0c3 /core/include/fpdfapi
parent994bffe804eb3e2b5af11d0526b278078ab5efcb (diff)
downloadpdfium-0c61a738d2a8bef13c8fbe08c6df0b27238960ab.tar.xz
Fix uninitialized value in CFX_ByteString::FormatIntegerchromium/2304chromium/2303chromium/2302
BUG=449845 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/911293002
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_objects.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index 1b7cb94583..ec052af41a 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -165,10 +165,10 @@ public:
return FX_NEW CPDF_Number(bInteger, pData);
}
- CPDF_Number()
+ CPDF_Number(): m_Integer(0)
{
m_Type = PDFOBJ_NUMBER;
- }
+ }
CPDF_Number(FX_BOOL bInteger, void* pData);