From: W.C.A. Wijngaards Date: Mon, 1 Sep 2025 07:28:29 +0000 (+0200) Subject: - Fix for #1324: Fix to free edns options scratch in ratelimit case. X-Git-Tag: release-1.24.0rc1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c57c39833e5fce6c312bc70b329e42dd261fb9fc;p=thirdparty%2Funbound.git - Fix for #1324: Fix to free edns options scratch in ratelimit case. --- diff --git a/daemon/worker.c b/daemon/worker.c index 1cc094c36..8e4a9b3d6 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -1707,6 +1707,7 @@ worker_handle_request(struct comm_point* c, void* arg, int error, repinfo->client_addrlen, edns.cookie_valid, c->buffer)) { worker->stats.num_queries_ip_ratelimited++; + regional_free_all(worker->scratchpad); comm_point_drop_reply(repinfo); return 0; } diff --git a/doc/Changelog b/doc/Changelog index 214e69484..0ae904303 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +1 September 2025: Wouter + - Fix for #1324: Fix to free edns options scratch in ratelimit case. + 29 August 2025: Yorgos - Limit the number of consecutive reads on an HTTP/2 session. Thanks to Gal Bar Nahum for exposing the possibility of infinite