libtiff/tif_write.c:368: error: Buffer Overrun S2
  Offset: `tile` Size: [0, +oo].

libtiff/tif_write.c:339:1: <Offset 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 `tile`
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: <Length 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_stripbytecount`
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:368:6: Array access: Offset: tile Size: [0, +oo]
366. 	tif->tif_rawcp = tif->tif_rawdata;
367. 
368. 	if( td->td_stripbytecount[tile] > 0 )
          ^
369.         {
370. 	    /* Force TIFFAppendToStrip() to consider placing data at end
