summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-01-08 14:36:59 -0800
committerWei Li <weili@chromium.org>2016-01-08 14:36:59 -0800
commit8e3f8931c5dfb22ab3e0cf98821e2cca9369d69e (patch)
tree6f468c2662d3142a10d87de33bd3a00a0369e98f /testing
parent1b97664bc5b84c7a2b87cc656f8c6a0476f9b71f (diff)
downloadpdfium-8e3f8931c5dfb22ab3e0cf98821e2cca9369d69e.tar.xz
Merge to XFA: Fix infinite loop caused by parsing same indirect objects
BUG=pdfium:343 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1569343002 . (cherry picked from commit 149f1db8bba85bdf2b40d330c38f2478695ca0d5) Review URL: https://codereview.chromium.org/1575663002 .
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