Browse Source

Try silencing Coverity false positive CID 1441482

Bugfix on 469f47ef8dc8b18104108f0437c860ec88fca6ad; bug not in any released
Tor version.
rl1987 5 years ago
parent
commit
e92f900191
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/or/versions.c

+ 1 - 0
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();
   }