gifdec: check that w,h is not zero
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Jan 2013 23:03:59 +0000 (00:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jan 2013 02:30:04 +0000 (03:30 +0100)
commit286930d302fd34cfc2541bfdd760a8bbf9f2d2e5
tree2d45f6fd3ba9dbe7d8e88a1646af68f94ef300ff
parenta0d1440476ced02c17e26947e48ab68a38b36a0e
gifdec: check that w,h is not zero

Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/gifdec.c