summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-13 12:19:21 -0800
committerLei Zhang <thestig@chromium.org>2016-01-13 12:19:21 -0800
commit19dee922f1284294bed29b26a67cce1d2ee3a48f (patch)
tree06ae5379e0c856228316f4611b745e529d1042b4 /core/include/fpdfapi
parent5da3cab4f2d9e97eb84483fc0ec13ead2a48e443 (diff)
downloadpdfium-19dee922f1284294bed29b26a67cce1d2ee3a48f.tar.xz
Merge to XFA: Fix out of bound access in CPDF_Parser::ParseIndirectObject().
This regressed in commit f6dafc9. BUG=576915 TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1582763002 . (cherry picked from commit e02f30bb59b01c159b010fc5c6bb55e677aba8ce) Review URL: https://codereview.chromium.org/1584663003 .
Diffstat (limited to 'core/include/fpdfapi')
-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;