mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[common,assistance] fix missing NULL check
This commit is contained in:
committed by
Martin Fleisz
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++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user