From: Maksim Shabunin Date: Thu, 22 Jun 2017 11:04:30 +0000 (+0300) Subject: Fix possible uninitialized memory in libtiff X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~922^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5770b961a19ef492842517e3a66352597a67e4a3;p=platform%2Fupstream%2Fopencv.git Fix possible uninitialized memory in libtiff --- diff --git a/3rdparty/libtiff/tif_dirread.c b/3rdparty/libtiff/tif_dirread.c index 184fc98..8beb0a4 100644 --- a/3rdparty/libtiff/tif_dirread.c +++ b/3rdparty/libtiff/tif_dirread.c @@ -3707,7 +3707,7 @@ TIFFReadDirectory(TIFF* tif) case TIFFTAG_SMAXSAMPLEVALUE: { - double *data; + double *data = 0; enum TIFFReadDirEntryErr err; uint32 saved_flags; int m;