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:
9e7c246
)
Fixed broken strnlen checks
author
Armin Novak
<armin.novak@thincast.com>
Mon, 11 Nov 2019 09:01:19 +0000
(10:01 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Mon, 11 Nov 2019 11:12:51 +0000
(12:12 +0100)
libfreerdp/core/server.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/server.c
b/libfreerdp/core/server.c
index
55dc9b8
..
45e017d
100644
(file)
--- a/
libfreerdp/core/server.c
+++ b/
libfreerdp/core/server.c
@@
-347,7
+347,7
@@
static BOOL wts_write_drdynvc_create_request(wStream* s, UINT32 ChannelId, const
{
size_t len;
wts_write_drdynvc_header(s, CREATE_REQUEST_PDU, ChannelId);
- len = str
nlen(ChannelName, CHANNEL_NAME_LEN
) + 1;
+ len = str
len(ChannelName
) + 1;
if (!Stream_EnsureRemainingCapacity(s, len))
return FALSE;