summaryrefslogtreecommitdiff
path: root/testing/resources/bug_451265.in
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-29 17:39:26 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-29 17:39:26 -0800
commit1d43e82efde0ddbad4a3e32d860a597c3bb6ab83 (patch)
tree104b5467946df952ca513016a86faad172c6cc33 /testing/resources/bug_451265.in
parentcedc562477cbca7496bd88999b773b72912c40f8 (diff)
downloadpdfium-1d43e82efde0ddbad4a3e32d860a597c3bb6ab83.tar.xz
Add minimized test cases for stack exhaustion crash to repository.
These reproduce under pdfium_test with a scale factor < 1.0. Add them to the repository now for the sake of posterity, even if we are not automatically testing them. BUG=451265 R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/869923003
Diffstat (limited to 'testing/resources/bug_451265.in')
-rw-r--r--testing/resources/bug_451265.in80
1 files changed, 80 insertions, 0 deletions
diff --git a/testing/resources/bug_451265.in b/testing/resources/bug_451265.in
new file mode 100644
index 0000000000..7fb2764d05
--- /dev/null
+++ b/testing/resources/bug_451265.in
@@ -0,0 +1,80 @@
+{{header}}
+{{object 1 0}} <<
+ /Kids [3 0 R]
+ /Type /Pages
+ /Count 1
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Catalog
+ /Pages 1 0 R
+>>
+endobj
+{{object 3 0}} <<
+ /Resources 11 0 R
+ /Type /Page
+ /Contents 10 0 R
+ /Parent 1 0 R
+>>
+endobj
+{{object 10 0}} <<
+>>
+stream
+1 0 0 1 315.779 733.039 cm
+1 0 0 1 2.835 -173.614 cm
+1.04704 0 0 1.04704 0 0 cm
+/Im6 Do
+endstream
+endobj
+{{object 11 0}} <<
+ /XObject <<
+ /Im6 12 0 R
+ >>
+>>
+endobj
+{{object 12 0}} <<
+ /Subtype /Form
+ /Resources <<
+ /XObject <<
+ /x15 13 0 R
+ >>
+ >>
+>>
+stream
+/x15 Do
+endstream
+endobj
+{{object 13 0}} <<
+ /Subtype /Form
+ /Resources <<
+ /Pattern <<
+ /p31 14 0 R
+ >>
+ >>
+>>
+stream
+q /Pattern cs /p31 scn /a0 gs
+0 0 224.720001 160.399994 re f
+Q
+endstream
+endobj
+{{object 14 0}} <<
+ /PatternType 1
+ /BBox [0 0 225 161]
+ /Resources <<
+ /XObject <<
+ /x47 12 0 R
+ >>
+ >>
+>>
+stream
+/x47 Do
+endstream
+endobj
+{{xref}}
+trailer <<
+ /Root 2 0 R
+ /Size 110
+>>
+{{startxref}}
+%%EOF