diff options
author | Lei Zhang <thestig@chromium.org> | 2015-12-09 20:15:18 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-12-09 20:15:18 -0800 |
commit | 93181f9a20db7ac706bb9405750303db93762a5b (patch) | |
tree | 8bbaaaf8c4fcf84002d948db174fd53fec24beb5 /core/include | |
parent | 3d8f56d817baf2864caac844f0b403b5da7ef8b0 (diff) | |
download | pdfium-93181f9a20db7ac706bb9405750303db93762a5b.tar.xz |
Prevent infinite looping in CPDF_Parser::LoadAllCrossRefV5().
BUG=pdfium:298
R=weili@chromium.org
Review URL: https://codereview.chromium.org/1496703005 .
Diffstat (limited to 'core/include')
-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(); |