]> git.sesse.net Git - ffmpeg/commit
avcodec/agm: Do not allow MVs out of the picture area as no edge is allocated
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 2 Nov 2019 07:35:39 +0000 (08:35 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 Dec 2019 15:09:14 +0000 (16:09 +0100)
commit7a1b30c871c873e97c93af75f925c854de7b75f2
treeb33c7d83b13ca977074f55f4c93d7e3204c45f9b
parenta2d6b2042ee373467b0a910502292406f348622f
avcodec/agm: Do not allow MVs out of the picture area as no edge is allocated

Fixes: out of array access
Fixes: 18499/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5749038406434816
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/agm.c