diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-10-04 23:51:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-04 23:51:30 -0400 |
commit | 4080d9b0fa9dd4cab903599d6f7f3ed0785e2420 (patch) | |
tree | 54fe163d4141fd910a3b3cd73b08ffc528fdd053 /src/or/circuituse.c | |
parent | 9edd85aa4cb019499294b4c378961be8e42bcefe (diff) | |
download | tor-4080d9b0fa9dd4cab903599d6f7f3ed0785e2420.tar.gz tor-4080d9b0fa9dd4cab903599d6f7f3ed0785e2420.zip |
Fix a couple more node_t-related nullpointer bugs
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index ca156d43c9..399fc28904 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -1313,7 +1313,7 @@ circuit_get_open_circ_or_launch(edge_connection_t *conn, const node_t *r; int opt = conn->chosen_exit_optional; r = node_get_by_nickname(conn->chosen_exit_name, 1); - if (r) { + if (r && node_has_descriptor(r)) { extend_info = extend_info_from_node(r); } else { log_debug(LD_DIR, "considering %d, %s", |