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

tools/tiff2pdf.c:1202:2: Call
1200.         
1201. 	
1202. 	TIFFSetDirectory(input, t2p->tiff_pages[t2p->pdf_page].page_directory);
       ^
1203. 
1204. 	TIFFGetField(input, TIFFTAG_IMAGEWIDTH, &(t2p->tiff_width));

libtiff/tif_dir.c:1372:1: Parameter `tif->tif_dir.td_rowsperstrip`
  1370.  * NB: Directories are numbered starting at 0.
  1371.  */
  1372. int
        ^
  1373. TIFFSetDirectory(TIFF* tif, uint16 dirn)
  1374. {

tools/tiff2pdf.c:1620:30: Call
1618. 		if(t2p->tiff_compression==COMPRESSION_CCITTFAX4  
1619. 			){
1620. 			if(TIFFIsTiled(input) || (TIFFNumberOfStrips(input)==1) ){
                                   ^
1621. 				t2p->pdf_transcode = T2P_TRANSCODE_RAW;
1622. 				t2p->pdf_compression=T2P_COMPRESS_G4;

libtiff/tif_strip.c:60:1: <LHS trace>
58.  * Compute how many strips are in an image.
59.  */
60. uint32
    ^
61. TIFFNumberOfStrips(TIFF* tif)
62. {

libtiff/tif_strip.c:60:1: Parameter `tif->tif_dir.td_rowsperstrip`
  58.  * Compute how many strips are in an image.
  59.  */
  60. uint32
      ^
  61. TIFFNumberOfStrips(TIFF* tif)
  62. {

libtiff/tif_strip.c:67:7: Binary operation: ([0, +oo] - 1):unsigned32 by call to `TIFFNumberOfStrips` 
  65. 
  66. 	nstrips = (td->td_rowsperstrip == (uint32) -1 ? 1 :
  67. 	     TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip));
            ^
  68. 	if (td->td_planarconfig == PLANARCONFIG_SEPARATE)
  69. 		nstrips = _TIFFMultiply32(tif, nstrips, (uint32)td->td_samplesperpixel,
