summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-05 15:27:34 -0800
committerLei Zhang <thestig@chromium.org>2016-01-05 15:27:34 -0800
commit2d88e91ca5538470c9f4bc098e7f1f1ea9013c37 (patch)
tree1ba6f14fe297913c2450fd035771ff93f79c9f66 /testing
parenta3235d0f5ca92c89b1de0f135a05e9891e499fb9 (diff)
downloadpdfium-2d88e91ca5538470c9f4bc098e7f1f1ea9013c37.tar.xz
Fix an infinite loop in CPDF_Parser::RebuildCrossRef().
BUG=pdfium:325 R=weili@chromium.org Review URL: https://codereview.chromium.org/1543043003 .
Diffstat (limited to 'testing')
-rw-r--r--testing/resources/bug_325_a.pdf8
-rw-r--r--testing/resources/bug_325_b.pdf8
2 files changed, 16 insertions, 0 deletions
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