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

tools/tiff2pdf.c:5420:1: Parameter `t2p->tiff_tiles->tiles_tilewidth`
5418. */
5419. 
5420. tsize_t t2p_write_pdf(T2P* t2p, TIFF* input, TIFF* output){
      ^
5421. 
5422. 	tsize_t written=0;

tools/tiff2pdf.c:5540:16: Call
5538. 				streamlen=written;
5539. 				t2p_read_tiff_size_tile(t2p, input, i2);
5540. 				written += t2p_readwrite_pdf_image_tile(t2p, input, output, i2);
                     ^
5541. 				t2p_write_advance_directory(t2p, output);
5542. 				if(t2p->t2p_error!=T2P_ERR_OK){return(0);}

tools/tiff2pdf.c:2766:1: Parameter `t2p->tiff_tiles->tiles_tilewidth`
  2764.  */
  2765. 
  2766. tsize_t t2p_readwrite_pdf_image_tile(T2P* t2p, TIFF* input, TIFF* output, ttile_t tile){
        ^
  2767. 
  2768. 	uint16 edge=0;

tools/tiff2pdf.c:3080:3: Call
  3078. 
  3079. 	if(t2p_tile_is_right_edge(t2p->tiff_tiles[t2p->pdf_page], tile) != 0){
  3080. 		t2p_tile_collapse_left(
          ^
  3081. 			buffer, 
  3082. 			TIFFTileRowSize(input),

tools/tiff2pdf.c:3591:1: <LHS trace>
3589. 	tilelength buffer of samples.
3590. */
3591. void t2p_tile_collapse_left(
      ^
3592. 	tdata_t buffer, 
3593. 	tsize_t scanwidth, 

tools/tiff2pdf.c:3591:1: Parameter `tilewidth`
    3589. 	tilelength buffer of samples.
    3590. */
    3591. void t2p_tile_collapse_left(
          ^
    3592. 	tdata_t buffer, 
    3593. 	tsize_t scanwidth, 

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