[common,assistance] fix missing NULL check

This commit is contained in:
Armin Novak 2023-06-19 09:08:31 +02:00 committed by Martin Fleisz
parent 84320903c3
commit e264512220

View File

@ -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++;