projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84493d0
)
May crash if GetCommandLineW failed
author
xie.kunming
<xie.kunming@astute-tec.com>
Fri, 25 Jan 2019 09:54:25 +0000
(17:54 +0800)
committer
xie.kunming
<xie.kunming@astute-tec.com>
Fri, 25 Jan 2019 09:54:25 +0000
(17:54 +0800)
client/Windows/cli/wfreerdp.c
patch
|
blob
|
history
diff --git
a/client/Windows/cli/wfreerdp.c
b/client/Windows/cli/wfreerdp.c
index
ad9160c
..
5eda064
100644
(file)
--- a/
client/Windows/cli/wfreerdp.c
+++ b/
client/Windows/cli/wfreerdp.c
@@
-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));