diff options
author | Taylor Yu <catalyst@torproject.org> | 2017-05-11 12:55:18 -0400 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2017-05-11 13:06:45 -0400 |
commit | 61a367cadd235dacf3cdc5543ba261dfee66f5d4 (patch) | |
tree | e274af89e7d77b5bb09976f7ba573dc849758364 /src/or/hs_common.c | |
parent | 99056595735ff7fcfc4012c009381d69ae6b4afc (diff) | |
download | tor-61a367cadd235dacf3cdc5543ba261dfee66f5d4.tar.gz tor-61a367cadd235dacf3cdc5543ba261dfee66f5d4.zip |
Untangle cleanup logic in test_hs_intropoint.c
Cleanup logic in test_intro_point_registration() invoked tt_assert()
in a way that could cause it to jump backward into the cleanup code if
the assertion failed, causing Coverity to see a double free (CID
1397192). Move the tt_assert() calls into a helper function having
the well-defined task of testing hs_circuitmap_free_all().
Fixes #22231.
Diffstat (limited to 'src/or/hs_common.c')
0 files changed, 0 insertions, 0 deletions