diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-11-02 10:40:57 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-11-02 10:41:01 +0000 |
commit | 9755b2741ab312972f106699d21a4e836ed1d06b (patch) | |
tree | dae43ea5c9d1d7c77e5d9a9e680c02213d7e7612 /main/multipath-tools/multipath-tools-0.4.8-socket-cve-2009-0115.patch | |
parent | 197a1950deca8203f1f92d2bb13e13fe62b1b016 (diff) | |
download | aports-9755b2741ab312972f106699d21a4e836ed1d06b.tar.bz2 aports-9755b2741ab312972f106699d21a4e836ed1d06b.tar.xz |
main/multipath-tools: removed unused patches
Diffstat (limited to 'main/multipath-tools/multipath-tools-0.4.8-socket-cve-2009-0115.patch')
-rw-r--r-- | main/multipath-tools/multipath-tools-0.4.8-socket-cve-2009-0115.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/main/multipath-tools/multipath-tools-0.4.8-socket-cve-2009-0115.patch b/main/multipath-tools/multipath-tools-0.4.8-socket-cve-2009-0115.patch deleted file mode 100644 index deab762065..0000000000 --- a/main/multipath-tools/multipath-tools-0.4.8-socket-cve-2009-0115.patch +++ /dev/null @@ -1,29 +0,0 @@ -From: Hannes Reinecke <hare@suse.de> -Date: Wed, 1 Apr 2009 20:31:01 +0000 (+0200) -Subject: [multipathd] /var/run/multipathd.sock is world-writable -X-Git-Url: http://git.kernel.org/gitweb.cgi?p=linux%2Fstorage%2Fmultipath-tools%2F.git;a=commitdiff_plain;h=0a0319d381249760c71023edbe0ac9c093bb4a74;hp=15d4bdddcb9b71e0ec6fecc3c37a1b8cae8f51ff - -[multipathd] /var/run/multipathd.sock is world-writable - -Due to an stray 'umask()' the socket file is in fact world-writable, -allowing for an easy exploit. - -References: 458598 ---- - -diff --git a/multipathd/main.c b/multipathd/main.c -index 8a1a63d..9957f1f 100644 ---- a/multipathd/main.c -+++ b/multipathd/main.c -@@ -1454,8 +1454,9 @@ daemonize(void) - - close(in_fd); - close(out_fd); -- chdir("/"); -- umask(0); -+ if (chdir("/") < 0) -+ fprintf(stderr, "cannot chdir to '/', continuing\n"); -+ - return 0; - } - |