From e02f30bb59b01c159b010fc5c6bb55e677aba8ce Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 13 Jan 2016 12:13:19 -0800 Subject: Fix out of bound access in CPDF_Parser::ParseIndirectObject(). This regressed in commit f6dafc9. BUG=576915 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1582763002 . --- core/include/fpdfapi/fpdf_parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/include/fpdfapi/fpdf_parser.h') diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h index 84eacf6bf5..fda4557119 100644 --- a/core/include/fpdfapi/fpdf_parser.h +++ b/core/include/fpdfapi/fpdf_parser.h @@ -475,6 +475,7 @@ class CPDF_Parser { void SetEncryptDictionary(CPDF_Dictionary* pDict); FX_FILESIZE GetObjectPositionOrZero(FX_DWORD objnum) const; + void ShrinkObjectMap(FX_DWORD size); CPDF_Document* m_pDocument; -- cgit v1.2.3