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

tools/tiff2pdf.c:5239:1: Parameter `output->tif_dir.td_rowsperstrip`
5237. */
5238. 
5239. tsize_t t2p_write_pdf(T2P* t2p, TIFF* input, TIFF* output){
      ^
5240. 
5241. 	tsize_t written=0;

tools/tiff2pdf.c:5358:16: Call
5356. 				streamlen=written;
5357. 				t2p_read_tiff_size_tile(t2p, input, i2);
5358. 				written += t2p_readwrite_pdf_image_tile(t2p, input, output, i2);
                     ^
5359. 				t2p_write_advance_directory(t2p, output);
5360. 				if(t2p->t2p_error!=T2P_ERR_OK){return(0);}

tools/tiff2pdf.c:2627:1: Parameter `output->tif_dir.td_rowsperstrip`
  2625.  */
  2626. 
  2627. tsize_t t2p_readwrite_pdf_image_tile(T2P* t2p, TIFF* input, TIFF* output, ttile_t tile){
        ^
  2628. 
  2629. 	uint16 edge=0;

tools/tiff2pdf.c:3044:17: Call
  3042. 	t2p_enable(output);
  3043. 	t2p->outputwritten = 0;
  3044. 	bufferoffset = TIFFWriteEncodedStrip(output, (tstrip_t) 0, buffer,
                        ^
  3045. 					     TIFFStripSize(output)); 
  3046. 	if (buffer != NULL) {

libtiff/tif_write.c:183:1: <LHS trace>
181.  * NB: Image length must be setup before writing.
182.  */
183. tmsize_t
     ^
184. TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc)
185. {

libtiff/tif_write.c:183:1: Parameter `tif->tif_dir.td_imagelength`
    181.  * NB: Image length must be setup before writing.
    182.  */
    183. tmsize_t
         ^
    184. TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc)
    185. {

libtiff/tif_write.c:210:7: Binary operation: ([0, 4294967295] - 1):unsigned32 by call to `t2p_readwrite_pdf_image_tile` 
    208. 			return ((tmsize_t) -1);
    209. 		td->td_stripsperimage =
    210. 		    TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip);  
               ^
    211. 	}
    212. 	/*
