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

Side by Side Diff: testing/resources/trailer_as_hexstring.pdf

Issue 895933003: Fix segv in CPDF_DataAvail::CheckRoot() when /Root object is a string. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase. 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 | « testing/resources/named_dests.pdf ('k') | testing/resources/trailer_unterminated.pdf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 %PDF-1.7 1 %PDF-1.7
2 % ò¤ô 2 % ò¤ô
3 1 0 obj << 3 1 0 obj <<
4 /Type /Catalog 4 /Type /Catalog
5 /Pages 2 0 R 5 /Pages 2 0 R
6 /Names << 6 /Names <<
7 /Dests 10 0 R 7 /Dests 10 0 R
8 >> 8 >>
9 /Dests 14 0 R 9 /Dests 14 0 R
10 >> 10 >>
11 endobj 11 endobj
12 2 0 obj << 12 2 0 obj <<
13 /Type /Pages 13 /Type /Pages
14 /Count 1 14 /Count 1
15 /Kids [ 15 /Kids [
16 3 0 R 16 3 0 R
17 ] 17 ]
18 >> 18 >>
19 endobj 19 endobj
20 3 0 obj << 20 3 0 obj <<
21 /Type /Page 21 /Type /Page
22 /Parent 2 0 R 22 /Parent 2 0 R
23 /MediaBox [0 0 612 792] 23 /MediaBox [0 0 612 792]
24 >> 24 >>
25 endobj 25 endobj
26 xref 26 xref
27 0 4 27 0 4
28 0000000000 65536 f 28 0000000000 65535 f
29 0000000015 00000 n 29 0000000015 00000 n
30 0000000119 00000 n 30 0000000119 00000 n
31 0000000190 00000 n 31 0000000190 00000 n
32 % trailer erroneously contains a hex string, not a dictionary.
32 trailer <0000deadbabe0000> 33 trailer <0000deadbabe0000>
33 startxref 34 startxref
34 267 35 267
35 %%EOF 36 %%EOF
OLDNEW
« no previous file with comments | « testing/resources/named_dests.pdf ('k') | testing/resources/trailer_unterminated.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698