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:
29d3fea
)
fix uninitialised variable
author
David Fort
<contact@hardening-consulting.com>
Thu, 1 Nov 2018 09:45:56 +0000
(10:45 +0100)
committer
David Fort
<contact@hardening-consulting.com>
Thu, 1 Nov 2018 10:07:36 +0000
(11:07 +0100)
Otherwise we can run in troubles when sending logon_info_v2 packets
libfreerdp/core/info.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/info.c
b/libfreerdp/core/info.c
index
43bb136
..
0e64366
100644
(file)
--- a/
libfreerdp/core/info.c
+++ b/
libfreerdp/core/info.c
@@
-1335,7
+1335,7
@@
static BOOL rdp_write_logon_info_v2(wStream* s, logon_info* info)
{
int Size = 2 + 4 + 4 + 4 + 4 + 558;
int domainLen, usernameLen, len;
- WCHAR* wString;
+ WCHAR* wString
= NULL
;
if (!Stream_EnsureRemainingCapacity(s, Size))
return FALSE;