Merge pull request #5218 from ckelsel/master

May crash if GetCommandLineW failed
This commit is contained in:
akallabeth 2019-01-25 12:19:56 +01:00 committed by GitHub
commit 7d226ca596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
RDP_CLIENT_ENTRY_POINTS clientEntryPoints;
int ret = 1;
int argc = 0, i;
LPWSTR* args;
LPWSTR* args = NULL;
LPWSTR cmd;
char** argv;
ZeroMemory(&clientEntryPoints, sizeof(RDP_CLIENT_ENTRY_POINTS));