From 5d5d9fe7bd1c9566b9d6570015b7c60894d9fc0c Mon Sep 17 00:00:00 2001 From: Wei Li Date: Thu, 14 Jan 2016 12:10:20 -0800 Subject: Correct the way to count pages and to avoid infinite loop BUG=pdfium:360 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1585823003 . --- testing/resources/bug_360.pdf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testing/resources/bug_360.pdf (limited to 'testing') diff --git a/testing/resources/bug_360.pdf b/testing/resources/bug_360.pdf new file mode 100644 index 0000000000..6e69c7bfed --- /dev/null +++ b/testing/resources/bug_360.pdf @@ -0,0 +1,14 @@ +%PDF-1.2 +xref +0 3 +0000%PDF-1.2 +xref +0 3 +0000000000 65535 f 0000000009 00000 n +00000000000 0000 n +trailer << /Size 3 /Root 1 0 R %PDF-1.5 +%âãÏÓ +1 0 obj +<>/Lang(es-ES)/Pages 1 0 R/Type/Catalog>endob +2 0 obj +<> -- cgit v1.2.3