mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user