From c7056071226e6ca0c89f4b70ee26bd2105b73835 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Mon, 6 Apr 2026 21:35:51 +0100 Subject: [PATCH] Fix problen in from_wire() when names contain escape chars. Thanks to Royce M for spotting this. --- src/rrfilter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rrfilter.c b/src/rrfilter.c index 2442df2..87486af 100644 --- a/src/rrfilter.c +++ b/src/rrfilter.c @@ -394,6 +394,7 @@ void from_wire(char *name) if (IS_NAME_ESCAPE(c)) { memmove(p+1, p, 1 + last - p); + last++; len++; *p++ = NAME_ESCAPE; (*p)++;