avcodec/g2meet: check tile dimensions to avoid integer overflow
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 30 Oct 2014 00:19:17 +0000 (01:19 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 30 Oct 2014 00:22:32 +0000 (01:22 +0100)
commit32e666c354e4a3160d8cf1d303cb51990b095c87
treed7679dd357ddce52c9aaa64df162c877a8ed8381
parentf05855414ed4cce97c06ba2a31f4987af47e6d4e
avcodec/g2meet: check tile dimensions to avoid integer overflow

Fixes out of array access
Fixes: asan_heap-oob_12a55d3_30_029.wmv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g2meet.c