]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix trim of EDE text from large udp responses from spinning cpu.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 22 Feb 2024 15:22:31 +0000 (16:22 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 22 Feb 2024 15:22:31 +0000 (16:22 +0100)
doc/Changelog
util/data/msgencode.c

index 88c9dbb336a4972aee15d393d764ff893d276799..08964afbcfb1ab2a5db1e48f12b850e2ff5860fd 100644 (file)
@@ -1,3 +1,6 @@
+22 February 2024: Wouter
+       - Fix trim of EDE text from large udp responses from spinning cpu.
+
 20 February 2024: Yorgos
        - Merge #1010: Mention REFUSED has the TC bit set with unmatched
          allow_cookie acl in the manpage. It also fixes the code to match the
index 80ae33a386617df1cda76e19706b2838c6726112..898ff8412a4ef42bd651574113268f7129df70d8 100644 (file)
@@ -886,6 +886,9 @@ ede_trim_text(struct edns_option** list)
                                curr->opt_len = 2;
                                prev = curr;
                                curr = curr->next;
+                       } else {
+                               prev = curr;
+                               curr = curr->next;
                        }
                } else {
                        /* continue */