Browse Source

Make the warnings about restarting tor in-process more scary.

Nick Mathewson 6 years ago
parent
commit
18ea91ee6b
2 changed files with 4 additions and 3 deletions
  1. 2 1
      changes/bug24581
  2. 2 2
      src/or/tor_api.h

+ 2 - 1
changes/bug24581

@@ -3,5 +3,6 @@
       Controllers that run Tor using the "tor_api.h" interface can now
       Controllers that run Tor using the "tor_api.h" interface can now
       restart Tor after Tor has exited. This support is incomplete, however:
       restart Tor after Tor has exited. This support is incomplete, however:
       we have fixed the crash bugs that prevented it from working at all
       we have fixed the crash bugs that prevented it from working at all
-      before, but many bugs probably remain. Implements ticket 24581.
+      before, but many bugs probably remain, including the possibility of
+      security issues. Implements ticket 24581.
 
 

+ 2 - 2
src/or/tor_api.h

@@ -72,8 +72,8 @@ void tor_main_configuration_free(tor_main_configuration_t *cfg);
  *
  *
  * BUG 23847: You can only call tor_main() once in a single process; if it
  * BUG 23847: You can only call tor_main() once in a single process; if it
  * returns and you call it again, you may crash, or you may encounter other
  * returns and you call it again, you may crash, or you may encounter other
- * unexpected behavior.  This is not intended long-term behavior; we are
- * trying to fix it.
+ * unexpected behavior, including possible security issues.  This is not
+ * intended long-term behavior; we are trying to fix it.
  *
  *
  * LIMITATION: You cannot run more than one instance of Tor in the same
  * LIMITATION: You cannot run more than one instance of Tor in the same
  * process at the same time. Concurrent calls will cause undefined behavior.
  * process at the same time. Concurrent calls will cause undefined behavior.