libtiff/tif_write.c:381: error: Integer Overflow L2
  ([0, `tif->tif_dir.td_tilewidth`] - 1):unsigned32.

libtiff/tif_write.c:339:1: <LHS trace>
337.  *     the image on each write (as TIFFWriteScanline does).
338.  */
339. tmsize_t
     ^
340. TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc)
341. {

libtiff/tif_write.c:339:1: Parameter `tif->tif_dir.td_tilewidth`
337.  *     the image on each write (as TIFFWriteScanline does).
338.  */
339. tmsize_t
     ^
340. TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc)
341. {

libtiff/tif_write.c:381:25: Binary operation: ([0, tif->tif_dir.td_tilewidth] - 1):unsigned32
379. 	tif->tif_row = (tile % TIFFhowmany_32(td->td_imagelength, td->td_tilelength))
380. 		* td->td_tilelength;
381. 	tif->tif_col = (tile % TIFFhowmany_32(td->td_imagewidth, td->td_tilewidth))
                             ^
382. 		* td->td_tilewidth;
383. 
