mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
f455686b77
This is a reprise of the fix in bdff7e3299d78;6905c1f6
reintroduced that bug. Briefly: windows doesn't seem to like deleting a mapped file. I tried adding the PROT_SHARED_DELETE flag to the createfile all, but that didn't actually fix this issue. Fortunately, the unit test I added in4f4fc63fea
should prevent us from making this particular screw-up again. This patch also tries to limit the crash potential of a failure to write by a little bit, although it could do a better job of retaining microdescriptor bodies. Fix for bug 8822, bugfix on 0.2.4.12-alpha.
6 lines
206 B
Plaintext
6 lines
206 B
Plaintext
o Major bugfixes (windows):
|
|
- Prevent failures on Windows Vista and later when rebuilding the
|
|
microdescriptor cache. Diagnosed by Robert Ransom. Fixes bug 8822;
|
|
bugfix on 0.2.4.12-alpha.
|
|
|