On Fri, 2018-02-02 at 00:59 +0100, Matthew Brincke wrote:
> > where both lFirst and lOff are 64bit integers
> no, the problem is that lFirst + lOff may overflow if they're (e.g.)
> both more than half the biggest value.

I intentionally mentioned that those are 64bit numbers. See the
Architectural Limits section of the PDF specification, notably:

   Table C.1 describes the minimum architectural limits that should be
   accommodated by conforming readers running on 32-bit machines.
   Because conforming readers may be subject to these limits,
   conforming writers producing PDF files should remain within them.

But I understand that the idea behind this report is to make the code
more robust and error/evil-prone.

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Podofo-users mailing list

Reply via email to