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:
parent
4a3a24b002
commit
56ebf01ae0
4 changed files with 10492 additions and 0 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -50,6 +50,7 @@
|
|||
!issue7665.pdf
|
||||
!issue7696.pdf
|
||||
!issue7835.pdf
|
||||
!issue11922_reduced.pdf
|
||||
!issue7855.pdf
|
||||
!issue7872.pdf
|
||||
!issue7901.pdf
|
||||
|
|
10472
test/pdfs/issue11922_reduced.pdf
Normal file
10472
test/pdfs/issue11922_reduced.pdf
Normal file
File diff suppressed because one or more lines are too long
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue