]> git.ipfire.org Git - thirdparty/tor.git/commit
Unmap microdesc cache before replacing it.
authorNick Mathewson <nickm@torproject.org>
Thu, 12 May 2011 15:19:52 +0000 (11:19 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 12 May 2011 15:19:52 +0000 (11:19 -0400)
commitbdff7e3299d78cd2f7aa4a31e5f57c1aeef5ffa1
tree8524d0f9a976f9dfccbaba8e48359ddc178c3e33
parentb47f574c1e27b8665e9e2658409645a3831e7aa4
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.
changes/md_cache_replace [new file with mode: 0644]
src/or/microdesc.c