]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix potential memory leak in hs_helper_build_intro_point().
authorAlexander Færøy <ahf@torproject.org>
Fri, 22 Jun 2018 22:44:33 +0000 (00:44 +0200)
committerAlexander Færøy <ahf@torproject.org>
Sat, 23 Jun 2018 00:29:54 +0000 (02:29 +0200)
commit8c8941eb297a166aa7b1b915a543bf97b3a63039
tree4dbf7ca6dd2664fd92e25ca25415c172daafb04e
parent340fcc7e2e1c1c78bb03c997601bf57bde9bf8e6
Fix potential memory leak in hs_helper_build_intro_point().

This patch fixes a potential memory leak in
hs_helper_build_intro_point() where a `goto done` is called before the
`intro_point` variable have been assigned to the value of the `ip`
variable.

See: Coverity CID 1437460
See: Coverity CID 1437456
src/test/hs_test_helpers.c