Benoit LeBlanc
b142bd4e4d
Added PubSub notification on mouse events (only triggered in Windows)
2014-01-17 18:17:10 -05:00
Benoît LeBlanc
4dbe3126aa
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-01-13 14:53:15 -05:00
Marc-André Moreau
47f3b879db
libfreerdp-core: implement parsing of less frequent core rdp messages
2014-01-11 22:54:08 -05:00
Benoît LeBlanc
bb9fa6979d
Fix compilation on windows (variable declaration was not in standard C)
2014-01-08 21:02:40 -05:00
Marc-André Moreau
843953048c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-01-08 11:16:35 -05:00
Hardening
f1d6afca6a
Fix CVE-2014-0791
...
This patch fixes CVE-2014-0791, the remaining length in the stream is checked
before doing some malloc().
2014-01-08 16:57:56 +01:00
Benoît LeBlanc
70cc837eaf
Transport: trigger OnErrorInfo if a read/write error forced the thread to closed.
2013-12-20 18:26:07 -05:00
Benoît LeBlanc
ac6385448b
tsg_write: return error when transport layer is closed
2013-12-20 18:24:29 -05:00
Benoît LeBlanc
3dddce811c
rpc client thread: added periodic check on transport layer state, replacing an infinite wait operation.
2013-12-20 18:23:57 -05:00
Benoît LeBlanc
ad4d5c1ce7
Added timeout on blocking send, receive operations
2013-12-20 18:22:29 -05:00
Benoît LeBlanc
44e7d2f36c
error handling in rpc and transport functions
2013-12-20 17:56:59 -05:00
Marc-André Moreau
05947dd0b2
libfreerdp-core: fix linux build
2013-12-18 22:02:59 -05:00
Marc-André Moreau
5e4f77b05f
Merge branch 'master' of github.com:mrthebunny/FreeRDP
2013-12-18 21:52:41 -05:00
Marc-André Moreau
51ad85e0ee
libfreerdp-core: send Access Denied TLS alert when server-side NLA fails
2013-12-18 19:44:18 -05:00
Benoît LeBlanc
9245d364cc
Fixed handling gateway authentication error
...
Handle NULL pdu
2013-12-18 12:59:53 -05:00
Benoît LeBlanc
5de7a4f082
Code cleanup
2013-12-18 12:44:40 -05:00
Hardening
33f0eb0915
More security fixes for capabilities
...
This patch fixes a security issue which would allow an attackant to set bytes to 1 at choosen places.
It also fixes a warning when DEBUG_CAPABILITIES is set.
2013-12-18 10:54:02 +01:00
Benoît LeBlanc
3adff0ec60
- added CANCELEDBYUSER error code.
...
- AUTHENTICATIONERROR error code correclty set on gateway authentication (http error 401)
- Better error handling on connection errors and user cancelation
2013-12-13 10:11:36 -05:00
Hardening
8767931431
Harden capability parsing
...
Don't check only the number of capabilities but also the remaining size in the stream
2013-12-13 15:08:43 +01:00
Benoît LeBlanc
469303a545
Fix: PromptCredentialsOnce / GatewayUseCredentials were always set to true regardless of the value present in the rdp file.
2013-12-12 11:32:36 -05:00
Benoît LeBlanc
72f58b220d
Remove deprecated ParamChanged event
2013-12-10 17:37:08 -05:00
Benoît LeBlanc
cb46bbade0
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2013-12-09 09:37:38 -05:00
Marc-André Moreau
6dfdc286ec
libfreerdp-core: disconnect client when accept fails
2013-12-08 14:43:11 -05:00
Hardening
98245b8177
Fixed typo in the initialization
2013-12-08 11:22:36 +01:00
Benoît LeBlanc
8c1f836ac8
- SSL verification callback: send correct hostname and port
...
- Gateway Authentication callback.
- Handling “use same credentials”
2013-12-06 22:15:45 -05:00
Hardening
d7b7fcc688
Parse the Surface frame marker flag
...
This patch adds the parsing for the surface framemarker flag, so that
we can test it later.
2013-12-06 23:25:31 +01:00
Marc-André Moreau
85b7ad90fe
libfreerdp-core: fix possible crash on unauthorized TS Gateway error
2013-12-05 17:31:33 -05:00
Hardening
1d6a07d2d5
More security in gcc.c
...
As strange as it looks, i have found more errors that could lead to
security issues in gcc.c.
2013-11-28 23:17:21 +01:00
Marc-André Moreau
f429b909a9
libfreerdp-core: fix transport_free in cases where transport thread was not started
2013-11-26 11:30:44 -05:00
Marc-André Moreau
128fb72ec6
mfreerdp: fix possible crash on gdi termination
2013-11-25 00:25:16 -05:00
Marc-André Moreau
83ad1730b8
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/input.c
libfreerdp/core/update.c
2013-11-23 16:39:29 -05:00
Benoît LeBlanc
d734bde420
Fix leak: free gdi object (if it wasn’t freed before)
2013-11-22 13:37:28 -05:00
Bernhard Miklautz
261651b43b
core: don't use c99 style initialization
...
fixes #1602
2013-11-18 20:29:00 +01:00
Marc-André Moreau
b0369cf284
libfreerdp-core: add external certificate management, pass X509 PEM certificate through client callback
2013-11-18 13:54:33 -05:00
Marc-André Moreau
5fc0f72c90
Merge branch 'master' of github.com:mrthebunny/FreeRDP
2013-11-15 09:36:39 -05:00
Benoît LeBlanc
c4de5a4e4b
Fixed compilation on windows (code was not standard C)
2013-11-15 08:21:36 -05:00
Marc-André Moreau
498227eb1b
libfreerdp-core: map more Disconnect Provider Ultimatum PDU reason codes to error info pdu
2013-11-14 23:41:46 -05:00
Marc-André Moreau
fa12414a4b
libfreerdp-core: fix parsing of MCS Disconnect Provider Ultimatum, workaround for 2008 R2 lack of error info pdu on user logoff
2013-11-14 23:05:29 -05:00
Marc-André Moreau
c4492411e4
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-14 19:41:59 -05:00
Armin Novak
31ffb498f8
Fixed argument checks in <transport_disconnect>
2013-11-14 10:09:21 +01:00
Marc-André Moreau
b0b8b6aa9e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-12 12:59:41 -05:00
Armin Novak
7cb0a70fd6
Added custom message resource free to update message queue.
2013-11-12 15:05:15 +01:00
Armin Novak
0ac908ba20
Added assertions to detect invalid call sequences of <transport_free>
...
and <transport_disconnect>.
2013-11-12 15:04:26 +01:00
Armin Novak
7ae5c8eeef
Added functions to free input and update queue messages.
2013-11-12 15:03:48 +01:00
Armin Novak
b6fff6a992
Split message handling and resource cleanup for input and update messages.
2013-11-12 15:03:07 +01:00
Armin Novak
f46a560e76
Added message queue custom free handler for input queue.
2013-11-12 15:02:25 +01:00
Armin Novak
800f946053
Added assertions to spot invalid call sequence for <freerdp_check_fds>
2013-11-12 15:01:25 +01:00
Marc-André Moreau
70aed3fa85
libfreerdp-core: minor style cleanup
2013-11-08 13:57:41 -05:00
Marc-André Moreau
5536033a8a
libfreerdp-core: transport refactoring
2013-11-07 17:37:58 -05:00
Marc-André Moreau
61f95fbe16
libfreerdp-core: transport code style cleanup
2013-11-07 15:14:59 -05:00