aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-14 21:51:30 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-14 21:51:30 -0400
commitb2106956e0adc0382f033e1a6cd0896a24122d05 (patch)
tree6e0a831de91af8ac6df861d3cdbc20760326db6e /src
parent75b4975d7722d9497847fdab8dcfb2ac10f58fdb (diff)
downloadtor-b2106956e0adc0382f033e1a6cd0896a24122d05.tar
tor-b2106956e0adc0382f033e1a6cd0896a24122d05.tar.gz
Don't send uninitialized stack to the controller and say it's a date.
Fixes bug 11519, apparently bugfix on 0.2.3.11-alpha.
Diffstat (limited to 'src')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index ade4224fe..7218ecc07 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1310,7 +1310,7 @@ circuit_launch_by_extend_info(uint8_t purpose,
circ = circuit_find_to_cannibalize(purpose, extend_info, flags);
if (circ) {
uint8_t old_purpose = circ->_base.purpose;
- struct timeval old_timestamp_created;
+ struct timeval old_timestamp_created = circ->_base.timestamp_created;
log_info(LD_CIRC,"Cannibalizing circ '%s' for purpose %d (%s)",
build_state_get_exit_nickname(circ->build_state), purpose,