summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-13 12:13:19 -0800
committerLei Zhang <thestig@chromium.org>2016-01-13 12:13:19 -0800
commite02f30bb59b01c159b010fc5c6bb55e677aba8ce (patch)
tree8bec15303065443c5f07c8e20e0bf847d5be02cc /core/include
parent2fa5c7a8b6602bb2fe1df7cd09b12de666ca8a0a (diff)
downloadpdfium-e02f30bb59b01c159b010fc5c6bb55e677aba8ce.tar.xz
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 .
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h1
1 files changed, 1 insertions, 0 deletions
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;