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

Unified Diff: testing/resources/bug_481363.pdf

Issue 1110653002: SEGV in CFX_BaseSegmentedArray::Iterate() when CS has malformed dictionary. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix SEGV. Created 5 years, 8 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 | « testing/resources/bug_481363.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/bug_481363.pdf
diff --git a/testing/resources/bug_481363.pdf b/testing/resources/bug_481363.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..53468a0412df855779dc911baaf3e1b9aba72030
--- /dev/null
+++ b/testing/resources/bug_481363.pdf
@@ -0,0 +1,62 @@
+%PDF-1.7
+% ò¤ô
+1 0 obj <<
+ /Type /Pages
+ /Kids [2 0 R]
+ /Count 1
+>>
+endobj
+2 0 obj <<
+<<
+ /Type /Page
+ /Parent 1 0 R
+ /MediaBox [0 0 612 792]
+ /Contents [4 0 R]
+ /Resources <<
+ /Font <</F1 5 0 R>>
+ /ColorSpace<</CS1 6 0 R>>
+ >>
+>>
+endobj
+3 0 obj <<
+ /Type /Catalog
+ /Pages 1 0 R
+>>
+endobj
+4 0 obj <<
+ /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 <<.
+6 0 obj [
+ /Lab 4<
+ /WhitePoint [0.9505 1.00 1.0890 ]
+ /Range [-100 100 -100 100 ]
+ >>
+]
+endobj
+xref
+0 7
+0000000000 65535 f
+0000000015 00000 n
+0000000078 00000 n
+0000000253 00000 n
+0000000306 00000 n
+0000000000 65535 f
+0000000517 00000 n
+trailer <<
+ /Size 0
+ /Root 3 0 R
+>>
+startxref
+621
+%%EOF
« no previous file with comments | « testing/resources/bug_481363.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698