mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge branch 'maint-0.3.4' into maint-0.3.5
This commit is contained in:
commit
e82023d2f7
3
changes/bug28554
Normal file
3
changes/bug28554
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
o Minor bugfixes (unit tests, guard selection):
|
||||||
|
- Stop leaking memory in an entry guard unit test. Fixes bug 28554;
|
||||||
|
bugfix on 0.3.0.1-alpha.
|
@ -2832,13 +2832,16 @@ test_entry_guard_outdated_dirserver_exclusion(void *arg)
|
|||||||
digests, 3, 7, 0);
|
digests, 3, 7, 0);
|
||||||
|
|
||||||
/* ... and check that because we failed to fetch microdescs from all our
|
/* ... and check that because we failed to fetch microdescs from all our
|
||||||
* primaries, we didnt end up selecting a primary for fetching dir info */
|
* primaries, we didn't end up selecting a primary for fetching dir info */
|
||||||
expect_log_msg_containing("No primary or confirmed guards available.");
|
expect_log_msg_containing("No primary or confirmed guards available.");
|
||||||
teardown_capture_of_logs();
|
teardown_capture_of_logs();
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
UNMOCK(networkstatus_get_latest_consensus_by_flavor);
|
||||||
|
UNMOCK(directory_initiate_request);
|
||||||
smartlist_free(digests);
|
smartlist_free(digests);
|
||||||
|
tor_free(mock_ns_val);
|
||||||
tor_free(args);
|
tor_free(args);
|
||||||
if (conn) {
|
if (conn) {
|
||||||
tor_free(conn->requested_resource);
|
tor_free(conn->requested_resource);
|
||||||
|
Loading…
Reference in New Issue
Block a user