summaryrefslogtreecommitdiff
path: root/testing/resources/bug_544880.in
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-10-22 16:32:14 -0700
committerOliver Chang <ochang@chromium.org>2015-10-22 16:32:14 -0700
commit3bfb1dcf56f8470b693ad1126e24e65f9d17926c (patch)
treea47bd82c8244d643ad156c466608a7851dc5fe3b /testing/resources/bug_544880.in
parent61fe6edb3f789feefa4bd0c8475b9645fae0d09e (diff)
downloadpdfium-3bfb1dcf56f8470b693ad1126e24e65f9d17926c.tar.xz
Set a recursion limit on CPDF_DataAvail::CheckPageNode
This limit mirrors FX_MAX_PAGE_LEVEL in fpdf_parser_document.cpp R=thestig@chromium.org, tsepez@chromium.org BUG=544880 Review URL: https://codereview.chromium.org/1421743003 .
Diffstat (limited to 'testing/resources/bug_544880.in')
-rw-r--r--testing/resources/bug_544880.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/resources/bug_544880.in b/testing/resources/bug_544880.in
new file mode 100644
index 0000000000..926a491d91
--- /dev/null
+++ b/testing/resources/bug_544880.in
@@ -0,0 +1,19 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages
+ /Count 1
+ /Kids [2 0 R]
+>>
+endobj
+{{xref}}
+trailer <<
+ /Size 3
+ /Root 1 0 R
+>>
+{{startxref}}
+%%EOF