diff options
Diffstat (limited to 'audio/cmus/patches/cmus-2.2.0-symlink_attack.patch')
-rw-r--r-- | audio/cmus/patches/cmus-2.2.0-symlink_attack.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/cmus/patches/cmus-2.2.0-symlink_attack.patch b/audio/cmus/patches/cmus-2.2.0-symlink_attack.patch new file mode 100644 index 0000000000..3c3e09c55c --- /dev/null +++ b/audio/cmus/patches/cmus-2.2.0-symlink_attack.patch @@ -0,0 +1,12 @@ +diff -ur cmus-2.2.0.orig/cmus-status-display cmus-2.2.0/cmus-status-display +--- cmus-2.2.0.orig/cmus-status-display 2007-07-27 17:52:13.000000000 +0300 ++++ cmus-2.2.0/cmus-status-display 2009-05-12 09:12:56.000000000 +0300 +@@ -19,7 +19,7 @@ + output() + { + # write status to /tmp/cmus-status (not very useful though) +- echo "$*" >> /tmp/cmus-status 2>&1 ++ echo "$*" >> ~/.cmus-status 2>&1 + + # WMI (http://wmi.modprobe.de/) + #wmiremote -t "$*" &> /dev/null |