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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commitc3e774784bac7930743d47cbd37e0e9f06fa6e30
tree9de172678e8944fe881b3aead389245692fa54ab
parent4d45d5b606a11f6f401d7694df08e7e47989af32
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>
(cherry picked from commit 3981fb8d2a03cdb3399590da8621a7bcc22e2964)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/g2meet.c