mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Try silencing Coverity false positive CID 1441482
Bugfix on 469f47ef8dc8b18104108f0437c860ec88fca6ad; bug not in any released Tor version.
This commit is contained in:
parent
3741f9e524
commit
e92f900191
@ -399,6 +399,7 @@ memoize_protover_summary(protover_summary_flags_t *out,
|
|||||||
|
|
||||||
if (strmap_size(protover_summary_map) >= MAX_PROTOVER_SUMMARY_MAP_LEN) {
|
if (strmap_size(protover_summary_map) >= MAX_PROTOVER_SUMMARY_MAP_LEN) {
|
||||||
protover_summary_cache_free_all();
|
protover_summary_cache_free_all();
|
||||||
|
tor_assert(protover_summary_map == NULL);
|
||||||
protover_summary_map = strmap_new();
|
protover_summary_map = strmap_new();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user