[FFmpeg-devel] [PATCH 5/8] avcodec/flicvideo: Optimize and Simplify FLI_COPY in flic_decode_frame_24BPP() by using bytestream2_get_buffer()

Tomas Härdin tjoppen at acc.umu.se
Thu Aug 15 11:55:12 EEST 2019


ons 2019-08-14 klockan 19:42 +0200 skrev Michael Niedermayer:
> On Wed, Aug 14, 2019 at 05:21:49PM +0200, Tomas Härdin wrote:
> > mån 2019-08-12 klockan 21:17 +0200 skrev Michael Niedermayer:
> > > Fixes: Timeout (31sec  -> 22sec)
> > 
> > Is this a large test case? 22sec still sounds excessive
> 
> the input is about 240kbyte so 22sec is not great but thats what you get
> copying large frames around

Is there any way to take ownership of the buffer? The best copy is the
one you avoid.. Of course that won't work if there's more than one copy
chunk.

Come to think of it, any codec is "vulnerable" to these kinds of
crafted files. Eh

/Tomas



More information about the ffmpeg-devel mailing list