summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Security.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-07-25 06:34:48 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-07-25 06:34:48 +0000
commitc1251cdd510402ff24572e187f089c5b87cb7e98 (patch)
treef60a41f4858fe20d7e4a6b4adf122487c2f4c4cf /rdiff-backup/rdiff_backup/Security.py
parent57eaef4da22acb89668e7cc2de724bbe3636c20c (diff)
downloadrdiff-backup-c1251cdd510402ff24572e187f089c5b87cb7e98.tar.gz
Added error checking to middle of file reading, security fix for resuming
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@174 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Security.py')
-rw-r--r--rdiff-backup/rdiff_backup/Security.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py
index 49857ab..7f193aa 100644
--- a/rdiff-backup/rdiff_backup/Security.py
+++ b/rdiff-backup/rdiff_backup/Security.py
@@ -108,6 +108,7 @@ def set_allowed_requests(sec_level):
allowed_requests.extend(["C.make_file_dict",
"os.getuid",
"os.listdir",
+ "Time.setcurtime_local",
"Resume.ResumeCheck",
"HLSourceStruct.split_initial_dsiter",
"HLSourceStruct.get_diffs_and_finalize"])
@@ -127,7 +128,6 @@ def set_allowed_requests(sec_level):
allowed_requests.extend(["SetConnections.init_connection_remote",
"Log.setverbosity",
"Log.setterm_verbosity",
- "Time.setcurtime_local",
"Time.setprevtime_local",
"FilenameMapping.set_init_quote_vals_local",
"Globals.postset_regexp_local",