2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-02 02:10:52 +00:00

Add overlong UTF-8 bytes into JSON tests

This commit is contained in:
Jay Berkenbilt 2023-12-25 10:53:39 -05:00
parent 6d4115b7c5
commit f5a1e2872e
3 changed files with 15 additions and 6 deletions

View File

@ -13,6 +13,9 @@
"/Extra": [ "/Extra": [
"u:Names with binary data", "u:Names with binary data",
"n:/ABCDEF+#ba#da#cc#e5", "n:/ABCDEF+#ba#da#cc#e5",
"n:/OVERLONG+#c0#81",
"n:/OVERLONG+#e0#81#82",
"n:/OVERLONG+#f0#81#82#83",
"/ABCEDEF+π", "/ABCEDEF+π",
"n:/one+#a0two", "n:/one+#a0two",
"n:/text#2fplain", "n:/text#2fplain",

View File

@ -13,6 +13,9 @@
"/Extra": [ "/Extra": [
"u:Names with binary data", "u:Names with binary data",
"n:/ABCDEF+#ba#da#cc#e5", "n:/ABCDEF+#ba#da#cc#e5",
"n:/OVERLONG+#c0#81",
"n:/OVERLONG+#e0#81#82",
"n:/OVERLONG+#f0#81#82#83",
"/ABCEDEF+π", "/ABCEDEF+π",
"n:/one+#a0two", "n:/one+#a0two",
"/text/plain", "/text/plain",

View File

@ -7,6 +7,9 @@
/Extra [ /Extra [
(Names with binary data) (Names with binary data)
/ABCDEF+#ba#da#cc#e5 /ABCDEF+#ba#da#cc#e5
/OVERLONG+#c0#81
/OVERLONG+#e0#81#82
/OVERLONG+#f0#81#82#83
/ABCEDEF+#cf#80 /ABCEDEF+#cf#80
/one+#a0two /one+#a0two
/text#2fplain /text#2fplain
@ -80,16 +83,16 @@ xref
0 7 0 7
0000000000 65535 f 0000000000 65535 f
0000000025 00000 n 0000000025 00000 n
0000000261 00000 n 0000000333 00000 n
0000000343 00000 n 0000000415 00000 n
0000000539 00000 n 0000000611 00000 n
0000000638 00000 n 0000000710 00000 n
0000000657 00000 n 0000000729 00000 n
trailer << trailer <<
/Root 1 0 R /Root 1 0 R
/Size 7 /Size 7
/ID [<42841c13bbf709d79a200fa1691836f8><728c020f464c3cf7e02c12605fa7d88b>] /ID [<42841c13bbf709d79a200fa1691836f8><728c020f464c3cf7e02c12605fa7d88b>]
>> >>
startxref startxref
763 835
%%EOF %%EOF