mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +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