diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-18 21:32:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-18 21:32:53 -0500 |
commit | 8b5787ec0d99a130ead302f7c6b4a256325ac08f (patch) | |
tree | ebbd942c9dcbc65d91a443f27810991ca9d118cb /changes/split_addressmap | |
parent | 7a99d26c798a2223c8277e6c358eb76195d18dab (diff) | |
download | tor-8b5787ec0d99a130ead302f7c6b4a256325ac08f.tar tor-8b5787ec0d99a130ead302f7c6b4a256325ac08f.tar.gz |
When there are no dir_server_ts to choose, don't crash
It's important not to call choose_array_element_by_weight and then
pass its return value unchecked to smartlist_get : it is allowed to
return -1.
Fixes bug 7756; bugfix on 4e3d07a6 (not in any released Tor)
Diffstat (limited to 'changes/split_addressmap')
0 files changed, 0 insertions, 0 deletions