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

Side by Side Diff: testing/resources/bug_57.in

Issue 876393003: Merge to XFA: Add embedder test for stream length beyond end of file. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « pdfium.gyp ('k') | testing/resources/bug_57.pdf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {{header}}
2 {{object 1 0}} <<
3 /Type /Catalog
4 /Pages 2 0 R
5 >>
6 {{object 2 0}} <<
7 /Type /Pages
8 /MediaBox [ 0 0 200 200 ]
9 /Count 1
10 /Kids [ 3 0 R ]
11 >>
12 endobj
13 {{object 3 0}} <<
14 /Type /Page
15 /Parent 2 0 R
16 /Resources <<
17 /Font <<
18 /F1 4 0 R
19 >>
20 >>
21 /Contents 5 0 R
22 >>
23 endobj
24 {{object 4 0}} <<
25 /Type /Font
26 /Subtype /Type1
27 /BaseFont /Times-Roman
28 >>
29 endobj
30 % page content with streamlength past end-of-file.
31 {{object 5 0}} <<
32 /Length 9999
33 >>
34 stream
35 BT
36 70 50 TD
37 /F1 12 Tf
38 (Hello, world!) Tj
39 ET
40 endstream
41 endobj
42 {{xref}}
43 trailer <<
44 /Size 6
45 /Root 1 0 R
46 >>
47 {{startxref}}
48 %%EOF
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | testing/resources/bug_57.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698