]> git.ipfire.org Git - thirdparty/tor.git/commit
Avoid crashing on busy/NEWNYM+hidden service clients
authorNick Mathewson <nickm@torproject.org>
Thu, 25 Jun 2015 15:10:43 +0000 (11:10 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 25 Jun 2015 15:10:43 +0000 (11:10 -0400)
commit68eaaed7982b63abedfcfba33f7e2656c68e3e4a
treee42a25dde274264a3caf9fe121f733a31687a3c8
parent75388f67c07d1a48c6fb9c5d1c4441ab66b644c0
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.
changes/bug16013 [new file with mode: 0644]
src/or/circuituse.c