mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Support corrupt PDF documents that contain "endsteam" commands (issue 18122)
This patch also re-factors the findStreamLength-helper to avoid even more code duplication.
This commit is contained in:
parent
9ee7c07b83
commit
57014d0d13
3 changed files with 64 additions and 43 deletions
1
test/pdfs/issue18122.pdf.link
Normal file
1
test/pdfs/issue18122.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/15385405/Factuur_1105490.pdf
|
|
@ -5420,6 +5420,15 @@
|
|||
"rounds": 1,
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"id": "issue18122",
|
||||
"file": "pdfs/issue18122.pdf",
|
||||
"md5": "b9be483e6bc0f35994f536d8f6a685c1",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue4890",
|
||||
"file": "pdfs/issue4890.pdf",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue