[NTG-pdftex] forwarded problem of 1.40.7 on powerpc

Hartmut Henkel hartmut_henkel at gmx.de
Thu Feb 28 00:38:08 CET 2008


On Wed, 27 Feb 2008, Martin Schröder wrote:

> 2008/2/27, Taco Hoekwater <taco at elvenkind.com>:
> > Sorry about this, of course it isn't. But I still suspect an
> >  endianness issue.
>
>     if s > sup_pdf_os_buf_size - pdf_ptr then

possibly this helps, by avoiding the subtraction:

      if s + pdf_ptr > sup_pdf_os_buf_size then

>         overflow("PDF object stream buffer", pdf_os_buf_size);

iirc we already had a similar looking problem that could be "solved" by
this type of change.

Regards, Hartmut


More information about the ntg-pdftex mailing list