[Poppler-bugs] [Bug 56318] Unable to read cross-reference streams with 8-byte offsets

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 19 03:00:16 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=56318

--- Comment #6 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #5)
> Thomas are you sure Guint is 64 bits? That's not true on my my Linux 64 bits
> box, is that a windows thingie?

Oh, oh, of course You're true: int has 32 bits in 32 bit AND 64 bis
environments (with the compiler and architecture I know). I mixed that already
up (gaving int the wrong size) when had to change 16-bit-libraries so that they
could run in a 32-bit environment. Long long ago, but really a déjà vu.

So what to do with this PDF, where the high 32 bits are zero? Should we test
for overflow with an error message "Large files not supported" but accept it
when the high 32 bit are zero? Wait that somebody implements large file
support? Or just commit the patch knowing that we run into problems with really
large files?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121119/ddf9e250/attachment.html>


More information about the Poppler-bugs mailing list