mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-05 11:50:53 +00:00
Fix integer overflow in large file test
This commit is contained in:
parent
faae46467e
commit
aa602fd107
|
@ -794,7 +794,7 @@ QPDF::checkHPageOffset(std::list<std::string>& errors,
|
|||
{
|
||||
stopOnError("supposed first page object is not known");
|
||||
}
|
||||
int offset = getLinearizationOffset(first_page_og);
|
||||
qpdf_offset_t offset = getLinearizationOffset(first_page_og);
|
||||
if (table_offset != offset)
|
||||
{
|
||||
warnings.push_back("first page object offset mismatch");
|
||||
|
|
Loading…
Reference in New Issue
Block a user