Fixes to Coverity defects.
This commit is contained in:
@ -1015,6 +1015,9 @@ int gw_MySQLListener(
|
||||
int one = 1;
|
||||
int rc;
|
||||
|
||||
memset(&serv_addr,0,sizeof(serv_addr));
|
||||
memset(&local_addr,0,sizeof(local_addr));
|
||||
|
||||
if (strchr(config_bind, '/')) {
|
||||
char *tmp = strrchr(config_bind, ':');
|
||||
if (tmp)
|
||||
|
||||
@ -1558,7 +1558,6 @@ int gw_find_mysql_user_password_sha1(char *username, uint8_t *gateway_password,
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user