[FFmpeg-devel] [PATCH 1/3] avcodec/shorten: Move buffer allocation and offset init to end of read_header()

Paul B Mahol onemda at gmail.com
Sun Sep 10 22:18:37 EEST 2017


On 9/10/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> They are time consuming operations, performing them after the other checks
> improves the speed with damaged input dramatically.
>
> Fixes: Timeout
> Fixes: 2928/clusterfuzz-testcase-4992812120539136
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/shorten.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
>

Probably OK.


More information about the ffmpeg-devel mailing list