summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-01-08 14:26:18 -0800
committerWei Li <weili@chromium.org>2016-01-08 14:26:18 -0800
commit149f1db8bba85bdf2b40d330c38f2478695ca0d5 (patch)
tree1156a67f35ea8ac7e7077222fcc02b92471b23a7 /testing
parente6bd31873c3dba3f79c5ebbbefed636948629cc9 (diff)
downloadpdfium-149f1db8bba85bdf2b40d330c38f2478695ca0d5.tar.xz
Fix infinite loop caused by parsing same indirect objects
BUG=pdfium:343 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1569343002 .
Diffstat (limited to 'testing')
-rw-r--r--testing/resources/bug_343.pdf19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/resources/bug_343.pdf b/testing/resources/bug_343.pdf
new file mode 100644
index 0000000000..1ad838708a
--- /dev/null
+++ b/testing/resources/bug_343.pdf
@@ -0,0 +1,19 @@
+'%PDF-1.6
+%âãÏÓ
+<<1 0 objParams%PDF-1.4
+tr%PDF-1.2
+%âãÏÓ
+7 0 obj <<
+! /Type /Font
+trailer
+<<//'/OC3
+endob*
+4 0 obj <<
+ /Resources <<
+ /FT 7 0 R
+>>
+endstream
+endobailer/%
+<<Subtj
+%%EOF
+/parenriy[1.0 +-1.0]pe:XM/Leng#th 308/Type/Sig[gh/Metadata>>%stP \ No newline at end of file