Commit Graph

5692 Commits

Author SHA1 Message Date
Marc-André Moreau 3616b19290 libwinpr-synch: make use of timespec for timer queue 2014-01-26 20:39:13 -05:00
Marc-André Moreau 2e45ad143f libwinpr-synch: improve timer queue implementation 2014-01-26 17:21:12 -05:00
Marc-André Moreau 656766ca2e libwinpr-synch: start implementing timer queue 2014-01-26 12:37:38 -05:00
Marc-André Moreau d5fcd78b65 libwinpr-synch: fix build on OS X 2014-01-26 00:06:27 -05:00
Marc-André Moreau 6bd4362e6d Merge branch 'auto-detect' of github.com:vworkspace/FreeRDP
Conflicts:
	include/freerdp/settings.h
	libfreerdp/core/gcc.c
	libfreerdp/core/gcc.h
	libfreerdp/core/mcs.h
	libfreerdp/core/rdp.c
2014-01-25 17:08:43 -05:00
Marc-André Moreau 3782c2ad72 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-01-25 16:34:34 -05:00
Marc-André Moreau d2405a25f8 libwinpr-synch: initial waitable timer asynchronous procedure callback support 2014-01-24 22:44:23 -05:00
Marc-André Moreau 9a4fb396da libwinpr-synch: add unit test for waitable timer asynchronous procedure calls 2014-01-24 18:08:06 -05:00
Marc-André Moreau fab0cd2779 libwinpr-synch: stub timer queues 2014-01-24 17:48:55 -05:00
Marc-André Moreau 95634f3e4c libfreerdp-core: improve encoding and decoding of GCC core data block 2014-01-24 13:03:37 -05:00
Marc-André Moreau 21a259927a libwinpr-sspi: fix encoding of server-side NTLM challenge message 2014-01-24 13:02:45 -05:00
Mike McDonald 63f6947872 Added heartbeat to rdpRdp struct and added calls to heartbeat constructor and destructor 2014-01-24 08:38:28 -05:00
Mike McDonald ac8fe6ad61 Added heartbeat code 2014-01-23 22:23:47 -05:00
Mike McDonald 07083acc97 First cut at network characteristics auto-detect and multitransport protocol 2014-01-23 18:01:31 -05:00
Marc-André Moreau 1c0e874b5b libfreerdp-core: more GCC and MCS fixes 2014-01-23 17:41:05 -05:00
Marc-André Moreau 38b125f336 libfreerdp-core: fix and update parsing of server-side GCC client data blocks 2014-01-23 16:00:02 -05:00
Marc-André Moreau ae9c10e233 Merge pull request #1664 from vworkspace/auto-reconnect
Addition of auto reconnect to FreeRDP core and X11 client
2014-01-23 10:15:18 -08:00
Marc-André Moreau ac10d0e801 Merge pull request #1668 from bmiklautz/issue_1654
xfreerdp: handle negative mouse coordinates
2014-01-23 10:13:45 -08:00
Bernhard Miklautz 8392b1cc10 xfreerdp: handle negative mouse coordinates
If the pointer is moved out a window relatives coordinates can get negative
in X. This case wasn't handled.

fixed #1654
2014-01-22 15:20:17 +01:00
Mike McDonald a563362ea2 Changed #define for SOL_TCP to be IPPROTO_TCP instead of 6 2014-01-21 11:06:29 -05:00
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
Marc-André Moreau 83b9431dd0 Merge pull request #22 from hardening/fix_eintr
Fix eintr
2014-01-20 05:20:51 -08: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
Marc-André Moreau 130110a19b Merge pull request #1662 from dpoe/master
Add additional evdev key mappings for multimedia and Korean keyboards
2014-01-14 19:51:44 -08:00
Daryl Poe 9897f72b97 add additional evdev key mappings for multimedia and Korean keyboards 2014-01-14 15:18:20 -07:00
Marc-André Moreau cab68b7ef7 Merge pull request #23 from hardening/planar_perf
Improve performance for delta_encoder
2014-01-14 08:40:14 -08:00
Hardening c1a6eda740 Improve performance for delta_encoder
This patch inline the case of the first line to drop the if() that was done
at each loop.
Some variable have been renamed for code clarity.
2014-01-14 09:44:38 +01:00
Marc-André Moreau 6dfaa8eefa libfreerdp-codec: got planar encoder to work 100% correctly 2014-01-13 22:16:10 -05:00
Marc-André Moreau 7c6be746a6 libfreerdp-codec: minor planar codec fix (undocumented behaviour for RLE) 2014-01-12 16:28:06 -05:00
Marc-André Moreau 47f3b879db libfreerdp-core: implement parsing of less frequent core rdp messages 2014-01-11 22:54:08 -05:00
Marc-André Moreau 843953048c Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-01-08 11:16:35 -05:00
Marc-André Moreau 3d75db05e9 Merge pull request #1656 from hardening/CVE-2014-0791-v2
Fix CVE-2014-0791
2014-01-08 08:01:38 -08: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
Marc-André Moreau 9873439a17 Merge pull request #1640 from hardening/capafix2
More security fixes for capabilities
2014-01-08 06:17:24 -08:00
Hardening 19fb713b83 Handle EINTR nicely
When we caught an EINTR during a select we should retry instead of returning an error
2014-01-07 16:36:41 +01:00
Hardening 8d8ecbc042 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-21 21:10:45 +01:00
Marc-André Moreau eb8f34ffef libfreerdp-codec: reduce size of GDI bitmap encoder 2013-12-20 16:02:20 -05:00
Marc-André Moreau 4c6218e594 libfreerdp-codec: make planar encoder pass compression/decompression tests 2013-12-20 02:41:25 -05:00
Marc-André Moreau 74a3232707 libfreerdp-codec: add new planar codec test data 2013-12-19 19:56:58 -05:00
Marc-André Moreau 9c1dca14f7 libwinpr-input: minor code style cleanup 2013-12-18 22:53:34 -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