AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.06.14 22:52 "minor bug in tiff2pdf.c", by Scott Becker
2006.06.15 00:17 "Re: minor bug in tiff2pdf.c", by Bob Friesenhahn

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

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){



    thanks
    scottb