summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_parser.h
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2015-12-15 16:08:49 -0800
committerWei Li <weili@chromium.org>2015-12-15 16:08:49 -0800
commitc89cd979fb8654d85b822909cba9263d5f13760c (patch)
tree25a0aeee035224158cb414db518839c7153b4a1c /core/include/fpdfapi/fpdf_parser.h
parente8200e94898f7e8f50c11bb8b7b39d96b01bd653 (diff)
downloadpdfium-c89cd979fb8654d85b822909cba9263d5f13760c.tar.xz
Fix free entry handling for cross reference v4 reading.
While reading free entries in v4 cross reference table, changing the start_objnum caused crossref table built wrong. BUG=569795 R=jun_fang@foxitsoftware.com, thestig@chromium.org Review URL: https://codereview.chromium.org/1527823003 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_parser.h')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index a266b20ba2..de0aa6196c 100644
--- a/core/include/fpdfapi/fpdf_parser.h
+++ b/core/include/fpdfapi/fpdf_parser.h
@@ -476,10 +476,7 @@ class CPDF_Parser {
FX_BOOL LoadAllCrossRefV5(FX_FILESIZE pos);
- bool LoadCrossRefV4(FX_FILESIZE pos,
- FX_FILESIZE streampos,
- FX_BOOL bSkip,
- FX_BOOL bFirst);
+ bool LoadCrossRefV4(FX_FILESIZE pos, FX_FILESIZE streampos, FX_BOOL bSkip);
FX_BOOL LoadCrossRefV5(FX_FILESIZE* pos, FX_BOOL bMainXRef);