tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit b93af906c444a71b52105c49239069adf680efad
parent 1ea523c705755df6ed63a4aa0cd548d2990e3fe2
Author: Alexander Færøy <ahf@torproject.org>
Date:   Thu, 14 Oct 2021 19:18:22 +0000

Merge remote-tracking branch 'tor-gitlab/mr/456' into main

Diffstat:
Achanges/ticket40484 | 5+++++
Msrc/feature/hs/hs_config.c | 1+
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/changes/ticket40484 b/changes/ticket40484 @@ -0,0 +1,5 @@ + o Minor bugfixes (onion service, config): + - Fix a memory leak for a small config line string that could occur if the + service failed to be configured from file properly. Fixes bug 40484; + bugfix on 0.3.2.1-alpha. + diff --git a/src/feature/hs/hs_config.c b/src/feature/hs/hs_config.c @@ -640,6 +640,7 @@ hs_config_service_all(const or_options_t *options, int validate_only) int rv = config_service(section, options, new_service_list); config_free_lines(section); if (rv < 0) { + config_free_lines(remaining); goto err; } }