summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-05-16 10:51:02 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-16 10:51:02 -0400
commit3ed4c5dc05a1954a8c68d0f7e9fb802f3155d308 (patch)
tree99ccbcef357b54ddf8fe7d0a6da963e4a4756c54 /changes
parent8e07798284faba6cc2492ca98e50f2e8bcb70934 (diff)
downloadtor-3ed4c5dc05a1954a8c68d0f7e9fb802f3155d308.tar.gz
tor-3ed4c5dc05a1954a8c68d0f7e9fb802f3155d308.zip
Correct the bulletproofing of routerlist_insert()
The original code updated some variables, but forgot to remove a replaced old-routerdesc from rl->old_routers. Related to bug 1776.
Diffstat (limited to 'changes')
-rw-r--r--changes/routerlist_ins_replace5
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/routerlist_ins_replace b/changes/routerlist_ins_replace
new file mode 100644
index 0000000000..7b442a2f5d
--- /dev/null
+++ b/changes/routerlist_ins_replace
@@ -0,0 +1,5 @@
+ o Minor bugfixes:
+ - If we hit the error case where routerlist_insert() replaces an
+ existing (old) server descriptor, make sure to remove that
+ server descriptor from the old_routers list. Fix related to bug
+ 1776. Bugfix on 0.2.2.18-alpha.