From a07337fd6dc9eb1f055d2ad6aaa1452d0ba71667 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 9 Aug 2018 09:07:31 +0000 Subject: [PATCH] Breakout at end. git-svn-id: file:///svn/unbound/trunk@4845 be551aaa-1e26-0410-a405-d3ace91eadb9 --- smallapp/unbound-checkconf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index 770cb5c35..ea4647917 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -402,6 +402,7 @@ check_modules_exist(const char* module_conf) int is_ok = 0; while(*s && isspace((unsigned char)*s)) s++; + if(!*s) break; while(names[i]) { if(strncmp(names[i], s, strlen(names[i])) == 0) { is_ok = 1;