mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 23:58:07 +02:00
Ensure that the /Annots-entry, on /Page-instances, is actually an Array (issue 12714)
In the referenced PDF document, the second and third page has *corrupt* /Annots-entries which contain /Dict-data rather than the intended Arrays.
This commit is contained in:
parent
93b3ba2abb
commit
796a0d3155
3 changed files with 12 additions and 5 deletions
1
test/pdfs/issue12714.pdf.link
Normal file
1
test/pdfs/issue12714.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/5669997/b49fe733-63e0-4972-8b47-3a05c2c8e881.pdf
|
|
@ -2028,6 +2028,15 @@
|
|||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue12714",
|
||||
"file": "pdfs/issue12714.pdf",
|
||||
"md5": "f9ee31c74f9e342e95122b0b3bc84fa0",
|
||||
"rounds": 1,
|
||||
"firstPage": 2,
|
||||
"lastPage": 2,
|
||||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue7872",
|
||||
"file": "pdfs/issue7872.pdf",
|
||||
"md5": "81781dfecfcb7e9cd9cc7e60f8b747b7",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue