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>
Sun, 2 Nov 2014 01:20:10 +0000 (02:20 +0100)
commite2865d931618deb65659343f185a0f77cf000296
tree9e8ce2d3a2d0dbed593a20fc86fb611b6074398f
parentbde9e859b3c7ebb0f76437dd6457a41ac8904740
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)

Conflicts:

libavcodec/g2meet.c

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