[tor-commits] [tor/master] Fix brown-paper-bag bug in #4759 fix
nickm at torproject.org
nickm at torproject.org
Tue Jan 10 14:31:01 UTC 2012
commit 72ed4a41f5716923ce16d168ad421cc26ab2fbea
Author: Robert Ransom <rransom.8774 at gmail.com>
Date: Mon Jan 9 22:03:04 2012 -0800
Fix brown-paper-bag bug in #4759 fix
Fixes #4883, not yet in any release.
---
src/or/rendclient.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 17c92ab..dff8bc3 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -278,7 +278,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
/* Copy the rendezvous cookie from rendcirc to introcirc, so that
* when introcirc gets an ack, we can change the state of the right
* rendezvous circuit. */
- memcpy(rendcirc->rend_data->rend_cookie, introcirc->rend_data->rend_cookie,
+ memcpy(introcirc->rend_data->rend_cookie, rendcirc->rend_data->rend_cookie,
REND_COOKIE_LEN);
log_info(LD_REND, "Sending an INTRODUCE1 cell");
More information about the tor-commits
mailing list