tiffdec: use checked reads for tget*()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 11:03:57 +0000 (12:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 11:05:03 +0000 (12:05 +0100)
commitce1ebb31a9a0e556a89cd7681082af19fbc1cced
tree81d0f938812c043d8e8efc00d139fedc5a10412e
parent1b5a6d3c4966fb67d79445aca9c1ad6c1ecbdd4b
tiffdec: use checked reads for tget*()

Fixes out of array reads

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