avcodec/g2meet: Check tile dimensions with av_image_check_size2()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Feb 2018 01:34:05 +0000 (02:34 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Feb 2018 18:37:06 +0000 (19:37 +0100)
commit3981fb8d2a03cdb3399590da8621a7bcc22e2964
treea704f4ccb7203d9d9ae16119fab5c26667e24e94
parent49062a90174b6e4104876c0257dc673a0da854ca
avcodec/g2meet: Check tile dimensions with av_image_check_size2()

Fixes: OOM
Fixes: 6216/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-4983807968018432

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