]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Increase the pathbias state file miscounting version check.
authorMike Perry <mikeperry-git@fscked.org>
Wed, 24 Apr 2013 00:53:53 +0000 (17:53 -0700)
committerNick Mathewson <nickm@torproject.org>
Thu, 25 Apr 2013 02:03:03 +0000 (22:03 -0400)
We now know the bug is present in 0.2.4.12-alpha too. It should be fixed in
0.2.4.13-alpha, though.

src/or/entrynodes.c

index 3234f4f3c7bae64487ea6c679359f2f610db7fc7..7a1f67d16ab18878d51d54022484e400b101127e 100644 (file)
@@ -1215,7 +1215,7 @@ entry_guards_parse_state(or_state_t *state, int set, char **msg)
         int severity = LOG_INFO;
         /* If this state file was written by a Tor that would have
          * already fixed it, then the overcounting bug is still there.. */
-        if (tor_version_as_new_as(state_version, "0.2.4.12-alpha")) {
+        if (tor_version_as_new_as(state_version, "0.2.4.13-alpha")) {
           severity = LOG_NOTICE;
         }
         log_fn(severity, LD_BUG,
@@ -1280,7 +1280,7 @@ entry_guards_parse_state(or_state_t *state, int set, char **msg)
         int severity = LOG_INFO;
         /* If this state file was written by a Tor that would have
          * already fixed it, then the overcounting bug is still there.. */
-        if (tor_version_as_new_as(state_version, "0.2.4.12-alpha")) {
+        if (tor_version_as_new_as(state_version, "0.2.4.13-alpha")) {
           severity = LOG_NOTICE;
         }
         log_fn(severity, LD_BUG,