Преглед изворни кода

wait a minute, weasel said there was a memory-stomping bug here
let's see if we find it


svn:r1639

Roger Dingledine пре 21 година
родитељ
комит
359c1fb9aa
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/or/connection_edge.c

+ 2 - 0
src/or/connection_edge.c

@@ -950,6 +950,8 @@ int connection_ap_handshake_attach_circuit(connection_t *conn) {
         }
         rendcirc->timestamp_dirty = time(NULL);
         introcirc->timestamp_dirty = time(NULL);
+        assert_circuit_ok(rendcirc);
+        assert_circuit_ok(introcirc);
         return 0;
       }
     }