diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-12-05 14:58:37 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-12-05 14:58:37 +0100 |
commit | a19a390f6538d9df8f125d7498a2e5df57612387 (patch) | |
tree | 8368ee073c9d81f711ec5500b0e12198914dba12 /debian/patches/0110-fixed-segfault-when-creating-logfile.patch | |
parent | 314e87026787b907f8fc77f44e1b5ce79cb9528f (diff) |
CVE-2015-8327; rename patches
Diffstat (limited to 'debian/patches/0110-fixed-segfault-when-creating-logfile.patch')
-rw-r--r-- | debian/patches/0110-fixed-segfault-when-creating-logfile.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0110-fixed-segfault-when-creating-logfile.patch b/debian/patches/0110-fixed-segfault-when-creating-logfile.patch new file mode 100644 index 0000000..29a743f --- /dev/null +++ b/debian/patches/0110-fixed-segfault-when-creating-logfile.patch @@ -0,0 +1,15 @@ +Description: foomatic-rip: Fixed segfault when creating log file (Bug #1206). +Author: Till Kamppeter <till.kamppeter@gmail.com> +Last-Update: 2014-04-25 +--- a/foomaticrip.c ++++ b/foomaticrip.c +@@ -1197,7 +1197,8 @@ + debug = 1; + + if (debug) { +- int fd = mkstemp (LOG_FILE "-XXXXXX.log"); ++ sprintf(tmp, "%s-XXXXXX.log", LOG_FILE); ++ int fd = mkstemps (tmp, 4); + if (fd != -1) + logh = fdopen(fd, "w"); + else |