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

tools/tiff2pdf.c:1263:2: Call
1261.         
1262. 	
1263. 	TIFFSetDirectory(input, t2p->tiff_pages[t2p->pdf_page].page_directory);
       ^
1264. 
1265. 	TIFFGetField(input, TIFFTAG_IMAGEWIDTH, &(t2p->tiff_width));

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

tools/tiff2pdf.c:1681:30: Call
1679. 		if(t2p->tiff_compression==COMPRESSION_CCITTFAX4  
1680. 			){
1681. 			if(TIFFIsTiled(input) || (TIFFNumberOfStrips(input)==1) ){
                                   ^
1682. 				t2p->pdf_transcode = T2P_TRANSCODE_RAW;
1683. 				t2p->pdf_compression=T2P_COMPRESS_G4;

libtiff/tif_strip.c:86:1: <LHS trace>
84.  * Compute how many strips are in an image.
85.  */
86. uint32
    ^
87. TIFFNumberOfStrips(TIFF* tif)
88. {

libtiff/tif_strip.c:86:1: Parameter `tif->tif_dir.td_rowsperstrip`
  84.  * Compute how many strips are in an image.
  85.  */
  86. uint32
      ^
  87. TIFFNumberOfStrips(TIFF* tif)
  88. {

libtiff/tif_strip.c:93:7: Binary operation: ([0, +oo] - 1):unsigned32 by call to `TIFFNumberOfStrips` 
  91. 
  92. 	nstrips = (td->td_rowsperstrip == (uint32) -1 ? 1 :
  93. 	     TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip));
            ^
  94. 	if (td->td_planarconfig == PLANARCONFIG_SEPARATE)
  95. 		nstrips = multiply_32(tif, nstrips, (uint32)td->td_samplesperpixel,
