- Fix that msgencode insert_query has the correct assertion,

for a local_alias. Thanks to Qifan Zhang, Palo Alto Networks,
  for the report.
This commit is contained in:
W.C.A. Wijngaards
2026-05-27 12:20:04 +02:00
parent 758c649611
commit fbbe95ba5b
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -7,6 +7,9 @@
- Fix that the ratelimit is decremented on successful
referrals. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
- Fix that msgencode insert_query has the correct assertion,
for a local_alias. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
26 May 2026: Wouter
- Fix for mesh new client and mesh new callback to rollback the
+1 -1
View File
@@ -634,7 +634,7 @@ insert_query(struct query_info* qinfo, struct compress_tree_node** tree,
size_t qname_len = qinfo->local_alias ?
qinfo->local_alias->rrset->rk.dname_len : qinfo->qname_len;
if(sldns_buffer_remaining(buffer) <
qinfo->qname_len+sizeof(uint16_t)*2)
qname_len+sizeof(uint16_t)*2)
return RETVAL_TRUNC; /* buffer too small */
/* the query is the first name inserted into the tree */
if(!compress_tree_store(qname, dname_count_labels(qname),