]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix an always-true assert in PT code.
authorGeorge Kadianakis <desnacked@riseup.net>
Tue, 29 Oct 2013 22:49:37 +0000 (22:49 +0000)
committerGeorge Kadianakis <desnacked@riseup.net>
Tue, 29 Oct 2013 22:49:37 +0000 (22:49 +0000)
changes/bug10046 [new file with mode: 0644]
src/or/transports.c

diff --git a/changes/bug10046 b/changes/bug10046
new file mode 100644 (file)
index 0000000..b2f545e
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes:
+    - Fix an always-true assertion in pluggable transports code. Fixes
+      issue 10046. Found by dcb.
index f9499eb6d840fc31cef598446a46a1c64b7255b8..8b4a11882be5b5b5773b59948155feaad31f7a48 100644 (file)
@@ -552,7 +552,7 @@ pt_configure_remaining_proxies(void)
   assert_unconfigured_count_ok();
 
   SMARTLIST_FOREACH_BEGIN(tmp,  managed_proxy_t *, mp) {
-    tor_assert(mp->conf_state != PT_PROTO_BROKEN ||
+    tor_assert(mp->conf_state != PT_PROTO_BROKEN &&
                mp->conf_state != PT_PROTO_FAILED_LAUNCH);
 
     if (mp->got_hup) {