summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-07-22 16:09:11 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-07-22 16:09:11 -0400
commit492625badff5fda089b33debd98b88c1fd092d1b (patch)
treef3d72b84a9d85ed7b4ec24065069b4647170a53a /src/app
parentf0da04bb7b89d6bc4c2da9a3dc954fe60c3b5c0e (diff)
parent053e02a487c7b960dc72717b230a85cd26a28e0b (diff)
downloadtor-492625badff5fda089b33debd98b88c1fd092d1b.tar.gz
tor-492625badff5fda089b33debd98b88c1fd092d1b.zip
Merge branch 'tor-gitlab/mr/74'
Diffstat (limited to 'src/app')
-rw-r--r--src/app/config/resolve_addr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/config/resolve_addr.c b/src/app/config/resolve_addr.c
index 34b33e2887..798c703f0a 100644
--- a/src/app/config/resolve_addr.c
+++ b/src/app/config/resolve_addr.c
@@ -651,6 +651,7 @@ find_my_address(const or_options_t *options, int family, int warn_severity,
tor_assert(addr_out);
/* Set them to NULL for safety reasons. */
+ tor_addr_make_unspec(addr_out);
if (method_out) *method_out = NULL;
if (hostname_out) *hostname_out = NULL;