aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-11 12:34:14 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-11 12:34:14 -0400
commitfca578d9b56d7d80fc43f21b77153d7e5cad92d6 (patch)
tree8d46821132f9b445498109aca577f78db6917d30 /changes
parent0196647970a91d2bdb052f38b3749dd0e99348e4 (diff)
downloadtor-fca578d9b56d7d80fc43f21b77153d7e5cad92d6.tar.gz
tor-fca578d9b56d7d80fc43f21b77153d7e5cad92d6.zip
Increase link_proto field to 2 bytes
This should have been 2 bytes all along, since version numbers can be 16 bits long. This isn't a live bug, since the call to is_or_protocol_version_known in channel_tls_process_versions_cell will reject any version number not in the range 1..4. Still, let's fix this before we accidentally start supporting version 256. Reported pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha -- specifically, on commit 6fcda529, where during development I increased the width of a version to 16 bits without changing the type of link_proto.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug80625
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug8062 b/changes/bug8062
new file mode 100644
index 0000000000..805e51ed41
--- /dev/null
+++ b/changes/bug8062
@@ -0,0 +1,5 @@
+ o Minor bugfixes:
+ - Increase the width of the field used to remember a connection's
+ link protocol version to two bytes. Harmless for now, since the
+ only currently recognized versions are one byte long. Reported
+ pseudynmously. Fixes bug 8062, bugfix on 0.2.0.10-alpha.