contrib/addtiffo/tif_ovrcache.c:167: error: Integer Overflow L2
  ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFFSetSubDirectory`.

contrib/addtiffo/tif_ovrcache.c:167:12: Call
165. /* -------------------------------------------------------------------- */
166.     nBaseDirOffset = TIFFCurrentDirOffset( psCache->hTIFF );
167.     nRet = TIFFSetSubDirectory( psCache->hTIFF, psCache->nDirOffset );
                ^
168.     assert( nRet == 1 );
169. 

libtiff/tif_dir.c:1406:1: Parameter `tif->tif_dir.td_imagewidth`
  1404.  * the SubIFD tag (e.g. thumbnail images).
  1405.  */
  1406. int
        ^
  1407. TIFFSetSubDirectory(TIFF* tif, uint64 diroff)
  1408. {

libtiff/tif_dir.c:1415:10: Call
  1413. 	 */
  1414. 	tif->tif_dirnumber = 0;
  1415. 	return (TIFFReadDirectory(tif));
                 ^
  1416. }
  1417. 

libtiff/tif_dirread.c:3404:1: Parameter `tif->tif_dir.td_imagewidth`
    3402.  * format. We read directories sequentially.
    3403.  */
    3404. int
          ^
    3405. TIFFReadDirectory(TIFF* tif)
    3406. {

libtiff/tif_dirread.c:3600:29: Call
    3598. 		tif->tif_flags &= ~TIFF_ISTILED;
    3599. 	} else {
    3600. 		tif->tif_dir.td_nstrips = TIFFNumberOfTiles(tif);
                                      ^
    3601. 		tif->tif_flags |= TIFF_ISTILED;
    3602. 	}

libtiff/tif_tile.c:114:1: <LHS trace>
112.  * Compute how many tiles are in an image.
113.  */
114. uint32
     ^
115. TIFFNumberOfTiles(TIFF* tif)
116. {

libtiff/tif_tile.c:114:1: Parameter `tif->tif_dir.td_imagewidth`
      112.  * Compute how many tiles are in an image.
      113.  */
      114. uint32
           ^
      115. TIFFNumberOfTiles(TIFF* tif)
      116. {

libtiff/tif_tile.c:114:1: <RHS trace>
112.  * Compute how many tiles are in an image.
113.  */
114. uint32
     ^
115. TIFFNumberOfTiles(TIFF* tif)
116. {

libtiff/tif_tile.c:114:1: Parameter `tif->tif_dir.td_imagewidth`
      112.  * Compute how many tiles are in an image.
      113.  */
      114. uint32
           ^
      115. TIFFNumberOfTiles(TIFF* tif)
      116. {

libtiff/tif_tile.c:130:48: Binary operation: ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFFSetSubDirectory` 
      128. 		dz = td->td_imagedepth;
      129. 	ntiles = (dx == 0 || dy == 0 || dz == 0) ? 0 :
      130. 	    _TIFFMultiply32(tif, _TIFFMultiply32(tif, TIFFhowmany_32(td->td_imagewidth, dx),
                                                          ^
      131. 	    TIFFhowmany_32(td->td_imagelength, dy),
      132. 	    "TIFFNumberOfTiles"),
