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:
e42b15e
)
Fixed uninitialized value
author
Armin Novak
<armin.novak@thincast.com>
Fri, 5 Apr 2019 11:17:28 +0000
(13:17 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Wed, 8 May 2019 13:13:03 +0000
(15:13 +0200)
winpr/libwinpr/clipboard/posix.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/clipboard/posix.c
b/winpr/libwinpr/clipboard/posix.c
index
bf54dc1
..
b5c1cc4
100644
(file)
--- a/
winpr/libwinpr/clipboard/posix.c
+++ b/
winpr/libwinpr/clipboard/posix.c
@@
-421,7
+421,7
@@
static BOOL process_uri(const char* uri, size_t uri_len, wArrayList* files)
const char* prefix = "file://";
BOOL result = FALSE;
char* name = NULL;
- const size_t prefixLen = strnlen(prefix, sizeof
(prefix));
+ const size_t prefixLen = strnlen(prefix, sizeof(prefix));
WLog_VRB(TAG, "processing URI: %.*s", uri_len, uri);
if ((uri_len < prefixLen) || strncmp(uri, prefix, prefixLen))