tools/tiff2pdf.c:1132: error: Integer Overflow L2
  ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFFNumberOfTiles`.

tools/tiff2pdf.c:1057:1: Parameter `input->tif_dir.td_imagedepth`
1055. */
1056. 
1057. void t2p_read_tiff_init(T2P* t2p, TIFF* input){
      ^
1058. 
1059. 	tdir_t directorycount=0;

tools/tiff2pdf.c:1091:7: Call
1089. 		uint32 subfiletype = 0;
1090. 		
1091. 		if(!TIFFSetDirectory(input, i)){
            ^
1092. 			TIFFError(
1093. 				TIFF2PDF_MODULE, 

libtiff/tif_dir.c:1370:1: Parameter `tif->tif_dir.td_imagedepth`
  1368.  * NB: Directories are numbered starting at 0.
  1369.  */
  1370. int
        ^
  1371. TIFFSetDirectory(TIFF* tif, uint16 dirn)
  1372. {

tools/tiff2pdf.c:1132:5: Call
1130. 		if(TIFFIsTiled(input)){
1131. 			t2p->tiff_pages[t2p->tiff_pagecount].page_tilecount = 
1132. 				TIFFNumberOfTiles(input);
          ^
1133. 		}
1134. 		t2p->tiff_pagecount++;

libtiff/tif_tile.c:140:1: <LHS trace>
138.  * Compute how many tiles are in an image.
139.  */
140. uint32
     ^
141. TIFFNumberOfTiles(TIFF* tif)
142. {

libtiff/tif_tile.c:140:1: Parameter `tif->tif_dir.td_imagedepth`
  138.  * Compute how many tiles are in an image.
  139.  */
  140. uint32
       ^
  141. TIFFNumberOfTiles(TIFF* tif)
  142. {

libtiff/tif_tile.c:140:1: <RHS trace>
138.  * Compute how many tiles are in an image.
139.  */
140. uint32
     ^
141. TIFFNumberOfTiles(TIFF* tif)
142. {

libtiff/tif_tile.c:140:1: Parameter `tif->tif_dir.td_imagedepth`
  138.  * Compute how many tiles are in an image.
  139.  */
  140. uint32
       ^
  141. TIFFNumberOfTiles(TIFF* tif)
  142. {

libtiff/tif_tile.c:159:6: Binary operation: ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFFNumberOfTiles` 
  157. 	    TIFFhowmany_32(td->td_imagelength, dy),
  158. 	    "TIFFNumberOfTiles"),
  159. 	    TIFFhowmany_32(td->td_imagedepth, dz), "TIFFNumberOfTiles");
            ^
  160. 	if (td->td_planarconfig == PLANARCONFIG_SEPARATE)
  161. 		ntiles = multiply_32(tif, ntiles, td->td_samplesperpixel,
