Skip to content

Commit 5770b96

Browse files
committed
Fix possible uninitialized memory in libtiff
1 parent 0303fa0 commit 5770b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdparty/libtiff/tif_dirread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3707,7 +3707,7 @@ TIFFReadDirectory(TIFF* tif)
37073707
case TIFFTAG_SMAXSAMPLEVALUE:
37083708
{
37093709

3710-
double *data;
3710+
double *data = 0;
37113711
enum TIFFReadDirEntryErr err;
37123712
uint32 saved_flags;
37133713
int m;

0 commit comments

Comments
 (0)