Skip to content

Commit

Permalink
Merge pull request #1418 from ONLYOFFICE/fix/bug66504
Browse files Browse the repository at this point in the history
Fix bug 66504
  • Loading branch information
K0R0L authored Feb 15, 2024
2 parents 62481e5 + e78a4c8 commit c7df1bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PdfFile/lib/xpdf/XRef.cc
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ GFileOffset XRef::getStartXref() {
do {
str->setPos(xrefSearchSize * nTry, -1);
n = str->getBlock(buf, xrefSearchSize);
if (n <= 0) {
break;
}
buf[n] = '\0';

// find startxref
Expand Down

0 comments on commit c7df1bc

Please sign in to comment.