summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-15 14:15:19 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-15 14:15:19 -0500
commita7790d48af73760a2ae10fcff70b319914316b90 (patch)
tree7aaecb7dfc8b339741d261bcbaa7ebcfcffbbeb4 /src/or/rendclient.c
parent1393985768d760e11e45faabb537d28248306e8b (diff)
parentef6fa07e4830dde86fce2d06bf9da44d5c1c79b9 (diff)
downloadtor-a7790d48af73760a2ae10fcff70b319914316b90.tar.gz
tor-a7790d48af73760a2ae10fcff70b319914316b90.zip
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index b8526b676d..1306fe0710 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -673,8 +673,10 @@ rend_client_receive_rendezvous(origin_circuit_t *circ, const uint8_t *request,
* attach only the connections that are waiting on this circuit, rather
* than trying to attach them all. See comments bug 743. */
connection_ap_attach_pending();
+ memset(keys, 0, sizeof(keys));
return 0;
err:
+ memset(keys, 0, sizeof(keys));
circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_TORPROTOCOL);
return -1;
}