]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix memory leak in decode_link_specifiers().
authorAlexander Færøy <ahf@torproject.org>
Sat, 23 Jun 2018 09:54:36 +0000 (11:54 +0200)
committerAlexander Færøy <ahf@torproject.org>
Sat, 23 Jun 2018 09:54:36 +0000 (11:54 +0200)
commit3d80c086bea3b0d93327c30ac620740b629cb294
tree21d11f13454a9591b28a6b70c4337db405174905
parentb39c50cde8b1d7e3e27d5a6fc2e58ff208982637
Fix memory leak in decode_link_specifiers().

This patch fixes a memory leak in decode_link_specifiers() where the
hs_spec variable might leak if the default label is taken in the
switch/case expression.

See: Coverity CID 1437437.
src/or/hs_descriptor.c