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:
2a6318b
)
Fixed uninitialized values.
author
Armin Novak
<armin.novak@thincast.com>
Tue, 1 Sep 2015 10:21:25 +0000
(12:21 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 1 Sep 2015 10:26:33 +0000
(12:26 +0200)
channels/rdpdr/client/rdpdr_main.c
patch
|
blob
|
history
diff --git
a/channels/rdpdr/client/rdpdr_main.c
b/channels/rdpdr/client/rdpdr_main.c
index
e5d3d13
..
e25b78e
100644
(file)
--- a/
channels/rdpdr/client/rdpdr_main.c
+++ b/
channels/rdpdr/client/rdpdr_main.c
@@
-391,7
+391,9
@@
static UINT handle_hotplug(rdpdrPlugin* rdpdr)
DEVICE_DRIVE_EXT *device_ext;
ULONG_PTR *keys;
UINT32 ids[1];
- UINT error;
+ UINT error = 0;
+
+ memset(dev_array, 0, sizeof(dev_array));
f = fopen("/proc/mounts", "r");
if (f == NULL)