From 0a6480cdd00fbed2eba0e5bab6ef82bc809c665b Mon Sep 17 00:00:00 2001 From: Robert Ransom Date: Thu, 13 Sep 2012 07:39:39 -0400 Subject: Avoid undefined behaviour when parsing HS protocol versions Fixes bug 6827; bugfix on c58675ca728f12b42f65e5b8964ae695c2e0ec2d (when the v2 HS desc parser was implemented). Found by asn. --- changes/bug6827 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 changes/bug6827 (limited to 'changes') diff --git a/changes/bug6827 b/changes/bug6827 new file mode 100644 index 0000000000..799c459658 --- /dev/null +++ b/changes/bug6827 @@ -0,0 +1,8 @@ + o Minor bugfixes: + + - Avoid undefined behaviour when parsing the list of supported + rendezvous/introduction protocols in a hidden service + descriptor. Previously, Tor would have confused (as-yet-unused) + protocol version numbers greater than 32 with lower ones on many + platforms. Bugfix on 0.2.0.10-alpha; found by George Kadianakis. + -- cgit v1.2.3-54-g00ecf