1
0
Fork 0
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:
Jonas Jenwald 2020-03-09 11:37:33 +01:00
parent 7b07b88e71
commit 65e6ea2cb2
3 changed files with 53 additions and 3 deletions

View file

@ -0,0 +1 @@
https://github.com/mozilla/pdf.js/files/4304559/default.pdf

View file

@ -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",