diff options
author | Wei Li <weili@chromium.org> | 2015-12-15 17:11:06 -0800 |
---|---|---|
committer | Wei Li <weili@chromium.org> | 2015-12-15 17:11:06 -0800 |
commit | 301832eb1ae344d460f494ec7704d00df19bd526 (patch) | |
tree | 57a1349d5903f6b0ff5573d2670e928465c9727d /core/include | |
parent | 7068d0aaf6234adb853518ef26dd602b39e70b3e (diff) | |
download | pdfium-301832eb1ae344d460f494ec7704d00df19bd526.tar.xz |
Merge to XFA: 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
TBR=jun_fang@foxitsoftware.com, thestig@chromium.org
Review URL: https://codereview.chromium.org/1527823003 .
(cherry picked from commit c89cd979fb8654d85b822909cba9263d5f13760c)
Review URL: https://codereview.chromium.org/1528153003 .
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/fpdfapi/fpdf_parser.h | 5 |
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); |