summaryrefslogtreecommitdiff
path: root/changes/md_cache_replace
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-12 11:19:52 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-12 11:19:52 -0400
commitbdff7e3299d78cd2f7aa4a31e5f57c1aeef5ffa1 (patch)
tree8524d0f9a976f9dfccbaba8e48359ddc178c3e33 /changes/md_cache_replace
parentb47f574c1e27b8665e9e2658409645a3831e7aa4 (diff)
downloadtor-bdff7e3299d78cd2f7aa4a31e5f57c1aeef5ffa1.tar.gz
tor-bdff7e3299d78cd2f7aa4a31e5f57c1aeef5ffa1.zip
Unmap microdesc cache before replacing it.
If we do a replace-then-munmap, windows will never actually rewrite the microdesc cache. Found by wanoskarnet; bugfix on 0.2.2.6-alpha.
Diffstat (limited to 'changes/md_cache_replace')
-rw-r--r--changes/md_cache_replace6
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/md_cache_replace b/changes/md_cache_replace
new file mode 100644
index 0000000000..88e029c00a
--- /dev/null
+++ b/changes/md_cache_replace
@@ -0,0 +1,6 @@
+ o Minor bugfixes
+ - Avoid a bug that would keep us from replacing a microdescriptor
+ cache on Windows. (We would try to replace the file while still
+ holding it open. That's fine on Unix, but Windows doesn't let us
+ do that.) Bugfix on 0.2.2.6-alpha; bug found by wanoskarnet.
+