tools/tiffcp.c:1051: error: Integer Overflow L2
  ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `TIFFWriteScanline`.

tools/tiffcp.c:1018:1: Parameter `out->tif_dir.td_imagelength`
1016.  * Contig -> separate by row.
1017.  */
1018. DECLAREcpFunc(cpContig2SeparateByRow)
      ^
1019. {
1020. 	tsize_t scanlinesizein = TIFFScanlineSize(in);

tools/tiffcp.c:1051:8: Call
1049. 				inp += spp;
1050. 			}
1051. 			if (TIFFWriteScanline(out, outbuf, row, s) < 0) {
             ^
1052. 				TIFFError(TIFFFileName(out),
1053. 				    "Error, can't write scanline %lu",

libtiff/tif_write.c:48:1: Parameter `tif->tif_dir.td_imagelength`
  46. static int TIFFAppendToStrip(TIFF* tif, uint32 strip, uint8* data, tmsize_t cc);
  47. 
  48. int
      ^
  49. TIFFWriteScanline(TIFF* tif, void* buf, uint32 row, uint16 sample)
  50. {

libtiff/tif_write.c:56:7: Call
  54. 	uint32 strip;
  55. 
  56. 	if (!WRITECHECKSTRIPS(tif, module))
            ^
  57. 		return (-1);
  58. 	/*

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 `TIFFWriteScanline` 
        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");
