[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Resolve stack corruption identified by edmanw in connection...
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv28460/src/or
Modified Files:
connection_edge.c
Log Message:
Resolve stack corruption identified by edmanw in connection_edge_end(). Thanks!
Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.345
retrieving revision 1.346
diff -u -d -r1.345 -r1.346
--- connection_edge.c 3 Sep 2005 02:23:53 -0000 1.345
+++ connection_edge.c 12 Sep 2005 20:57:16 -0000 1.346
@@ -173,7 +173,7 @@
int
connection_edge_end(connection_t *conn, char reason, crypt_path_t *cpath_layer)
{
- char payload[5];
+ char payload[9];
size_t payload_len=1;
circuit_t *circ;