From: Alan T. DeKok Date: Mon, 13 May 2019 23:18:47 +0000 (-0400) Subject: scan fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df45c1182bd3ecd42eeef39d1744ca2aeafe9f30;p=thirdparty%2Ffreeradius-server.git scan fixes --- diff --git a/src/lib/util/dict.c b/src/lib/util/dict.c index 964a3e0e37b..1b6809a87fb 100644 --- a/src/lib/util/dict.c +++ b/src/lib/util/dict.c @@ -4428,7 +4428,7 @@ static int dict_read_process_protocol(char **argv, int argc) } else if ((dict = fr_dict_by_protocol_num(value)) != NULL) { #ifdef __clang_analyzer__ - if (!dict->root) return -1; + if (!dict->root || !dict->root->name) return -1; #endif if (strcasecmp(dict->root->name, argv[0]) != 0) {