tiffdec: check count in metadata reading.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 11:13:30 +0000 (12:13 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 11:14:28 +0000 (12:14 +0100)
commit6d1c5ea04af3e345232aa70c944de961061dab2d
treec58697e9e44d9f6147b84bf253c3f5764824c5c4
parentce1ebb31a9a0e556a89cd7681082af19fbc1cced
tiffdec: check count in metadata reading.

Fixes out of array access

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