From 4dcf74dc6024ece0dc146a64be983ae2ff9df63d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 3 Feb 2015 16:24:43 -0800 Subject: 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 --- testing/resources/bug_113.in | 29 +++++++++++++++++++++++++++++ testing/resources/bug_113.pdf | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 testing/resources/bug_113.in create mode 100644 testing/resources/bug_113.pdf (limited to 'testing') 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 <> +{{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 <> +startxref +298 +%%EOF -- cgit v1.2.3