Mike McDonald
c0d26443ce
Added #define for SOL_TCP to fix compilation error on iOS
2014-01-21 08:27:21 -05:00
Mike McDonald
25f834043e
Modified FreeRDP core to ignore SIGPIPE signal. This signal was being generated during a call to SSL_shutdown when the socket is in a disconnected state. The proper way to handle this is to ignore SIGPIPE and allow the write system call to report an errno of EPIPE.
2014-01-20 11:20:50 -05:00
Mike McDonald
5ce6b787ec
Revert "Fixed tls_read and tls_write to prevent a subsequent crash in SSL_shutdown when read/write errors occur."
...
This reverts commit 2a49238351
.
2014-01-20 11:09:45 -05:00
Mike McDonald
4e31b9bbb9
Revert "Modified TLS code to handle disconnects a little cleaner."
...
This reverts commit c273a4ac5e
.
2014-01-20 11:08:33 -05:00
Mike McDonald
3ddf681feb
Revert "Fixed comment in tls_disconnect."
...
This reverts commit 7f040406ac
.
2014-01-20 11:06:08 -05:00
Mike McDonald
7f040406ac
Fixed comment in tls_disconnect.
2014-01-17 11:54:35 -05:00
Mike McDonald
c273a4ac5e
Modified TLS code to handle disconnects a little cleaner.
2014-01-17 11:51:39 -05:00
Mike McDonald
2a49238351
Fixed tls_read and tls_write to prevent a subsequent crash in SSL_shutdown when read/write errors occur.
2014-01-17 10:24:13 -05:00
Mike McDonald
c4f6dcc24f
Added auto reconnect to FreeRDP core and X11 client
2014-01-16 17:38:56 -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
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
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
Bernhard Miklautz
6763e059c3
tls: handle the case if endpoint has disconnected
2013-12-04 15:36:25 +01:00
Bernhard Miklautz
2b6b4a6685
updated file headers
2013-12-04 11:44:22 +01:00
Bernhard Miklautz
261651b43b
core: don't use c99 style initialization
...
fixes #1602
2013-11-18 20:29:00 +01:00
Armin Novak
6f43252c9a
Fixed argument check in <tls_disconnect>
2013-11-14 10:09:40 +01:00
Armin Novak
31ffb498f8
Fixed argument checks in <transport_disconnect>
2013-11-14 10:09:21 +01: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
b4a78c31bb
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-06 13:59:03 -05:00
Marc-André Moreau
014b5be63c
Merge pull request #1569 from zhangzl2013/dev-clipboard-win
...
Add cliprdr on windows. File clipping is not supported yet.
2013-11-06 10:59:59 -08:00
Marc-André Moreau
0e1fd4a777
freerdp: merge with master
2013-11-06 13:53:10 -05:00
Bernhard Miklautz
a0161a12ac
moved version information to freerdp/version.h
...
fixed #1465
2013-11-06 17:29:33 +01:00
Marc-André Moreau
b8a1f7d6c0
freerdp: implement restricted admin mode pass-the-hash option
2013-11-06 10:02:58 -05:00
Marc-André Moreau
a3d0e271b5
freerdp: add restricted admin option
2013-11-06 01:51:55 -05:00
Marc-André Moreau
bccd0750e8
libfreerdp-client: fix memory leaks in settings accessors
2013-11-05 11:51:33 -05:00
Marc-André Moreau
9921e519a9
mfreerdp: fix termination of MacFreeRDP
2013-11-05 11:49:42 -05:00
Zhang Zhaolong
870e52ed1d
Add cliprdr on windows. File clipping is not supported yet.
2013-11-05 10:52:17 +08:00
Marc-André Moreau
3d339b04d9
libfreerdp-core: modify parsing functions to return int instead of BOOL to propagate session redirection return code
2013-11-04 15:52:29 -05:00
Marc-André Moreau
1f31fd9ae1
libfreerdp-core: fix deadlock in transport thread
2013-11-04 14:16:59 -05:00
Marc-André Moreau
813a26a212
libfreerdp-core: change transport thread
2013-11-04 12:40:29 -05:00
Marc-André Moreau
5406ebd5d8
channels/drive: refactoring
2013-11-03 19:10:33 -05:00
Marc-André Moreau
13b6678977
libfreerdp-core: start untangling session redirection
2013-11-03 16:25:56 -05:00
Marc-André Moreau
edb218df90
libfreerdp-cache: refactor code style
2013-11-03 13:51:41 -05:00
Marc-André Moreau
3e3c0f1942
libfreerdp-core: fix potential asynchronous queuing memory problems for primary drawing orders
2013-11-03 13:29:48 -05:00
Marc-André Moreau
f34ab12778
libfreerdp-core: fix leak in freerdp_settings_clone
2013-11-03 12:34:55 -05:00
Marc-André Moreau
3caff4e460
libfreerdp-core: prevent multi-session crashes on Mac OS X
2013-11-01 20:23:56 -04:00
Marc-André Moreau
76414588b1
libfreerdp-core: fix transport failure case with session redirection
2013-11-01 14:13:09 -04:00
Marc-André Moreau
16f287015f
libfreerdp-core: fix redirection parsing bug
2013-11-01 11:45:28 -04:00
Marc-André Moreau
1bada90ab7
libfreerdp-core: fix redirection parsing bug, add logging
2013-11-01 11:33:59 -04:00
Marc-André Moreau
aea4960924
libfreerdp-core: get rid of rdpString in redirection module
2013-11-01 10:59:30 -04:00
Marc-André Moreau
9829504fc1
libfreerdp-core: start async transport thread after successful transport-level connection
2013-11-01 10:24:19 -04:00
Marc-André Moreau
3cdc490bf4
libfreerdp-cache: refactor glyph cache and add logging
2013-11-01 10:01:16 -04:00
Marc-André Moreau
1fc2d780f7
libfreerdp-core: fix memory leaks reported by valgrind
2013-10-31 23:35:24 -04:00
Marc-André Moreau
3bc47a2bf8
libfreerdp-core: fix leaks and potential use after free
2013-10-31 21:12:06 -04:00
Marc-André Moreau
938d423ec9
freerdp: fix build on Windows
2013-10-30 17:56:44 -04:00