tiff: check for failure in search_keyval()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 19:17:33 +0000 (20:17 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 19:18:16 +0000 (20:18 +0100)
commitf28043d0a34aaf4ac7cf25bd0dddd868811c0ab2
tree629d710ecb12ad90ef4bacce7af9f172293fdd6d
parent478fc7f57bac966fcd916419336b349028c549ec
tiff: check for failure in search_keyval()

Fixes null pointer dereference

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