From: Roger Dingledine Date: Thu, 13 May 2004 07:44:21 +0000 (+0000) Subject: assert_cpath_ok has always been broken X-Git-Tag: debian-version-0.0.6.2-1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7815e85a79d752d2460b18884c0db859c0d0a18;p=thirdparty%2Ftor.git assert_cpath_ok has always been broken re-disable it. svn:r1864 --- diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 33066cf743..81926e8e36 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -423,6 +423,7 @@ static void { while(cp->prev) cp = cp->prev; + //XXX this is broken. cp is a doubly linked list. while(cp->next) { assert_cpath_layer_ok(cp); @@ -478,7 +479,8 @@ void assert_circuit_ok(const circuit_t *c) } } if (c->cpath) { - assert_cpath_ok(c->cpath); +// assert_cpath_ok(c->cpath); +// XXX the above call causes an infinite loop. } if (c->purpose == CIRCUIT_PURPOSE_REND_ESTABLISHED) { if (!c->marked_for_close) {