Fix a crash bug in tor_assert(md->held_by_node)

The fix is to turn held_by_node into a reference count.

Fixes bug 4118; bugfix on 0.2.3.1-alpha.
This commit is contained in:
Nick Mathewson
2011-09-28 13:29:01 -04:00
parent e98c9a1bf6
commit a4b7525c3c
4 changed files with 19 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
o Major bugfixes:
- Fix a crash bug that could occur when the same microdescriptor was
referenced by two node_t objects at once. Fix for bug 4118; bugfix
on Tor 0.2.3.1-alpha.