config: Make parse_outbound_addresses() return failures

The function was never returning an error code on failure to parse the
OutboundAddress* options.

In the process, it was making our test_options_validate__outbound_addresses()
not test the right thing.

Fixes #23366

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet
2017-08-31 08:29:09 -04:00
parent 209bfe715c
commit 651629cbdf
3 changed files with 27 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (test):
- Fix a broken OutboundAddress option unit test because the parsing
function was never returning an error on failure. Fixes bug #23366.;
bugfix on tor-0.3.0.3-alpha.