From 93c1d37d5f8baaf758df338052ccfaa43f665793 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 12 Sep 2005 20:57:16 +0000 Subject: Resolve stack corruption identified by edmanw in connection_edge_end(). Thanks! svn:r5020 --- src/or/connection_edge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 737c3b6b59..14dc56aba4 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -173,7 +173,7 @@ connection_edge_destroy(uint16_t circ_id, connection_t *conn) 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; -- cgit v1.2.3-54-g00ecf