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:1404:1: Parameter `tif->tif_dir.td_imagewidth`
  1402.  * the SubIFD tag (e.g. thumbnail images).
  1403.  */
  1404. int
        ^
  1405. TIFFSetSubDirectory(TIFF* tif, uint64 diroff)
  1406. {

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

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:140:1: <LHS trace>
138.  * Compute how many tiles are in an image.
139.  */
140. uint32
     ^
141. TIFFNumberOfTiles(TIFF* tif)
142. {

libtiff/tif_tile.c:140:1: Parameter `tif->tif_dir.td_imagewidth`
      138.  * Compute how many tiles are in an image.
      139.  */
      140. uint32
           ^
      141. TIFFNumberOfTiles(TIFF* tif)
      142. {

libtiff/tif_tile.c:140:1: <RHS trace>
138.  * Compute how many tiles are in an image.
139.  */
140. uint32
     ^
141. TIFFNumberOfTiles(TIFF* tif)
142. {

libtiff/tif_tile.c:140:1: Parameter `tif->tif_dir.td_imagewidth`
      138.  * Compute how many tiles are in an image.
      139.  */
      140. uint32
           ^
      141. TIFFNumberOfTiles(TIFF* tif)
      142. {

libtiff/tif_tile.c:156:40: Binary operation: ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFFSetSubDirectory` 
      154. 		dz = td->td_imagedepth;
      155. 	ntiles = (dx == 0 || dy == 0 || dz == 0) ? 0 :
      156. 	    multiply_32(tif, multiply_32(tif, TIFFhowmany_32(td->td_imagewidth, dx),
                                                  ^
      157. 	    TIFFhowmany_32(td->td_imagelength, dy),
      158. 	    "TIFFNumberOfTiles"),
