avcodec/tiff: Check for multiple geo key directories
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Mar 2017 19:45:08 +0000 (20:45 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Mar 2017 21:48:49 +0000 (22:48 +0100)
commit108b02e5471c1dae248200db694aba9b7b8555a8
tree11e4492bbcb060f6e472462b4048530cee5cd390
parent0728d9a281068add5898a8b51cd9c6f3b973ea31
avcodec/tiff: Check for multiple geo key directories

Fixes memleak
Fixes: 826/clusterfuzz-testcase-5316921379520512

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/tiff.c