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

Unified Diff: testing/resources/bug_298.in

Issue 1496703005: Prevent infinite looping in CPDF_Parser::LoadAllCrossRefV5(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years 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 | « fpdfsdk/src/fpdfview_embeddertest.cpp ('k') | testing/resources/bug_298.pdf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/bug_298.in
diff --git a/testing/resources/bug_544880.in b/testing/resources/bug_298.in
similarity index 53%
copy from testing/resources/bug_544880.in
copy to testing/resources/bug_298.in
index 926a491d91f79fd5c2b5f17bdaef1c8e1c4ad6a4..b066778a4991ad8275ba662e7695bc397f099eed 100644
--- a/testing/resources/bug_544880.in
+++ b/testing/resources/bug_298.in
@@ -1,19 +1,21 @@
{{header}}
{{object 1 0}} <<
- /Type /Catalog
- /Pages 2 0 R
>>
endobj
{{object 2 0}} <<
- /Type /Pages
- /Count 1
- /Kids [2 0 R]
+ /Type /Catalog
+ /Length 0
+ /Filter ASCIIHexDecode
+ /Prev 35
+ /W [1 2 3]
>>
+stream
+endstream
endobj
-{{xref}}
trailer <<
- /Size 3
+ /Size 6
/Root 1 0 R
>>
-{{startxref}}
+startxref
+35
%%EOF
« no previous file with comments | « fpdfsdk/src/fpdfview_embeddertest.cpp ('k') | testing/resources/bug_298.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698