tools/tiff2pdf.c:5600: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `t2p_readwrite_pdf_image_tile`.

tools/tiff2pdf.c:5480:1: Parameter `t2p->tiff_tiles->tiles_tilewidth`
5478. */
5479. 
5480. tsize_t t2p_write_pdf(T2P* t2p, TIFF* input, TIFF* output){
      ^
5481. 
5482. 	tsize_t written=0;

tools/tiff2pdf.c:5600:16: Call
5598. 				streamlen=written;
5599. 				t2p_read_tiff_size_tile(t2p, input, i2);
5600. 				written += t2p_readwrite_pdf_image_tile(t2p, input, output, i2);
                     ^
5601. 				t2p_write_advance_directory(t2p, output);
5602. 				if(t2p->t2p_error!=T2P_ERR_OK){return(0);}

tools/tiff2pdf.c:2813:1: Parameter `t2p->tiff_tiles->tiles_tilewidth`
  2811.  */
  2812. 
  2813. tsize_t t2p_readwrite_pdf_image_tile(T2P* t2p, TIFF* input, TIFF* output, ttile_t tile){
        ^
  2814. 
  2815. 	uint16 edge=0;

tools/tiff2pdf.c:3134:4: Call
  3132. 				"Don't know how to collapse tile to the left");
  3133. 		} else {
  3134. 			t2p_tile_collapse_left(
           ^
  3135. 				buffer,
  3136. 				TIFFTileRowSize(input),

tools/tiff2pdf.c:3646:1: <LHS trace>
3644. 	tilelength buffer of samples.
3645. */
3646. void t2p_tile_collapse_left(
      ^
3647. 	tdata_t buffer, 
3648. 	tsize_t scanwidth, 

tools/tiff2pdf.c:3646:1: Parameter `tilewidth`
    3644. 	tilelength buffer of samples.
    3645. */
    3646. void t2p_tile_collapse_left(
          ^
    3647. 	tdata_t buffer, 
    3648. 	tsize_t scanwidth, 

tools/tiff2pdf.c:3656:2: Binary operation: ([0, +oo] - 1):unsigned32 by call to `t2p_readwrite_pdf_image_tile` 
    3654. 	tsize_t edgescanwidth=0;
    3655. 	
    3656. 	edgescanwidth = (scanwidth * edgetilewidth + (tilewidth - 1))/ tilewidth;
           ^
    3657. 	for(i=0;i<tilelength;i++){
    3658.                 /* We use memmove() since there can be overlaps in src and dst buffers for the first items */
