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

libtiff/tif_write.c:185:1: <Offset trace>
183.  * NB: Image length must be setup before writing.
184.  */
185. tmsize_t
     ^
186. TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc)
187. {

libtiff/tif_write.c:185:1: Parameter `strip`
183.  * NB: Image length must be setup before writing.
184.  */
185. tmsize_t
     ^
186. TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc)
187. {

libtiff/tif_write.c:185:1: <Length trace>
183.  * NB: Image length must be setup before writing.
184.  */
185. tmsize_t
     ^
186. TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc)
187. {

libtiff/tif_write.c:185:1: Parameter `*tif->tif_dir.td_stripbytecount`
183.  * NB: Image length must be setup before writing.
184.  */
185. tmsize_t
     ^
186. TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc)
187. {

libtiff/tif_write.c:246:31: Array access: Offset: strip Size: [0, +oo]
244.             {
245.                 if( !(TIFFWriteBufferSetup(tif, NULL,
246.                     (tmsize_t)TIFFroundup_64((uint64)(td->td_stripbytecount[strip] + 1), 1024))) )
                                   ^
247.                     return ((tmsize_t)(-1));
248.             }
