From c57c39833e5fce6c312bc70b329e42dd261fb9fc Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Mon, 1 Sep 2025 09:28:29 +0200 Subject: [PATCH] - Fix for #1324: Fix to free edns options scratch in ratelimit case. --- daemon/worker.c | 1 + doc/Changelog | 3 +++ 2 files changed, 4 insertions(+) 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 -- 2.47.3