gifdec: refactor interleave end handling
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 18:15:52 +0000 (20:15 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 19 Dec 2014 07:01:47 +0000 (08:01 +0100)
commit0b39ac6f54505a538c21fe49a626de94c518c903
treed66a98d217c4b5e5ba58591a7d1131d78ae9563f
parent17ba719d9ba30c970f65747f42d5fbb1e447ca28
gifdec: refactor interleave end handling

Fixes invalid writes with very small image heights.

CC: libav-stable@libav.org
Bug-ID: CVE-2014-8547
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/gifdec.c