]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix analyzer warning in mesh_new_client.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 May 2026 14:03:15 +0000 (16:03 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 May 2026 14:03:15 +0000 (16:03 +0200)
doc/Changelog
services/mesh.c

index 7af325a4a7b00410bc8692186f5f63dd69a4ec5b..8da65418d917fc1aa5aa76a1b8d95f9e3f7c9e7c 100644 (file)
@@ -30,6 +30,7 @@
        - Fix that validator caps number of ANY RRsets it can
          validate, and the wait timer is shortened. Thanks to Qifan
          Zhang, Palo Alto Networks, for the report.
+       - Fix analyzer warning in mesh_new_client.
 
 26 May 2026: Wouter
        - Fix for mesh new client and mesh new callback to rollback the
index ef7a5aad713669174d671aafdadc106936a2db1b..5cb2cba4b689341e40d6db2175e1cc76a1f218fb 100644 (file)
@@ -610,7 +610,8 @@ void mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo,
                }
        }
 #endif
-       added_reply_without_accounting = 0;
+       /* Since the acccounting now happens,
+        * added_reply_without_accounting = 0;   but that is not used. */
        infra_wait_limit_inc(mesh->env->infra_cache, rep, *mesh->env->now,
                mesh->env->cfg);
        /* update statistics */