[or-cvs] r16462: {tor} Add a missing safe_str for a debug_log_message. Fix the bad (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Thu Aug 7 20:06:40 UTC 2008


Author: nickm
Date: 2008-08-07 16:06:40 -0400 (Thu, 07 Aug 2008)
New Revision: 16462

Modified:
   tor/trunk/
   tor/trunk/ChangeLog
   tor/trunk/src/or/connection_or.c
Log:
 r17680 at tombo:  nickm | 2008-08-07 16:06:30 -0400
 Add a missing safe_str for a debug_log_message.  Fix the bad part of bug 674.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r17680] on 49666b30-7950-49c5-bedf-9dc8f3168102

Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2008-08-07 19:41:54 UTC (rev 16461)
+++ tor/trunk/ChangeLog	2008-08-07 20:06:40 UTC (rev 16462)
@@ -13,6 +13,7 @@
       Christopher Davis.  Bugfix on 0.1.2.1-alpha.
     - Correctly detect the presence of the linux/netfilter_ipv4.h header
       when building against recent kernels.  Bugfix on 0.1.2.1-alpha.
+    - Add a missing safe_str() call for a debug log message.
 
 
 Changes in version 0.2.1.4-alpha - 2008-08-04

Modified: tor/trunk/src/or/connection_or.c
===================================================================
--- tor/trunk/src/or/connection_or.c	2008-08-07 19:41:54 UTC (rev 16461)
+++ tor/trunk/src/or/connection_or.c	2008-08-07 20:06:40 UTC (rev 16462)
@@ -837,7 +837,7 @@
   int started_here = connection_or_nonopen_was_started_here(conn);
 
   log_debug(LD_OR,"tls handshake with %s done. verifying.",
-            conn->_base.address);
+            safe_str(conn->_base.address));
 
   directory_set_dirty();
 



More information about the tor-commits mailing list