Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: testing/resources/bug_547706.in

Issue 1421973004: Type check the m_pShadingObj before assuming it's a stream. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdfium.gyp ('k') | testing/resources/bug_547706.pdf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/bug_547706.in
diff --git a/testing/resources/bug_547706.in b/testing/resources/bug_547706.in
new file mode 100644
index 0000000000000000000000000000000000000000..4c31f19211b2817bf6a0fb00ce708d265959d979
--- /dev/null
+++ b/testing/resources/bug_547706.in
@@ -0,0 +1,43 @@
+{{header}}
+
+{{object 1 0}}
+<< /Pages 2 0 R >>
+endobj
+
+{{object 2 0}}
+<< /Kids [ 3 0 R ] >>
+endobj
+
+{{object 3 0}}
+<< /Contents 4 0 R /Resources << /Pattern 6 0 R >>>>
+endobj
+
+{{object 4 0}}
+<< /Length 5 0 R >>
+stream
+/R9 scn
+0 0 2479 3508 re
+/R11 36 Tf
+[(1)-12288.9(2)]TJ
+endstream
+endobj
+
+{{object 6 0}}
+<< /R9 7 0 R >>
+endobj
+
+{{object 7 0}}
+<< /PatternType 2 /Shading 8 0 R >>
+endobj
+
+{{object 8 0}}
+<< /BitsPerComponent 16 /ColorSpace /DeviceRGB /ShadingType 5 >>
+endobj
+
+{{xref}}
+trailer <<
+ /Root 1 0 R
+ /Size 9
+>>
+{{startxref}}
+%%EOF
« no previous file with comments | « pdfium.gyp ('k') | testing/resources/bug_547706.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698