2006.06.14 22:52 "[Tiff] minor bug in tiff2pdf.c", by Scott Becker

2006.06.15 00:17 "Re: [Tiff] minor bug in tiff2pdf.c", by Bob Friesenhahn

It seems that you are looking at old code. The CVS version does not have this problem, and it seems like it has not existed for quite a while.

Bob

I'm using code from tiff2pdf.c for a project and ran into this and thought I should feed it back:

In function t2p_read_tiff_init, on line 1035 or so this allocation is followed by the wrong test. tiff_pages is tested above it:

    t2p->tiff_tiles = (T2P_TILES*) _TIFFmalloc(directorycount *
sizeof(T2P_TILES
    if(t2p->tiff_pages==NULL){

should be:
    if(t2p->tiff_tiles==NULL){

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/