Don't choose exit nodes without desc available
commit47a2e5a9ce4b9324931781c76f3aa11f4d9ea0a2
authorSebastian Hahn <sebastian@torproject.org>
Sat, 30 Apr 2011 11:27:47 +0000 (30 13:27 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Sat, 30 Apr 2011 20:03:51 +0000 (30 22:03 +0200)
tree500c943640496c4869817d8ee3603e75c6673ccc
parent751e40805556fadec616aa79150f12e3bf87c46b
Don't choose exit nodes without desc available

n_supported[i] has a random value prior to initialization, so a node
that doesn't have routerinfo available can have a random priority.

Patch contributed by wanoskarnet from #tor. Thanks!
src/or/circuitbuild.c