| Index: third_party/libtiff/0005-Leak-TIFFFetchStripThing.patch
|
| diff --git a/third_party/libtiff/0005-Leak-TIFFFetchStripThing.patch b/third_party/libtiff/0005-Leak-TIFFFetchStripThing.patch
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0f9b16873f302de7e7b06b9f943ce2240bc0b6e1
|
| --- /dev/null
|
| +++ b/third_party/libtiff/0005-Leak-TIFFFetchStripThing.patch
|
| @@ -0,0 +1,13 @@
|
| +diff --git a/third_party/libtiff/tif_dirread.c b/third_party/libtiff/tif_dirread.c
|
| +index a0dc68b..5ef3264 100644
|
| +--- a/third_party/libtiff/tif_dirread.c
|
| ++++ b/third_party/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)
|
| + {
|
|
|