diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-03 16:24:43 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-03 16:24:43 -0800 |
commit | 4dcf74dc6024ece0dc146a64be983ae2ff9df63d (patch) | |
tree | dddda76bf3858d630243ae2d79ea2aa56e6dc17e /testing | |
parent | a9e835e6356b40d27a524fa087805c65de442f03 (diff) | |
download | pdfium-4dcf74dc6024ece0dc146a64be983ae2ff9df63d.tar.xz |
Merge to XFA: Fix stack exhaustion in CPDF_DataAvail::HaveResourceAncestor()
Original Review URL: https://codereview.chromium.org/880043004
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/893333003
Diffstat (limited to 'testing')
-rw-r--r-- | testing/resources/bug_113.in | 29 | ||||
-rw-r--r-- | testing/resources/bug_113.pdf | 38 |
2 files changed, 67 insertions, 0 deletions
diff --git a/testing/resources/bug_113.in b/testing/resources/bug_113.in new file mode 100644 index 0000000000..5fc6e71744 --- /dev/null +++ b/testing/resources/bug_113.in @@ -0,0 +1,29 @@ +{{header}} +{{object 3 0}} << + /Pages 5 0 R +>> +endobj +{{object 4 0}} << +/Type /Page +/Parent 5 0 R +/Resources << +/Font <<xt +endobj +% partial object +{{object 5 0}} << + /Type /Page + /Parent 5 0 R + /bork << +endobj +% duplicate definition of partial object +{{object 5 0}} << + /Kids [4 0 R] + /bork 1P + /MediaBox [ 0 +endobj +{{xref}} +trailer << + /Root 3 0 R +>> +{{startxref}} +%%EOF 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 |