diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-12 20:57:16 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-12 20:57:16 +0000 |
commit | 93c1d37d5f8baaf758df338052ccfaa43f665793 (patch) | |
tree | 1759fc198e7358b06f9cf0b73d3ae11fbe25bb43 /src | |
parent | 2939b18935b63d344c0e747ce7ec300cb6bcdcbf (diff) | |
download | tor-93c1d37d5f8baaf758df338052ccfaa43f665793.tar.gz tor-93c1d37d5f8baaf758df338052ccfaa43f665793.zip |
Resolve stack corruption identified by edmanw in connection_edge_end(). Thanks!
svn:r5020
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |