You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/dstat/files/dstat-0.6.9-CVE-2009-3894.p...

16 lines
721 B

https://bugs.gentoo.org/show_bug.cgi?id=293497
Index: dstat-0.6.9/dstat
===================================================================
--- dstat-0.6.9.orig/dstat
+++ dstat-0.6.9/dstat
@@ -28,8 +28,6 @@ try:
inspath('/usr/local/share/dstat/')
inspath('/usr/share/dstat/')
inspath(os.path.abspath(os.path.dirname(sys.argv[0])) + '/plugins/') # binary path + /plugins/
- inspath(os.getcwd() + '/plugins/') # current path + /plugins/
- inspath(os.getcwd()) # current path
inspath(os.path.expanduser('~/.dstat/')) # home + /.dstat/
except KeyboardInterrupt, e:
pass