From 84fac1db46d7acabd47ab440775bc639fecf4b5f Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 30 Aug 2011 19:16:39 +0200 Subject: security fix --- mat/mat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mat/mat.py b/mat/mat.py index eb71fc7..318e05e 100644 --- a/mat/mat.py +++ b/mat/mat.py @@ -121,7 +121,7 @@ def secure_remove(filename): ''' removed = False try: - subprocess.call('shred --remove %s' % filename, shell=True) + subprocess.call(['shred', '--remove', filename]) removed = True except: logging.error('Unable to securely remove %s' % filename) -- cgit v1.3