diff options
author | David Goulet <dgoulet@torproject.org> | 2020-06-24 08:53:52 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-06-24 13:51:37 -0400 |
commit | 25a451bac748fd01498d3b851d4f1a5e556eaf32 (patch) | |
tree | 460d744c55399d34bf360a8eb4b2a763e713a964 /src/app/config/config.h | |
parent | 5895aafe7ed86bded4c5a597113a616db7c0a44f (diff) | |
download | tor-25a451bac748fd01498d3b851d4f1a5e556eaf32.tar.gz tor-25a451bac748fd01498d3b851d4f1a5e556eaf32.zip |
addr: Set out parameters to NULL in resolve_addr.c
By doing this, a memory leak was found with "hostname_used" that could have
been overwritten by another function.
This commit changes that by making it a NULL string instead.
Found by nickm's review.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/app/config/config.h')
0 files changed, 0 insertions, 0 deletions