aboutsummaryrefslogtreecommitdiff
path: root/iterator/iter_fwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'iterator/iter_fwd.c')
-rw-r--r--iterator/iter_fwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iterator/iter_fwd.c b/iterator/iter_fwd.c
index 0feee032c960..3e580ca35513 100644
--- a/iterator/iter_fwd.c
+++ b/iterator/iter_fwd.c
@@ -294,6 +294,7 @@ make_stub_holes(struct iter_forwards* fwd, struct config_file* cfg)
uint8_t* dname;
size_t dname_len;
for(s = cfg->stubs; s; s = s->next) {
+ if(!s->name) continue;
dname = sldns_str2wire_dname(s->name, &dname_len);
if(!dname) {
log_err("cannot parse stub name '%s'", s->name);