diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-22 13:47:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-22 13:47:08 +0200 |
commit | 0a3a39559ec427f4d19a27414919d2421c36c9de (patch) | |
tree | 021345959f3f5d6f42e363bd3952cdaa50ef9be4 | |
parent | 5062cb85de35f541c49941a7b19bed797cde7981 (diff) |
bin/envstore: Use ~/var/tmp instead of /tmp to prevent possible environment poisoning
-rwxr-xr-x | bin/envstore | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/envstore b/bin/envstore index f36b09b..e3971ba 100755 --- a/bin/envstore +++ b/bin/envstore @@ -57,8 +57,8 @@ try: except IndexError: usage() -store_filename = "/tmp/envstore-" + str(os.getuid()) -raw_filename = "/tmp/envstore-raw-" + str(os.getuid()) +store_filename = os.environ["HOME"] + "/var/tmp/envstore-" + str(os.getuid()) +raw_filename = os.environ["HOME"] + "/var/tmp/envstore-raw-" + str(os.getuid()) try: store_file = open(store_filename) |