aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-06-03 18:19:08 -0400
committerNick Mathewson <nickm@torproject.org>2014-06-03 18:19:08 -0400
commit84ed086d4858ed14de4a4a8bfc3283a73b7c4657 (patch)
tree4f5e33ed2f65be0cd2b7b2e2a22714d1eba833cb /changes
parent8d9602c21ccc0d93c82c651d94791df88cf4c9ad (diff)
downloadtor-84ed086d4858ed14de4a4a8bfc3283a73b7c4657.tar
tor-84ed086d4858ed14de4a4a8bfc3283a73b7c4657.tar.gz
Fix ancient code that only checked circ_id, not circ_id and chan
This code mis-handled the case where a circuit got the same circuit ID in both directions. I found three instances of it in the codebase, by grepping for [pn]_circ_id. Because of the issue in command_process_relay_cell(), this would have made roughly one circuit in a million completely nonfunctional. Fixes bug 12195.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug121957
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/bug12195 b/changes/bug12195
new file mode 100644
index 000000000..f798129e6
--- /dev/null
+++ b/changes/bug12195
@@ -0,0 +1,7 @@
+ o Major bugfixes:
+ - When a circuit accidentally has the same circuit ID for its
+ forward and reverse direction, correctly detect the direction of
+ cells using that circuit. Previously, this would have made
+ roughly one circuit in a million non-functional. Fixes bug
+ 12195; this is a bugfix on every version of Tor.
+