summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2006-01-29 21:36:03 +0000
committerdgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2006-01-29 21:36:03 +0000
commit75ac01632e687ed298452925db7d10a82cc10355 (patch)
tree20d6622b6106a36125a5b9db03a81995ac7695fe
parent2d697976efdc7cd9bb557dacb1fb915db8d1d6c5 (diff)
downloadrdiff-backup-75ac01632e687ed298452925db7d10a82cc10355.tar.gz
Fix a security violation when restoring from a remote repository.
(Patch from Charles Duffy.) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-0@752 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG2
-rw-r--r--rdiff-backup/rdiff_backup/Security.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 08595ed..c9d4f25 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -3,6 +3,8 @@ New in v1.0.5 (????/??/??)
Fix a traceback due to an off-by-1 error in "--remove-older-than nB".
+Fix a security violation when restoring from a remote repository.
+(Patch from Charles Duffy.)
New in v1.0.4 (2006/01/15)
--------------------------
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py
index 1ab44dd..ecd668a 100644
--- a/rdiff-backup/rdiff_backup/Security.py
+++ b/rdiff-backup/rdiff_backup/Security.py
@@ -139,6 +139,7 @@ def set_allowed_requests(sec_level):
if sec_level == "read-only" or sec_level == "all":
l.extend(["fs_abilities.get_fsabilities_readonly",
"fs_abilities.get_fsabilities_restoresource",
+ "restore.MirrorStruct.get_increment_times",
"restore.MirrorStruct.set_mirror_and_rest_times",
"restore.MirrorStruct.set_mirror_select",
"restore.MirrorStruct.initialize_rf_cache",