1
0
Fork 0
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:
Jonas Jenwald 2024-05-21 12:33:19 +02:00
parent 9ee7c07b83
commit 57014d0d13
3 changed files with 64 additions and 43 deletions

View file

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

View file

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