git: aacac6436cf1 - 2026Q4 - dns/dnsmasq: Pull in security patch from upstream
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Dec 2026 12:10:23 UTC
The branch 2026Q4 has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aacac6436cf1b055d20b6f2863ea6d6edae2d109
commit aacac6436cf1b055d20b6f2863ea6d6edae2d109
Author: ooonea <ooonea@gmail.com>
AuthorDate: 2026-12-03 12:04:57 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-12-03 12:10:13 +0000
dns/dnsmasq: Pull in security patch from upstream
PR: 301340
Approved by: mandree (maintainer)
(cherry picked from commit 31e9e0dfa7e95120ce5438c3e80dea94992d8f5a)
---
dns/dnsmasq/Makefile | 2 +-
dns/dnsmasq/files/patch-src_rfc3315.c | 14 ++++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile
index af4d4993a84e..8a009e3f61c0 100644
--- a/dns/dnsmasq/Makefile
+++ b/dns/dnsmasq/Makefile
@@ -1,7 +1,7 @@
PORTNAME= dnsmasq
PORTVERSION= 2.93
# Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps:
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= dns
MASTER_SITES= LOCAL/mandree/ \
diff --git a/dns/dnsmasq/files/patch-src_rfc3315.c b/dns/dnsmasq/files/patch-src_rfc3315.c
new file mode 100644
index 000000000000..6b7ef193a363
--- /dev/null
+++ b/dns/dnsmasq/files/patch-src_rfc3315.c
@@ -0,0 +1,14 @@
+Cherry-pick dnsmasq commit a627a7847ffa50eefedfe8cf842522a2c12e36c4.
+CVE-2026-93009.
+
+--- src/rfc3315.c.orig 2026-06-04 11:47:22 UTC
++++ src/rfc3315.c
+@@ -502,7 +502,7 @@ static int dhcp6_no_relay(struct state *state, int msg
+
+ state->fqdn_flags &= ~0x04;
+
+- if (len != 0 && len < 255)
++ if (len >= 1 && len < 255)
+ {
+ unsigned char *pp, *op = opt6_ptr(opt, 1);
+ char *pq = daemon->dhcp_buff;