[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r14432: Backport: Free baddir and badexit policy lists on exit. fixe (in tor/branches/tor-0_2_0-patches: . src/or)
Author: nickm
Date: 2008-04-23 16:48:14 -0400 (Wed, 23 Apr 2008)
New Revision: 14432
Modified:
tor/branches/tor-0_2_0-patches/
tor/branches/tor-0_2_0-patches/ChangeLog
tor/branches/tor-0_2_0-patches/src/or/policies.c
Log:
r15309@tombo: nickm | 2008-04-23 16:47:17 -0400
Backport: Free baddir and badexit policy lists on exit. fixes bug 672. only affects authorities.
Property changes on: tor/branches/tor-0_2_0-patches
___________________________________________________________________
svk:merge ticket from /tor/020 [r15309] on 49666b30-7950-49c5-bedf-9dc8f3168102
Modified: tor/branches/tor-0_2_0-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_2_0-patches/ChangeLog 2008-04-23 20:47:53 UTC (rev 14431)
+++ tor/branches/tor-0_2_0-patches/ChangeLog 2008-04-23 20:48:14 UTC (rev 14432)
@@ -4,7 +4,11 @@
Otherwise, many BSD-family implementations will crash hard on
startup. Fixes bug 671. Bugfix on 0.2.0.24-rc.
+ o Minor bugfixes
+ - Authorities correctly free policies on bad servers on
+ exit. Fixes bug 672.
+
Changes in version 0.2.0.24-rc - 2008-04-22
o New directory authorities:
- Take lefkada out of the list of v3 directory authorities, since
Modified: tor/branches/tor-0_2_0-patches/src/or/policies.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/policies.c 2008-04-23 20:47:53 UTC (rev 14431)
+++ tor/branches/tor-0_2_0-patches/src/or/policies.c 2008-04-23 20:48:14 UTC (rev 14432)
@@ -922,6 +922,10 @@
authdir_reject_policy = NULL;
addr_policy_list_free(authdir_invalid_policy);
authdir_invalid_policy = NULL;
+ addr_policy_list_free(authdir_baddir_policy);
+ authdir_baddir_policy = NULL;
+ addr_policy_list_free(authdir_badexit_policy);
+ authdir_badexit_policy = NULL;
if (!HT_EMPTY(&policy_root))
log_warn(LD_MM, "Still had some address policies cached at shutdown.");