aboutsummaryrefslogtreecommitdiff
path: root/changes/bug25249.2
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-02-15 09:05:55 -0500
committerNick Mathewson <nickm@torproject.org>2018-03-01 16:05:17 -0500
commit1fe0bae508120bbf4954de6b590dd0c722a883bc (patch)
treedfbadd8c8d1bb8bdf4b56f509cae9baa93396817 /changes/bug25249.2
parent8b405c609e82fbfb5470967fc4c45165c708e72b (diff)
downloadtor-1fe0bae508120bbf4954de6b590dd0c722a883bc.tar.gz
tor-1fe0bae508120bbf4954de6b590dd0c722a883bc.zip
Forbid UINT32_MAX as a protocol version
The C code and the rust code had different separate integer overflow bugs here. That suggests that we're better off just forbidding this pathological case. Also, add tests for expected behavior on receiving a bad protocol list in a consensus. Fixes another part of 25249.
Diffstat (limited to 'changes/bug25249.2')
-rw-r--r--changes/bug25249.23
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug25249.2 b/changes/bug25249.2
new file mode 100644
index 0000000000..9058c11071
--- /dev/null
+++ b/changes/bug25249.2
@@ -0,0 +1,3 @@
+ o Minor bugfixes (spec conformance):
+ - Forbid UINT32_MAX as a protocol version. Fixes part of bug 25249;
+ bugfix on 0.2.9.4-alpha.