mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Fix possible uninitialized memory in libtiff
This commit is contained in:
parent
0303fa0a19
commit
5770b961a1
2
3rdparty/libtiff/tif_dirread.c
vendored
2
3rdparty/libtiff/tif_dirread.c
vendored
@ -3707,7 +3707,7 @@ TIFFReadDirectory(TIFF* tif)
|
||||
case TIFFTAG_SMAXSAMPLEVALUE:
|
||||
{
|
||||
|
||||
double *data;
|
||||
double *data = 0;
|
||||
enum TIFFReadDirEntryErr err;
|
||||
uint32 saved_flags;
|
||||
int m;
|
||||
|
Loading…
Reference in New Issue
Block a user