diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-22 08:54:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-05-22 08:54:17 -0400 |
commit | 6c35ad08cf36d36a5e2ff888cb7dc8c8df5efe10 (patch) | |
tree | a4651335f65dfcc37418332f5571ff5af15a24b9 /src/or/circuitbuild.c | |
parent | d3a972561aeb38d7b346be1826054c60bf3adfaa (diff) | |
download | tor-6c35ad08cf36d36a5e2ff888cb7dc8c8df5efe10.tar.gz tor-6c35ad08cf36d36a5e2ff888cb7dc8c8df5efe10.zip |
Add a missing "return -1" when checking for Ed25519 ID loops
Fixes bug 26158; bugfix on 0.3.0.1-alpha.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 16cef0e56b..41ae51a3f2 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1267,6 +1267,7 @@ circuit_extend(cell_t *cell, circuit_t *circ) log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL, "Client asked me to extend back to the previous hop " "(by Ed25519 ID)."); + return -1; } n_chan = channel_get_for_extend((const char*)ec.node_id, |