]> git.sesse.net Git - ffmpeg/commit
avcodec/pafvideo: Check input space for decode_0() before slow operations
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 Apr 2019 23:23:41 +0000 (01:23 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 May 2019 20:04:14 +0000 (22:04 +0200)
commit8d77debf7dab556b93ea9e936a7762b8e31420ac
tree77325b06f074c66cd78b9ace9a9289f437123294
parent6dd8420290ef79945ec33e65fc3751e6e0bd9433
avcodec/pafvideo: Check input space for decode_0() before slow operations

Fixes: Timeout (11sec -> 2sec)
Fixes: 14403/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PAF_VIDEO_fuzzer-5697465698746368
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/pafvideo.c