contrib/addtiffo/tif_overview.c:856: error: Integer Overflow L2
  ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFF_WriteOverview`.

contrib/addtiffo/tif_overview.c:714:1: Parameter `hTIFF->tif_dir.td_imagelength`
712. /************************************************************************/
713. 
714. void TIFFBuildOverviews( TIFF *hTIFF, int nOverviews, int * panOvList,
     ^
715.                          int bUseSubIFDs, const char *pszResampleMethod,
716.                          int (*pfnProgress)( double, void * ),

contrib/addtiffo/tif_overview.c:856:22: Call
854.         }
855. 
856.         nDirOffset = TIFF_WriteOverview( hTIFF, nOXSize, nOYSize,
                          ^
857.                                          nBitsPerPixel, nPlanarConfig,
858.                                          nSamples, nOBlockXSize, nOBlockYSize,

contrib/addtiffo/tif_overview.c:82:1: Parameter `hTIFF->tif_dir.td_imagelength`
  80. /************************************************************************/
  81. 
  82. uint32 TIFF_WriteOverview( TIFF *hTIFF, uint32 nXSize, uint32 nYSize,
      ^
  83.                            int nBitsPerPixel, int nPlanarConfig, int nSamples, 
  84.                            int nBlockXSize, int nBlockYSize,

contrib/addtiffo/tif_overview.c:149:9: Call
  147. /*      Write directory, and return byte offset.                        */
  148. /* -------------------------------------------------------------------- */
  149.     if( TIFFWriteCheck( hTIFF, bTiled, "TIFFBuildOverviews" ) == 0 )
               ^
  150.         return 0;
  151. 

libtiff/tif_write.c:564:1: Parameter `tif->tif_dir.td_imagelength`
    562.  * that important information is not changed.
    563.  */
    564. int
         ^
    565. TIFFWriteCheck(TIFF* tif, int tiles, const char* module)
    566. {

libtiff/tif_write.c:611:48: Call
    609. 		}
    610. 	}
    611. 	if (tif->tif_dir.td_stripoffset_p == NULL && !TIFFSetupStrips(tif)) {
                                                        ^
    612. 		tif->tif_dir.td_nstrips = 0;
    613. 		TIFFErrorExt(tif->tif_clientdata, module, "No space for %s arrays",

libtiff/tif_write.c:522:1: Parameter `tif->tif_dir.td_imagelength`
      520.     (TIFFFieldSet(tif,f) && (tif)->tif_dir.td_imagelength == 0)
      521. 
      522. int
           ^
      523. TIFFSetupStrips(TIFF* tif)
      524. {

libtiff/tif_write.c:530:29: Call
      528. 		td->td_stripsperimage =
      529. 		    isUnspecified(tif, FIELD_TILEDIMENSIONS) ?
      530. 			td->td_samplesperpixel : TIFFNumberOfTiles(tif);
                                       ^
      531. 	else
      532. 		td->td_stripsperimage =

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

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

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

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

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