tools/tiffcrop.c:6763: error: Integer Overflow L2
  ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `writeCroppedImage`.

tools/tiffcrop.c:6727:1: Parameter `(*out)->tif_dir.td_imagewidth`
6725.   } /* end extractImageSection */
6726. 
6727. static int 
      ^
6728. writeSelections(TIFF *in, TIFF **out, struct crop_mask *crop, 
6729.                 struct image_data *image, struct dump_opts *dump,

tools/tiffcrop.c:6763:16: Call
6761.            {
6762.            crop_buff = seg_buffs[i].buffer;
6763.            if (writeCroppedImage(in, *out, image, dump,
                     ^
6764.                                  crop->regionlist[i].width, 
6765.                                  crop->regionlist[i].length, 

tools/tiffcrop.c:7569:1: Parameter `out->tif_dir.td_imagewidth`
  7567.  * then passed in as an argument.
  7568.  */
  7569. static int  
        ^
  7570. writeCroppedImage(TIFF *in, TIFF *out, struct image_data *image, 
  7571.                   struct dump_opts *dump, uint32 width, uint32 length, 

tools/tiffcrop.c:7812:11: Call
  7810.     if (config == PLANARCONFIG_CONTIG)
  7811.       {
  7812.       if (writeBufferToContigTiles (out, crop_buff, length, width, spp, dump))
                  ^
  7813.         TIFFError("","Unable to write contiguous tile data for page %d", pagenum);
  7814.       }

tools/tiffcrop.c:1194:1: Parameter `out->tif_dir.td_imagewidth`
    1192.  * to be written out as a tile.
    1193.  */
    1194. static int writeBufferToContigTiles (TIFF* out, uint8* buf, uint32 imagelength,
          ^
    1195. 				       uint32 imagewidth, tsample_t spp, 
    1196.                                        struct dump_opts* dump)

tools/tiffcrop.c:1251:11: Call
    1249.         }
    1250. 
    1251.       if (TIFFWriteTile(out, tilebuf, col, row, 0, 0) < 0)
                    ^
    1252.         {
    1253. 	TIFFError("writeBufferToContigTiles",

libtiff/tif_write.c:312:1: Parameter `tif->tif_dir.td_imagewidth`
      310.  * tile is selected by the (x,y,z,s) coordinates.
      311.  */
      312. tmsize_t
           ^
      313. TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s)
      314. {

libtiff/tif_write.c:315:7: Call
      313. TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s)
      314. {
      315. 	if (!TIFFCheckTile(tif, x, y, z, s))
                 ^
      316. 		return ((tmsize_t)(-1));
      317. 	/*

libtiff/tif_tile.c:74:1: Parameter `x`
        72.  * against the image bounds.
        73.  */
        74. int
            ^
        75. TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s)
        76. {

libtiff/tif_write.c:324:6: Call
      322. 	 */
      323. 	return (TIFFWriteEncodedTile(tif,
      324. 	    TIFFComputeTile(tif, x, y, z, s), buf, (tmsize_t)(-1)));
                ^
      325. }
      326. 

libtiff/tif_tile.c:37:1: <LHS trace>
35.  * Compute which tile an (x,y,z,s) value is in.
36.  */
37. uint32
    ^
38. TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s)
39. {

libtiff/tif_tile.c:37:1: Parameter `tif->tif_dir.td_imagewidth`
        35.  * Compute which tile an (x,y,z,s) value is in.
        36.  */
        37. uint32
            ^
        38. TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s)
        39. {

libtiff/tif_tile.c:37:1: <RHS trace>
35.  * Compute which tile an (x,y,z,s) value is in.
36.  */
37. uint32
    ^
38. TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s)
39. {

libtiff/tif_tile.c:37:1: Parameter `tif->tif_dir.td_imagewidth`
        35.  * Compute which tile an (x,y,z,s) value is in.
        36.  */
        37. uint32
            ^
        38. TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s)
        39. {

libtiff/tif_tile.c:55:16: Binary operation: ([0, 4294967294] + [0, 4294967294]):unsigned32 by call to `writeCroppedImage` 
        53. 		dz = td->td_imagedepth;
        54. 	if (dx != 0 && dy != 0 && dz != 0) {
        55. 		uint32 xpt = TIFFhowmany_32(td->td_imagewidth, dx);
                           ^
        56. 		uint32 ypt = TIFFhowmany_32(td->td_imagelength, dy);
        57. 		uint32 zpt = TIFFhowmany_32(td->td_imagedepth, dz);
