]> git.sesse.net Git - ffmpeg/commit
avcodec/magicyuv: Check that there are enough lines for interlacing to be possible
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Feb 2020 23:42:30 +0000 (00:42 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Feb 2020 18:57:16 +0000 (19:57 +0100)
commitf8a0e9f9f71cf5650bdc250ff7475e0f7d8e8420
treef11abd4533ea60820aa676abb0af3d7c7c7d085d
parent618a9bea65112a27a106e02ada3ae475cc8ac1ac
avcodec/magicyuv: Check that there are enough lines for interlacing to be possible

Fixes: out of array access
Fixes: 20763/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MAGICYUV_fuzzer-5759562508664832
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/magicyuv.c