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

Unified Diff: core/include/fpdfapi/fpdf_objects.h

Issue 911293002: Fix uninitialized value in CFX_ByteString::FormatInteger (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | core/include/fxcrt/fx_coordinates.h » ('j') | core/include/fxcrt/fx_coordinates.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fpdfapi/fpdf_objects.h
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index 1b7cb94583fe21f1d68a512defe1b4fb100fa5f7..e8e6d55c36380d1faac3971fad49f9c8db8c7e89 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -167,7 +167,8 @@ public:
CPDF_Number()
{
Tom Sepez 2015/02/10 23:17:04 nit: prefer initializer list.
- m_Type = PDFOBJ_NUMBER;
+ m_Type = PDFOBJ_NUMBER;
+ m_Integer = 0;
}
CPDF_Number(FX_BOOL bInteger, void* pData);
« no previous file with comments | « no previous file | core/include/fxcrt/fx_coordinates.h » ('j') | core/include/fxcrt/fx_coordinates.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698