summaryrefslogtreecommitdiff
path: root/src/test/test_nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-06-25 11:10:43 -0400
committerNick Mathewson <nickm@torproject.org>2015-06-25 11:10:43 -0400
commit68eaaed7982b63abedfcfba33f7e2656c68e3e4a (patch)
treee42a25dde274264a3caf9fe121f733a31687a3c8 /src/test/test_nodelist.c
parent75388f67c07d1a48c6fb9c5d1c4441ab66b644c0 (diff)
downloadtor-68eaaed7982b63abedfcfba33f7e2656c68e3e4a.tar.gz
tor-68eaaed7982b63abedfcfba33f7e2656c68e3e4a.zip
Avoid crashing on busy/NEWNYM+hidden service clients
When we ran out of intro points for a hidden service (which could happen on a newnym), we would change the connection's state back to "waiting for hidden service descriptor." But this would make an assertion fail if we went on to call circuit_get_open_circ_or_launch again. This fixes bug 16013; I believe the bug was introduced in 38be533c69417aacf28cedec1c3bae808ce29f4, where we made it possible for circuit_get_open_circ_or_launch() to change the connection's state.
Diffstat (limited to 'src/test/test_nodelist.c')
0 files changed, 0 insertions, 0 deletions