From bb93b0ba5b3c430d3b996e2c009d48feb17a44c3 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 27 Apr 2015 13:24:03 -0700 Subject: SEGV in CFX_BaseSegmentedArray::Iterate() when CS has malformed dictionary. Failure to check document-controlled value before using it. BUG=481363 R=palmer@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/1110653002 --- testing/resources/bug_481363.in | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 testing/resources/bug_481363.in (limited to 'testing/resources/bug_481363.in') diff --git a/testing/resources/bug_481363.in b/testing/resources/bug_481363.in new file mode 100644 index 0000000000..32a724d363 --- /dev/null +++ b/testing/resources/bug_481363.in @@ -0,0 +1,52 @@ +{{header}} +{{object 1 0}} << + /Type /Pages + /Kids [2 0 R] + /Count 1 +>> +endobj +{{object 2 0}} << +<< + /Type /Page + /Parent 1 0 R + /MediaBox [0 0 612 792] + /Contents [4 0 R] + /Resources << + /Font <> + /ColorSpace<> + >> +>> +endobj +{{object 3 0}} << + /Type /Catalog + /Pages 1 0 R +>> +endobj +{{object 4 0}} << + /Length 0 +>> stream +/CS1 cs 0 -100 -100 sc +100 500 100 100 re b +endstream +endobj +{{object 5 0)) << + /Type /Font + /Subtype /Type1 + /BaseFont /He +>> +endobj +% Dictionary object malformed: 4< vs <<. +{{object 6 0}} [ + /Lab 4< + /WhitePoint [0.9505 1.00 1.0890 ] + /Range [-100 100 -100 100 ] + >> +] +endobj +{{xref}} +trailer << + /Size 0 + /Root 3 0 R +>> +{{startxref}} +%%EOF -- cgit v1.2.3