tiff-4.0.8:ver.bump

This commit is contained in:
Rmys
2018-03-21 22:43:06 +03:00
parent 99829e612a
commit e401e81ed2
9 changed files with 317 additions and 2 deletions
@@ -0,0 +1,20 @@
https://codereview.chromium.org/2204793002
https://crbug.com/633387
https://pdfium.googlesource.com/pdfium/+/master/libtiff/
Author: thestig <thestig@chromium.org>
Date: Mon Aug 1 19:36:27 2016 -0700
Fix a memory leak in libtiff.
--- a/libtiff/tif_dirread.c
+++ b/libtiff/tif_dirread.c
@@ -5372,6 +5372,8 @@ TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, uint32 nstrips, uint64** lpp)
static const char module[] = "TIFFFetchStripThing";
enum TIFFReadDirEntryErr err;
uint64* data;
+ _TIFFfree(*lpp);
+ *lpp = 0;
err=TIFFReadDirEntryLong8Array(tif,dir,&data);
if (err!=TIFFReadDirEntryErrOk)
{