tools/tiff2pdf.c:3000: error: Integer Overflow L2
  ([0, `input->tif_dir.td_tilewidth`] - 1):unsigned32 by call to `TIFFReadEncodedTile`.

tools/tiff2pdf.c:2739:1: Parameter `input->tif_dir.td_tilewidth`
2737.  */
2738. 
2739. tsize_t t2p_readwrite_pdf_image_tile(T2P* t2p, TIFF* input, TIFF* output, ttile_t tile){
      ^
2740. 
2741. 	uint16 edge=0;

tools/tiff2pdf.c:3000:11: Call
2998. 				return(0);
2999. 			}
3000. 			read = TIFFReadEncodedTile(
                ^
3001. 				input, 
3002. 				tile, 

libtiff/tif_read.c:649:1: Parameter `tif->tif_dir.td_tilewidth`
  647.  * amount into the user-supplied buffer.
  648.  */
  649. tmsize_t
       ^
  650. TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size)
  651. {

libtiff/tif_read.c:668:6: Call
  666. 	else if (size > tilesize)
  667. 		size = tilesize;
  668. 	if (TIFFFillTile(tif, tile) && (*tif->tif_decodetile)(tif,
            ^
  669. 	    (uint8*) buf, size, (uint16)(tile/td->td_stripsperimage))) {
  670. 		(*tif->tif_postdecode)(tif, (uint8*) buf, size);

libtiff/tif_read.c:792:1: Parameter `tif->tif_dir.td_tilewidth`
    790.  * expanded, as necessary, to hold the tile's data.
    791.  */
    792. int
         ^
    793. TIFFFillTile(TIFF* tif, uint32 tile)
    794. {

libtiff/tif_read.c:901:10: Call
    899. 		}
    900. 	}
    901. 	return (TIFFStartTile(tif, tile));
                  ^
    902. }
    903. 

libtiff/tif_read.c:990:1: <LHS trace>
988.  * tile has just been read in.
989.  */
990. static int
     ^
991. TIFFStartTile(TIFF* tif, uint32 tile)
992. {

libtiff/tif_read.c:990:1: Parameter `tif->tif_dir.td_imagewidth`
      988.  * tile has just been read in.
      989.  */
      990. static int
           ^
      991. TIFFStartTile(TIFF* tif, uint32 tile)
      992. {

libtiff/tif_read.c:1006:19: Binary operation: ([0, input->tif_dir.td_tilewidth] - 1):unsigned32 by call to `TIFFReadEncodedTile` 
      1004. 	}
      1005. 	tif->tif_curtile = tile;
      1006.         howmany32=TIFFhowmany_32(td->td_imagewidth, td->td_tilewidth);
                              ^
      1007.         if (howmany32 == 0) {
      1008.                  TIFFErrorExt(tif->tif_clientdata,module,"Zero tiles");
