mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Use the correct startPos
when repeating the search for 'endobj' operators in XRef.indexObjects
(PR 9288 follow-up)
This commit is contained in:
parent
6bbcafcd26
commit
30ad62a86a
1 changed files with 1 additions and 1 deletions
|
@ -1208,7 +1208,7 @@ var XRef = (function XRefClosure() {
|
|||
break;
|
||||
}
|
||||
}
|
||||
startPos += contentLength;
|
||||
startPos = endPos;
|
||||
}
|
||||
let content = buffer.subarray(position, position + contentLength);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue