From 93181f9a20db7ac706bb9405750303db93762a5b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Dec 2015 20:15:18 -0800 Subject: Prevent infinite looping in CPDF_Parser::LoadAllCrossRefV5(). BUG=pdfium:298 R=weili@chromium.org Review URL: https://codereview.chromium.org/1496703005 . --- core/include/fpdfapi/fpdf_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/include') 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(); -- cgit v1.2.3