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

contrib/addtiffo/tif_overview.c:685:1: Parameter `hTIFF->tif_dir.td_imagelength`
683. /************************************************************************/
684. 
685. void TIFFBuildOverviews( TIFF *hTIFF, int nOverviews, int * panOvList,
     ^
686.                          int bUseSubIFDs, const char *pszResampleMethod,
687.                          int (*pfnProgress)( double, void * ),

contrib/addtiffo/tif_overview.c:827:22: Call
825.         }
826. 
827.         nDirOffset = TIFF_WriteOverview( hTIFF, nOXSize, nOYSize,
                          ^
828.                                          nBitsPerPixel, nPlanarConfig,
829.                                          nSamples, nOBlockXSize, nOBlockYSize,

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

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

libtiff/tif_write.c:488:1: Parameter `tif->tif_dir.td_imagelength`
    486.  * that important information is not changed.
    487.  */
    488. int
         ^
    489. TIFFWriteCheck(TIFF* tif, int tiles, const char* module)
    490. {

libtiff/tif_write.c:533:46: Call
    531. 		}
    532. 	}
    533. 	if (tif->tif_dir.td_stripoffset == NULL && !TIFFSetupStrips(tif)) {
                                                      ^
    534. 		tif->tif_dir.td_nstrips = 0;
    535. 		TIFFErrorExt(tif->tif_clientdata, module, "No space for %s arrays",

libtiff/tif_write.c:448:1: Parameter `tif->tif_dir.td_imagelength`
      446.     (TIFFFieldSet(tif,f) && (tif)->tif_dir.td_imagelength == 0)
      447. 
      448. int
           ^
      449. TIFFSetupStrips(TIFF* tif)
      450. {

libtiff/tif_write.c:456:29: Call
      454. 		td->td_stripsperimage =
      455. 		    isUnspecified(tif, FIELD_TILEDIMENSIONS) ?
      456. 			td->td_samplesperpixel : TIFFNumberOfTiles(tif);
                                       ^
      457. 	else
      458. 		td->td_stripsperimage =

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_imagelength`
        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_imagelength`
        112.  * Compute how many tiles are in an image.
        113.  */
        114. uint32
             ^
        115. TIFFNumberOfTiles(TIFF* tif)
        116. {

libtiff/tif_tile.c:131:6: Binary operation: ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFF_WriteOverview` 
        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"),
        133. 	    TIFFhowmany_32(td->td_imagedepth, dz), "TIFFNumberOfTiles");
