May crash if GetCommandLineW failed

This commit is contained in:
xie.kunming 2019-01-25 17:54:25 +08:00
parent 84493d0039
commit b8c64b6bf3
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));