mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed NULL access checks.
This commit is contained in:
@@ -311,7 +311,7 @@ int freerdp_client_settings_parse_assistance_file(rdpSettings* settings,
|
||||
char* password = NULL;
|
||||
rdpAssistanceFile* file;
|
||||
|
||||
if (!settings || !argv || (argc < 1))
|
||||
if (!settings || !argv || (argc < 2))
|
||||
return -1;
|
||||
|
||||
filename = argv[1];
|
||||
|
||||
Reference in New Issue
Block a user