summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-12-09 23:56:51 -0800
committerLei Zhang <thestig@chromium.org>2015-12-09 23:56:51 -0800
commit5fae972302efd368a3ecc7cfa655891323c59a1b (patch)
treed77db9b3ecb77b129cc05ba69bbd7b74e7c7f0f2 /core/include/fpdfapi
parent3b1707f50e4961c2a350243acbeaaafd89e22fca (diff)
downloadpdfium-5fae972302efd368a3ecc7cfa655891323c59a1b.tar.xz
Merge to XFA: Prevent infinite looping in CPDF_Parser::LoadAllCrossRefV5().
BUG=pdfium:298 TBR=weili@chromium.org Review URL: https://codereview.chromium.org/1496703005 . (cherry picked from commit 93181f9a20db7ac706bb9405750303db93762a5b) Review URL: https://codereview.chromium.org/1514783002 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index ec005de812..dab0719f26 100644
--- a/core/include/fpdfapi/fpdf_parser.h
+++ b/core/include/fpdfapi/fpdf_parser.h
@@ -482,7 +482,7 @@ class CPDF_Parser {
FX_BOOL bSkip,
FX_BOOL bFirst);
- FX_BOOL LoadCrossRefV5(FX_FILESIZE pos, FX_FILESIZE& prev, FX_BOOL bMainXRef);
+ FX_BOOL LoadCrossRefV5(FX_FILESIZE* pos, FX_BOOL bMainXRef);
CPDF_Dictionary* LoadTrailerV4();