This commit is contained in:
Simon Kelley
2026-03-15 16:03:29 +00:00
parent 0597828b74
commit cf08eeee12

View File

@@ -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)