From: Wouter Wijngaards Date: Thu, 9 Aug 2018 09:07:31 +0000 (+0000) Subject: Breakout at end. X-Git-Tag: release-1.8.0rc1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07337fd6dc9eb1f055d2ad6aaa1452d0ba71667;p=thirdparty%2Funbound.git Breakout at end. git-svn-id: file:///svn/unbound/trunk@4845 be551aaa-1e26-0410-a405-d3ace91eadb9 --- 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;