diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-05-11 22:05:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-11 22:05:41 -0400 |
commit | 13847b8db6b676c4f2951a4195758f395b7551a8 (patch) | |
tree | 981c40261f0e943f5cb6f3404284bf9cf8a7270d /changes | |
parent | e7b10e5ecfdf3ede4123f921c1d2419268235176 (diff) | |
download | tor-13847b8db6b676c4f2951a4195758f395b7551a8.tar.gz tor-13847b8db6b676c4f2951a4195758f395b7551a8.zip |
Fix crash when read_file_to_string() fails in SAVECONF
The new behavior is to try to rename the old file if there is one there
that we can't read. In all likelihood, that will fail too, but at least
we tried, and at least it won't crash.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug3135 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug3135 b/changes/bug3135 new file mode 100644 index 0000000000..d761123480 --- /dev/null +++ b/changes/bug3135 @@ -0,0 +1,6 @@ + o Minor bugfixes + - Do not crash when our configuration file becomes unreadable + (usually due to a permissions change) between when we start + up and when a controller calls SAVECONF. Fixes bug 3135; + bugfix on 0.0.9pre6. + |