diff options
author | Lei Zhang <thestig@chromium.org> | 2015-12-09 23:56:51 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-12-09 23:56:51 -0800 |
commit | 5fae972302efd368a3ecc7cfa655891323c59a1b (patch) | |
tree | d77db9b3ecb77b129cc05ba69bbd7b74e7c7f0f2 /core/include/fpdfapi/fpdf_parser.h | |
parent | 3b1707f50e4961c2a350243acbeaaafd89e22fca (diff) | |
download | pdfium-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/fpdf_parser.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_parser.h | 2 |
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(); |