[or-cvs] fix a seg fault (whoops)

Roger Dingledine arma at seul.org
Fri Apr 30 16:35:50 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	rendservice.c 
Log Message:
fix a seg fault (whoops)


Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendservice.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- rendservice.c	28 Apr 2004 20:13:21 -0000	1.60
+++ rendservice.c	30 Apr 2004 16:35:48 -0000	1.61
@@ -492,7 +492,7 @@
 
   memcpy(newcirc->rend_query, oldcirc->rend_query, REND_SERVICE_ID_LEN+1);
   memcpy(newcirc->rend_pk_digest, oldcirc->rend_pk_digest, DIGEST_LEN);
-  memcpy(newcirc->rend_splice, oldcirc->rend_splice, REND_COOKIE_LEN);
+  memcpy(newcirc->rend_cookie, oldcirc->rend_cookie, REND_COOKIE_LEN);
 }
 
 /* Launch a circuit to serve as an introduction point.



More information about the tor-commits mailing list