tools/tiff2pdf.c:5381: error: Integer Overflow L2
  ([0, max(4294967295, `output->tif_dir.td_rowsperstrip`)] - 1):unsigned32 by call to `t2p_readwrite_pdf_image`.

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:5381:15: Call
5379. 			streamlen=written;
5380. 			t2p_read_tiff_size(t2p, input);
5381. 			written += t2p_readwrite_pdf_image(t2p, input, output);
                    ^
5382. 			t2p_write_advance_directory(t2p, output);
5383. 			if(t2p->t2p_error!=T2P_ERR_OK){return(0);}

tools/tiff2pdf.c:2044:1: Parameter `output->tif_dir.td_rowsperstrip`
  2042. */
  2043. 
  2044. tsize_t t2p_readwrite_pdf_image(T2P* t2p, TIFF* input, TIFF* output){
        ^
  2045. 
  2046. 	tsize_t written=0;

tools/tiff2pdf.c:2594:18: Call
  2592. 	if(t2p->pdf_compression == T2P_COMPRESS_JPEG
  2593. 	   && t2p->tiff_photometric == PHOTOMETRIC_YCBCR){
  2594. 		bufferoffset = TIFFWriteEncodedStrip(output, (tstrip_t)0,
                         ^
  2595. 						     buffer,
  2596. 						     stripsize * stripcount); 

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_rowsperstrip`
    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, max(4294967295, output->tif_dir.td_rowsperstrip)] - 1):unsigned32 by call to `t2p_readwrite_pdf_image` 
    208. 			return ((tmsize_t) -1);
    209. 		td->td_stripsperimage =
    210. 		    TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip);  
               ^
    211. 	}
    212. 	/*
