<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Unable to read cross-reference streams with 8-byte offsets"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56318#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Unable to read cross-reference streams with 8-byte offsets"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56318">bug 56318</a>
from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=56318#c3">comment #3</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=56318#c2">comment #2</a>)
> > Created <span class=""><a href="attachment.cgi?id=69219" name="attach_69219" title="allow a limit of 8 for 'W' entries">attachment 69219</a> <a href="attachment.cgi?id=69219&action=edit" title="allow a limit of 8 for 'W' entries">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=56318&attachment=69219'>[review]</a> [review] [review]
> > allow a limit of 8 for 'W' entries
> >
> > Okay, seems as if You're not able or willing, so here a patch to limit the
> > 'W' entries to 8.
>
> Thanks for your patch. I thought more work would be needed to store the
> offset in a 64bit integer, which would be way beyond my non-existent
> capabilities of C++ developer. Can a Guint store 8-byte integers?</span >
It depends on the machine: in a 32 bit environment Guint has only 32 bit, so
the upper 32 bit will be moved out during reading the xref stream section. So
in a 32 bit enviroment a PDF with size greater than 4 GByte wouldn't be
properly read :-).
In a 64 bit environment Guint has the necessary 64 bit, but even there: has
anyone a PDF with more than 4 GByte? Than we should implement the
LARGEFILE_ACCESS :-)
Cheers,
Thomas
<span class="quote">>
> Lacking of a C/C++ dev environment, I can't test this patch.
>
> Vincent</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>