[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Always initialize hexid in rend_mid_rendezvous, no matter w...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Always initialize hexid in rend_mid_rendezvous, no matter w...
- From: nickm@seul.org (Nick Mathewson)
- Date: Fri, 6 Aug 2004 21:12:06 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 06 Aug 2004 21:12:20 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv13757/src/or
Modified Files:
rendmid.c
Log Message:
Always initialize hexid in rend_mid_rendezvous, no matter what
Index: rendmid.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendmid.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- rendmid.c 7 Aug 2004 01:03:33 -0000 1.24
+++ rendmid.c 7 Aug 2004 01:12:04 -0000 1.25
@@ -229,8 +229,9 @@
circuit_t *rend_circ;
char hexid[9];
+ base16_encode(hexid,9,request,request_len<4?request_len:4);
+
if (request_len>=4) {
- base16_encode(hexid,9,request,4);
log_fn(LOG_INFO, "Got request for rendezvous from circuit %d to cookie %s",
circ->p_circ_id, hexid);
}