Merge pull request #19513 from Snuffleupagus/issue-19510
Don't cache free/missing XRef entries (issue 19510)
This commit is contained in:
commit
63b397f49d
@ -842,7 +842,6 @@ class XRef {
|
||||
|
||||
if (xrefEntry === null) {
|
||||
// The referenced entry can be free.
|
||||
this._cacheMap.set(num, xrefEntry);
|
||||
return xrefEntry;
|
||||
}
|
||||
// Prevent circular references, in corrupt PDF documents, from hanging the
|
||||
|
||||
1
test/pdfs/issue19510.pdf.link
Normal file
1
test/pdfs/issue19510.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/user-attachments/files/18841919/geht_nicht_02.pdf
|
||||
@ -5626,6 +5626,14 @@
|
||||
"type": "eq",
|
||||
"lastPage": 1
|
||||
},
|
||||
{
|
||||
"id": "issue19510",
|
||||
"file": "pdfs/issue19510.pdf",
|
||||
"md5": "3ff133f633cea3e2f13f08f8c3414cc6",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue11768",
|
||||
"file": "pdfs/issue11768_reduced.pdf",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user