[or-cvs] r8575: Backport from (as-yet-unpushed) branch: add names for newer (in tor/branches/tor-0_1_1-patches: . src/or)

nickm at seul.org nickm at seul.org
Mon Oct 2 20:10:43 UTC 2006


Author: nickm
Date: 2006-10-02 16:10:41 -0400 (Mon, 02 Oct 2006)
New Revision: 8575

Modified:
   tor/branches/tor-0_1_1-patches/ChangeLog
   tor/branches/tor-0_1_1-patches/src/or/control.c
Log:
Backport from (as-yet-unpushed) branch: add names for newer (svk st) v0 control commands, to avoid possibility of v0-controller-caused crash on systems that freak out on printf("%s",NULL).

Modified: tor/branches/tor-0_1_1-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_1_1-patches/ChangeLog	2006-10-02 18:08:46 UTC (rev 8574)
+++ tor/branches/tor-0_1_1-patches/ChangeLog	2006-10-02 20:10:41 UTC (rev 8575)
@@ -10,6 +10,9 @@
     - We were building exactly the wrong circuits when we anticipated
       hidden service requirements, meaning Tor would have to build all
       its circuits on demand.
+    - Avoid possibility of controller-triggered crash when misusing certain
+      commands from a v0 controller on platforms that do not handle
+      printf("%s",NULL) gracefully.
 
 
 Changes in version 0.1.1.24 - 2006-09-29

Modified: tor/branches/tor-0_1_1-patches/src/or/control.c
===================================================================
--- tor/branches/tor-0_1_1-patches/src/or/control.c	2006-10-02 18:08:46 UTC (rev 8574)
+++ tor/branches/tor-0_1_1-patches/src/or/control.c	2006-10-02 20:10:41 UTC (rev 8575)
@@ -101,6 +101,9 @@
   "postdescriptor",
   "fragmentheader",
   "fragment",
+  "redirectstream",
+  "closestream",
+  "closecircuit",
 };
 
 /** Bitfield: The bit 1&lt;&lt;e is set if <b>any</b> open control



More information about the tor-commits mailing list