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:
4929844
)
Fixed invalid stream copy length.
author
Armin Novak
<armin.novak@thincast.com>
Mon, 29 Feb 2016 11:51:54 +0000
(12:51 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Mon, 29 Feb 2016 11:51:54 +0000
(12:51 +0100)
libfreerdp/core/message.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/message.c
b/libfreerdp/core/message.c
index
4692b00
..
76e0a69
100644
(file)
--- a/
libfreerdp/core/message.c
+++ b/
libfreerdp/core/message.c
@@
-192,7
+192,7
@@
static BOOL update_message_SurfaceCommand(rdpContext* context, wStream* s)
if (!wParam)
return FALSE;
- Stream_Copy(wParam, s, Stream_
Capacity
(s));
+ Stream_Copy(wParam, s, Stream_
GetRemainingLength
(s));
Stream_SetPosition(wParam, 0);
return MessageQueue_Post(context->update->queue, (void*) context,