Browse Source

r13174@catbus: nickm | 2007-06-03 17:39:20 -0400
Patch from robert hogan: avoid crash when DNS port is set more than once.


svn:r10471

Nick Mathewson 17 years ago
parent
commit
147e439c94
2 changed files with 7 additions and 0 deletions
  1. 6 0
      ChangeLog
  2. 1 0
      src/or/connection.c

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+Changes in version 0.2.0.3-alpha - 2007-??-??
+  o Minor bugfixes ():
+    - Fix a crash when DNSPort is set more than once. (Patch from Robert
+      Hogan.)
+
+
 Changes in version 0.2.0.2-alpha - 2007-06-02
   o Major bugfixes on 0.2.0.1-alpha:
     - Fix an assertion failure related to servers without extra-info digests.

+ 1 - 0
src/or/connection.c

@@ -2642,6 +2642,7 @@ assert_connection_ok(connection_t *conn, time_t now)
     case CONN_TYPE_AP_NATD_LISTENER:
     case CONN_TYPE_DIR_LISTENER:
     case CONN_TYPE_CONTROL_LISTENER:
+    case CONN_TYPE_AP_DNS_LISTENER:
       tor_assert(conn->state == LISTENER_STATE_READY);
       break;
     case CONN_TYPE_OR: