mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 23:58:07 +02:00
Prevent errors if the InkList
property, in InkAnnotations, is missing and/or not an Array (issue 12392)
To prevent a future bug, the `Vertices` property in PolylineAnnotations are handled the same way.
This commit is contained in:
parent
26ae7ba2ad
commit
2497e8eab9
3 changed files with 23 additions and 8 deletions
1
test/pdfs/issue12392.pdf.link
Normal file
1
test/pdfs/issue12392.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/5249872/product1.pdf
|
|
@ -4235,6 +4235,14 @@
|
|||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue12392",
|
||||
"file": "pdfs/issue12392.pdf",
|
||||
"md5": "76c3a34c6520940c45c66c92f7df2de5",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue4883",
|
||||
"file": "pdfs/issue4883.pdf",
|
||||
"md5": "2fac0d9a189ca5fcef8626153d050be8",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue