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
@ -1208,7 +1208,7 @@ var XRef = (function XRefClosure() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
startPos += contentLength;
|
startPos = endPos;
|
||||||
}
|
}
|
||||||
let content = buffer.subarray(position, position + contentLength);
|
let content = buffer.subarray(position, position + contentLength);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user