fix race condition that can cause crashes at client or exit relay
commita89f51c936f8bd3c2aef3e9472d5310c83dc8fa7
authorRoger Dingledine <arma@torproject.org>
Mon, 23 Nov 2009 15:13:50 +0000 (23 10:13 -0500)
committerRoger Dingledine <arma@torproject.org>
Mon, 23 Nov 2009 15:13:50 +0000 (23 10:13 -0500)
tree60ccea3b5df380caa39dd34c35a9bd3eee27971e
parent0656c12b077f1241ca9b3b471b3d5f1b34dead94
fix race condition that can cause crashes at client or exit relay

Avoid crashing if the client is trying to upload many bytes and the
circuit gets torn down at the same time, or if the flip side
happens on the exit relay. Bugfix on 0.2.0.1-alpha; fixes bug 1150.
ChangeLog
src/or/circuitlist.c