From e92f90019145c09fd8b1292b0198db1c2ba3a9b5 Mon Sep 17 00:00:00 2001 From: rl1987 Date: Mon, 26 Nov 2018 17:32:29 +0200 Subject: [PATCH] Try silencing Coverity false positive CID 1441482 Bugfix on 469f47ef8dc8b18104108f0437c860ec88fca6ad; bug not in any released Tor version. --- src/core/or/versions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/or/versions.c b/src/core/or/versions.c index 5d4effcaf8..a1336c7a78 100644 --- a/src/core/or/versions.c +++ b/src/core/or/versions.c @@ -399,6 +399,7 @@ memoize_protover_summary(protover_summary_flags_t *out, if (strmap_size(protover_summary_map) >= MAX_PROTOVER_SUMMARY_MAP_LEN) { protover_summary_cache_free_all(); + tor_assert(protover_summary_map == NULL); protover_summary_map = strmap_new(); }