From 8928852d66c5f1c00c52bf8cf0c56372bd36540f Mon Sep 17 00:00:00 2001 From: Spencer Thomason Date: Fri, 12 Aug 2016 13:38:10 -0700 Subject: [PATCH] FS-9423 #resolve Handle null value in ACL list name --- src/switch_core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/switch_core.c b/src/switch_core.c index 039531bb86..e06b6b1f39 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -1373,6 +1373,10 @@ SWITCH_DECLARE(switch_bool_t) switch_check_network_list_ip_token(const char *ip_ switch_bool_t ok = SWITCH_FALSE; char *ipv4 = NULL; + if (!list_name) { + return SWITCH_FALSE; + } + if ((ipv4 = switch_network_ipv4_mapped_ipv6_addr(ip_str))) { ip_str = ipv4; ipv6 = NULL;