| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.06.14 22:52 "minor bug in tiff2pdf.c", by Scott BeckerI'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
|
|||||||