OSDN Git Service

avcodec/clearvideo: Check buf_size before decoding frame
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 May 2017 23:37:14 +0000 (01:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 May 2017 23:38:03 +0000 (01:38 +0200)
commit43c394dcaebe9eec5802b420f273385473380909
tree28e6f159c077881efd3aa6339632ef690e5e7a1f
parent8e87d146d798ca25d8f3a4520a6deb7946b39d73
avcodec/clearvideo: Check buf_size before decoding frame

Fixes; Timeout
Fixes: 1826/clusterfuzz-testcase-minimized-5728569256837120

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/clearvideo.c