diff options
Diffstat (limited to 'graphics/tiff/patches/patch-CVE-2017-18013')
-rw-r--r-- | graphics/tiff/patches/patch-CVE-2017-18013 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/graphics/tiff/patches/patch-CVE-2017-18013 b/graphics/tiff/patches/patch-CVE-2017-18013 deleted file mode 100644 index 755fd323193..00000000000 --- a/graphics/tiff/patches/patch-CVE-2017-18013 +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-CVE-2017-18013,v 1.1 2018/10/28 09:45:07 spz Exp $ - -patch for patch-CVE-2017-18013 from upstream git repo - ---- libtiff/tif_print.c.orig 2016-11-25 17:26:23.000000000 +0000 -+++ libtiff/tif_print.c 2018-10-09 17:35:21.544815948 +0000 -@@ -667,13 +667,13 @@ - #if defined(__WIN32__) && (defined(_MSC_VER) || defined(__MINGW32__)) - fprintf(fd, " %3lu: [%8I64u, %8I64u]\n", - (unsigned long) s, -- (unsigned __int64) td->td_stripoffset[s], -- (unsigned __int64) td->td_stripbytecount[s]); -+ td->td_stripoffset ? (unsigned __int64) td->td_stripoffset[s] : 0, -+ td->td_stripbytecount ? (unsigned __int64) td->td_stripbytecount[s] : 0); - #else - fprintf(fd, " %3lu: [%8llu, %8llu]\n", - (unsigned long) s, -- (unsigned long long) td->td_stripoffset[s], -- (unsigned long long) td->td_stripbytecount[s]); -+ td->td_stripoffset ? (unsigned long long) td->td_stripoffset[s] : 0, -+ td->td_stripbytecount ? (unsigned long long) td->td_stripbytecount[s] : 0); - #endif - } - } |