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:51:30 +0000 (01:51 +0100)
commitbfee1e90725aa2b832a0fd7bbd0393c9c23e7f0a
tree48855074f28edf42ab5685304b1f74d5d0a8e787
parent0db579445f5201fe2a341ae6485ac51668254fe7
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>
(cherry picked from commit 32e666c354e4a3160d8cf1d303cb51990b095c87)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g2meet.c