avcodec/ivi: Check image dimensions
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Nov 2015 01:36:22 +0000 (02:36 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Nov 2015 01:37:12 +0000 (02:37 +0100)
commitdf91aa034b82b77a3c4e01791f4a2b2ff6c82066
treebb027efbb4969baebe00a638556162e40de94ecf
parent4e16ad2868a1819de6680fc355a8eb20164adaea
avcodec/ivi: Check image dimensions

Fixes integer overflow
Fixes: 1e32c6c591d940337c20b197ec1c4d3d/asan_heap-oob_4a52e5_8946_0bb0d9e863def56005e49f1d89bdc94d.avi

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ivi.c