aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/versions.c
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-11-26 17:32:29 +0200
committerrl1987 <rl1987@sdf.lonestar.org>2018-11-26 17:35:32 +0200
commite92f90019145c09fd8b1292b0198db1c2ba3a9b5 (patch)
treedd076d70598086129f3335cd99bf655364cc11b2 /src/core/or/versions.c
parent3741f9e524a2d3bd7239ca865d6169fd1e3dddb5 (diff)
downloadtor-e92f90019145c09fd8b1292b0198db1c2ba3a9b5.tar.gz
tor-e92f90019145c09fd8b1292b0198db1c2ba3a9b5.zip
Try silencing Coverity false positive CID 1441482
Bugfix on 469f47ef8dc8b18104108f0437c860ec88fca6ad; bug not in any released Tor version.
Diffstat (limited to 'src/core/or/versions.c')
-rw-r--r--src/core/or/versions.c1
1 files changed, 1 insertions, 0 deletions
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();
}