* libtiff/tif_dirread.c: initialize double* data at line 3693 to NULL

to please MSVC 2013
This commit is contained in:
Even Rouault 2015-11-18 18:26:03 +00:00
parent 1dacfe503f
commit 7cf3e7efeb
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-11-18 Even Rouault <even.rouault at spatialys.com>
* libtiff/tif_dirread.c: initialize double* data at line 3693 to NULL
to please MSVC 2013
2015-11-17 Even Rouault <even.rouault at spatialys.com>
* libtiff/tif_dirread.c: prevent reading ColorMap or TransferFunction

View File

@ -1,4 +1,4 @@
/* $Id: tif_dirread.c,v 1.195 2015-11-17 16:21:02 erouault Exp $ */
/* $Id: tif_dirread.c,v 1.196 2015-11-18 18:26:03 erouault Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@ -3690,7 +3690,7 @@ TIFFReadDirectory(TIFF* tif)
case TIFFTAG_SMAXSAMPLEVALUE:
{
double *data;
double *data = NULL;
enum TIFFReadDirEntryErr err;
uint32 saved_flags;
int m;