1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Avoid hanging the worker-thread for CMap data with ridiculously large ranges (issue 11922)

This patch was inspired by ad2b64f124/xpdf/CharCodeToUnicode.cc (L480-L484)
This commit is contained in:
Jonas Jenwald 2020-05-22 14:07:28 +02:00
parent 4a3a24b002
commit 56ebf01ae0
4 changed files with 10492 additions and 0 deletions

View file

@ -50,6 +50,7 @@
!issue7665.pdf
!issue7696.pdf
!issue7835.pdf
!issue11922_reduced.pdf
!issue7855.pdf
!issue7872.pdf
!issue7901.pdf

File diff suppressed because one or more lines are too long

View file

@ -726,6 +726,12 @@
"annotations": true,
"about": "Annotation with Rect array containing indirect objects."
},
{ "id": "issue11922",
"file": "pdfs/issue11922_reduced.pdf",
"md5": "711bb4b4bf92d967644b4f88d11a93db",
"rounds": 1,
"type": "load"
},
{ "id": "file_url_link",
"file": "pdfs/file_url_link.pdf",
"md5": "b0253c96c38d43bc49259bbf36db938a",