Merge pull request #14202 from alalek:fix_ossfuzz_13285

This commit is contained in:
Alexander Alekhin 2019-03-31 14:39:20 +00:00
commit 7142f46d1c

View File

@ -214,6 +214,8 @@ bool TiffDecoder::readHeader()
&TiffDecoderBufHelper::write, &TiffDecoderBufHelper::seek,
&TiffDecoderBufHelper::close, &TiffDecoderBufHelper::size,
&TiffDecoderBufHelper::map, /*unmap=*/0 );
if (!tif)
delete buf_helper;
}
else
{