From 63f9be7ce9871b102df1575e3c88a52c63ab5565 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 5 Jan 2016 15:35:09 -0800 Subject: Merge to XFA: Fix an infinite loop in CPDF_Parser::RebuildCrossRef(). BUG=pdfium:325 TBR=weili@chromium.org Review URL: https://codereview.chromium.org/1543043003 . (cherry picked from commit 2d88e91ca5538470c9f4bc098e7f1f1ea9013c37) Review URL: https://codereview.chromium.org/1560903002 . --- testing/resources/bug_325_a.pdf | 8 ++++++++ testing/resources/bug_325_b.pdf | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 testing/resources/bug_325_a.pdf create mode 100644 testing/resources/bug_325_b.pdf (limited to 'testing') diff --git a/testing/resources/bug_325_a.pdf b/testing/resources/bug_325_a.pdf new file mode 100644 index 0000000000..1d0fae702b --- /dev/null +++ b/testing/resources/bug_325_a.pdf @@ -0,0 +1,8 @@ +%PDF-.2 +xref +0 3 +0000000000 655%ûPDF-1.5 +%âãÏÓ +1 5f + 30080000009 0000 obj +/<0<*ar \ No newline at end of file diff --git a/testing/resources/bug_325_b.pdf b/testing/resources/bug_325_b.pdf new file mode 100644 index 0000000000..943a36831a --- /dev/null +++ b/testing/resources/bug_325_b.pdf @@ -0,0 +1,8 @@ +%PDF-P%PDF-1.2 +Dxref +0 3 +0000000000 655%PDF-1.5 +%âãÏÓ +1 f5 + 30080000009 0000 obj +/<0<*ar \ No newline at end of file -- cgit v1.2.3