commit d377f98a50d6ecaa32dbe09637d64b860913513d
parent 25595016f0522f4bd58259ad53c96023515ffa3a
Author: David Goulet <dgoulet@torproject.org>
Date: Mon, 15 Dec 2025 17:03:27 +0000
Merge branch 'ticket_41182' into 'main'
Fix a false positive from valgrind
Closes #41182
See merge request tpo/core/tor!963
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/changes/bug41182 b/changes/bug41182
@@ -0,0 +1,4 @@
+ o Minor bugfixes (tooling):
+ - Fix a false positive valgrind related to inspecting
+ a bitfield next to another uninitialized bitfield.
+ Fixes bug 41182; bugfix on 0.3.3.2-alpha.
diff --git a/src/feature/stats/geoip_stats.c b/src/feature/stats/geoip_stats.c
@@ -305,6 +305,7 @@ geoip_lookup_client(const tor_addr_t *addr, const char *transport_name,
geoip_client_action_t action)
{
clientmap_entry_t lookup;
+ memset(&lookup, 0, sizeof(lookup));
tor_assert(addr);