Merge branch 'issue-52' into 'master'

contrib/win_dib/tiff2dib: fix Uninitialized variable: lpBits

Closes #52

See merge request libtiff/libtiff!121
This commit is contained in:
Even Rouault 2020-03-09 10:31:52 +00:00
commit ae054d59ae

View File

@ -106,6 +106,8 @@ HDIB LoadTIFFinDIB(LPSTR lpFileName)
if (lpDIB)
lpBits = FindDIBBits((LPSTR) lpDIB);
else
lpBits = NULL;
//In the tiff file the lines are save from up to down
//In a DIB the lines must be save from down to up