Commit Graph

5675 Commits

Author SHA1 Message Date
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
Benoît LeBlanc
d94122c07b Fixed mac cli message box message 2013-12-18 13:00:16 -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
043b834ac2 Fixed WaitForSingleObject and WaitForMultipleObjects (timeouts incorrectly sets). Added detailed error reporting, better timeout error handling. 2013-12-17 18:21:12 -05:00
Benoît LeBlanc
f4a0216c76 Fixed WaitForSingleObject and WaitForMultipleObjects (timeouts incorrectly sets). Added detailed error reporting, better timeout error handling. 2013-12-17 18:20:33 -05:00
Benoît LeBlanc
f22161ac7c Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2013-12-17 13:54:52 -05:00
Marc-André Moreau
652dbfd50d libwinpr-sspi: fix NTLM TargetName bug 2013-12-17 11:51:13 -05:00
Marc-André Moreau
6acd0ed84a channels/rdpsnd: improve winmm rdpsnd implementation 2013-12-15 15:59:51 -05:00
Benoît LeBlanc
36a1323dce fixed error parsing rdp file: lines without value were ignored before being marked as formatted, resulting in duplicate values being written to the RDP file afterwards. 2013-12-13 16:58:46 -05:00
Marc-André Moreau
72f38ce75a Merge pull request #1635 from hardening/capa_fixes
Harden capability parsing
2013-12-13 08:59:28 -08: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
ad12c6cfcd Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2013-12-12 15:06:51 -05: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
Marc-André Moreau
e7974090bb freerdp: fix removal of OnParamChange event 2013-12-11 17:29:09 -05:00
Marc-André Moreau
4356eb5572 Merge branch 'audio' of github.com:FreeRDP/FreeRDP
Conflicts:
	libfreerdp/codec/audio.c
2013-12-11 17:24:00 -05:00