summaryrefslogtreecommitdiff
path: root/third_party/libtiff/0012-initialize-tif-rawdata.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libtiff/0012-initialize-tif-rawdata.patch')
-rw-r--r--third_party/libtiff/0012-initialize-tif-rawdata.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/third_party/libtiff/0012-initialize-tif-rawdata.patch b/third_party/libtiff/0012-initialize-tif-rawdata.patch
deleted file mode 100644
index 2543b89eb0..0000000000
--- a/third_party/libtiff/0012-initialize-tif-rawdata.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/third_party/libtiff/tif_read.c b/third_party/libtiff/tif_read.c
-index 5cb419bd4..548b1f5ea 100644
---- a/third_party/libtiff/tif_read.c
-+++ b/third_party/libtiff/tif_read.c
-@@ -936,6 +936,9 @@ TIFFReadBufferSetup(TIFF* tif, void* bp, tmsize_t size)
- return (0);
- }
- tif->tif_rawdata = (uint8*) _TIFFmalloc(tif->tif_rawdatasize);
-+ if (tif->tif_rawdata)
-+ memset(tif->tif_rawdata, 0, tif->tif_rawdatasize);
-+
- tif->tif_flags |= TIFF_MYBUFFER;
- }
- if (tif->tif_rawdata == NULL) {