Fixes to minor Coverity errors:
75424 73422 72724 72702 72662
This commit is contained in:
@ -1268,7 +1268,7 @@ SERVER *server;
|
||||
(PERCENT_TYPE|COUNT_TYPE));
|
||||
}
|
||||
|
||||
if (!succp)
|
||||
if (!succp && param != NULL)
|
||||
{
|
||||
LOGIF(LM, (skygw_log_write(
|
||||
LOGFILE_MESSAGE,
|
||||
@ -1362,7 +1362,7 @@ SERVER *server;
|
||||
if (enable_root_user && service)
|
||||
serviceEnableRootUser(service, atoi(enable_root_user));
|
||||
|
||||
if (allow_localhost_match_wildcard_host)
|
||||
if (allow_localhost_match_wildcard_host && service)
|
||||
serviceEnableLocalhostMatchWildcardHost(
|
||||
service,
|
||||
atoi(allow_localhost_match_wildcard_host));
|
||||
|
||||
Reference in New Issue
Block a user