]> git.ipfire.org Git - thirdparty/tor.git/commit
Return NULL from extend_info_from_node if the node has no allowed address
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Fri, 22 Jan 2016 06:43:24 +0000 (17:43 +1100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 28 Jan 2016 20:16:32 +0000 (07:16 +1100)
commit1401117ff2bc5fc90df51d19c3c0d7abc439c34e
tree52cabe50fe0e4cf65666de7c3324968f767a2db7
parent77a9de0d48e61e6762e65f6099c9a424544eb0ad
Return NULL from extend_info_from_node if the node has no allowed address

Modify callers to correctly handle these new NULL returns:
* fix assert in onion_extend_cpath
* warn and discard circuit in circuit_get_open_circ_or_launch
* warn, discard circuit, and tell controller in handle_control_extendcircuit
src/or/circuitbuild.c
src/or/circuituse.c
src/or/control.c