contrib/addtiffo/tif_overview.c:866: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `TIFF_ProcessFullResBlock`.

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:866:13: Call
864.              */
865.             
866.             TIFF_ProcessFullResBlock( hTIFF, nPlanarConfig,
                 ^
867.                                       bSubsampled,nHorSubsampling,nVerSubsampling,
868.                                       nOverviews, panOvList,

contrib/addtiffo/tif_overview.c:540:1: Parameter `hTIFF->tif_dir.td_imagelength`
  538. /************************************************************************/
  539. 
  540. void TIFF_ProcessFullResBlock( TIFF *hTIFF, int nPlanarConfig,
       ^
  541.                                int bSubsampled,
  542.                                int nHorSubsampling, int nVerSubsampling,

contrib/addtiffo/tif_overview.c:577:39: Call
  575.                                                        (tsample_t) iSample),
  576.                                       pabySrcTile,
  577.                                       TIFFStripSize(hTIFF) );
                                             ^
  578.             }
  579.         }

libtiff/tif_strip.c:235:1: Parameter `tif->tif_dir.td_imagelength`
    233. 	return (TIFFVStripSize64(tif, rps));
    234. }
    235. tmsize_t
         ^
    236. TIFFStripSize(TIFF* tif)
    237. {

libtiff/tif_strip.c:241:4: Call
    239. 	uint64 m;
    240. 	tmsize_t n;
    241. 	m=TIFFStripSize64(tif);
            ^
    242. 	n=(tmsize_t)m;
    243. 	if ((uint64)n!=m)

libtiff/tif_strip.c:226:1: Parameter `tif->tif_dir.td_imagelength`
      224.  * to hold the strip.
      225.  */
      226. uint64
           ^
      227. TIFFStripSize64(TIFF* tif)
      228. {

contrib/addtiffo/tif_overview.c:573:17: Call
  571.             else
  572.             {
  573.                 TIFFReadEncodedStrip( hTIFF,
                       ^
  574.                                       TIFFComputeStrip(hTIFF, nSYOff,
  575.                                                        (tsample_t) iSample),

libtiff/tif_read.c:123:1: <LHS trace>
121.  * amount into the user-supplied buffer.
122.  */
123. tmsize_t
     ^
124. TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size)
125. {

libtiff/tif_read.c:123:1: Parameter `tif->tif_dir.td_imagelength`
    121.  * amount into the user-supplied buffer.
    122.  */
    123. tmsize_t
         ^
    124. TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size)
    125. {

libtiff/tif_read.c:151:2: Binary operation: ([0, +oo] - 1):unsigned32 by call to `TIFF_ProcessFullResBlock` 
    149. 	if (rowsperstrip>td->td_imagelength)
    150. 		rowsperstrip=td->td_imagelength;
    151. 	stripsperplane=((td->td_imagelength+rowsperstrip-1)/rowsperstrip);
          ^
    152. 	stripinplane=(strip%stripsperplane);
    153. 	plane=(strip/stripsperplane);
