summaryrefslogtreecommitdiff
path: root/testing/resources/bug_113.pdf
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-02-03 16:18:19 -0800
committerTom Sepez <tsepez@chromium.org>2015-02-03 16:18:19 -0800
commit0c01ad05afe4dbc36c6aa32a10a0f98eb677d4be (patch)
tree77a8806b3413135a838908215b71fac484a7f3dd /testing/resources/bug_113.pdf
parent615082de70c7fc18d46d0d1a03b62d0d76b1daa9 (diff)
downloadpdfium-0c01ad05afe4dbc36c6aa32a10a0f98eb677d4be.tar.xz
Fix stack exhaustion in CPDF_DataAvail::HaveResourceAncestor()
BUG=https://code.google.com/p/pdfium/issues/detail?id=113 R=thestig@chromium.org Review URL: https://codereview.chromium.org/880043004
Diffstat (limited to 'testing/resources/bug_113.pdf')
-rw-r--r--testing/resources/bug_113.pdf38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/resources/bug_113.pdf b/testing/resources/bug_113.pdf
new file mode 100644
index 0000000000..0a524c1b8e
--- /dev/null
+++ b/testing/resources/bug_113.pdf
@@ -0,0 +1,38 @@
+%PDF-1.7
+% ò¤ô
+3 0 obj <<
+ /Pages 5 0 R
+>>
+endobj
+4 0 obj <<
+/Type /Page
+/Parent 5 0 R
+/Resources <<
+/Font <<xt
+endobj
+% partial object
+5 0 obj <<
+ /Type /Page
+ /Parent 5 0 R
+ /bork <<
+endobj
+% duplicate definition of partial object
+5 0 obj <<
+ /Kids [4 0 R]
+ /bork 1P
+ /MediaBox [ 0
+endobj
+xref
+0 6
+0000000000 65536 f
+0000000000 65536 f
+0000000000 65536 f
+0000000015 00000 n
+0000000051 00000 n
+0000000237 00000 n
+trailer <<
+ /Root 3 0 R
+>>
+startxref
+298
+%%EOF