avcodec/rasc: Fix off by 1 error in vertical coordinate
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 2 Oct 2018 01:04:51 +0000 (03:04 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 3 Oct 2018 09:14:17 +0000 (11:14 +0200)
commit9a9034958aec8c30ee898db23cb691863801ea1f
treeba24a92908b3ddb353a89957769b05ce09c9e657
parentc905840e8c0a0d4bc3737879bfc038618ecba2b2
avcodec/rasc: Fix off by 1 error in vertical coordinate

Fixes: out of array read
Fixes: 10311/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-4856330905452544

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/rasc.c