[common,assistance] fix missing NULL check
This commit is contained in:
parent
84320903c3
commit
e264512220
@ -286,6 +286,8 @@ static BOOL freerdp_assistance_parse_address_list(rdpAssistanceFile* file, char*
|
||||
while (token != NULL)
|
||||
{
|
||||
char* port = strchr(token, ':');
|
||||
if (!port)
|
||||
goto out;
|
||||
*port = '\0';
|
||||
port++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user