mirror of
https://github.com/opencv/opencv.git
synced 2025-01-24 03:03:12 +08:00
Merge pull request #14202 from alalek:fix_ossfuzz_13285
This commit is contained in:
commit
7142f46d1c
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user