From cf08eeee12b0f76a1259736c7795bfae82e08d2c Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Sun, 15 Mar 2026 16:03:29 +0000 Subject: [PATCH] Complete 32a54fc8a5b7fee715b963f6e5b28f41289e6a4f --- src/dnsmasq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 4f9bf48..8fcbbda 100644 --- a/src/dnsmasq.c +++ b/src/dnsmasq.c @@ -199,7 +199,7 @@ int main (int argc, char **argv) /* Must have at least a root trust anchor, or the DNSSEC code can loop forever. */ for (ds = daemon->ds; ds; ds = ds->next) - if (ds->name[0] == 0) + if (ds->name && ds->name[0] == 0) break; if (!ds)