Index: core/fpdfapi/parser/cpdf_parser.cpp |
diff --git a/core/fpdfapi/parser/cpdf_parser.cpp b/core/fpdfapi/parser/cpdf_parser.cpp |
index ed20cf73f4f43ce2dd9aa8d12c68486e109ea813..47a712f5931f28d0842a0d01c4287c927bac01ef 100644 |
--- a/core/fpdfapi/parser/cpdf_parser.cpp |
+++ b/core/fpdfapi/parser/cpdf_parser.cpp |
@@ -1559,7 +1559,7 @@ CPDF_Parser::Error CPDF_Parser::LoadLinearizedMainXRefTable() { |
m_pSyntax->GetNextChar(ch); |
while (PDFCharIsWhitespace(ch)) { |
++dwCount; |
- if (m_pSyntax->m_FileLen >= |
+ if (m_pSyntax->m_FileLen <= |
(FX_FILESIZE)(m_pSyntax->SavePos() + m_pSyntax->m_HeaderOffset)) { |
break; |
} |