mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Prevent lookup errors in PartialEvaluator.hasBlendModes
from breaking all parsing/rendering of a page (issue 11678)
The PDF document in question is *corrupt*, since it contains an XObject with a truncated dictionary and where the stream contents start without a "stream" operator.
This commit is contained in:
parent
7b07b88e71
commit
65e6ea2cb2
3 changed files with 53 additions and 3 deletions
1
test/pdfs/issue11678.pdf.link
Normal file
1
test/pdfs/issue11678.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/4304559/default.pdf
|
|
@ -3064,6 +3064,15 @@
|
|||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue11678",
|
||||
"file": "pdfs/issue11678.pdf",
|
||||
"md5": "e2efadeb91932f4c21e4fc682cce7de9",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"firstPage": 2,
|
||||
"lastPage": 2,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue4890",
|
||||
"file": "pdfs/issue4890.pdf",
|
||||
"md5": "1666feb4cd26318c2bdbea6a175dce87",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue