Commit Graph

5659 Commits

Author SHA1 Message Date
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
Marc-André Moreau
7dc65be206 Merge branch 'master' of github.com:FreeRDP/FreeRDP into audio 2013-12-11 17:24:06 -05:00
Marc-André Moreau
f890771871 channels/rdpsnd: fix audio duration computation for GSM610 format 2013-12-11 17:21:29 -05:00
Marc-André Moreau
bf094ed997 mfreerdp: code cleanup 2013-12-11 14:31:54 -05:00
Marc-André Moreau
9d745cc038 Merge branch 'master' of github.com:mrthebunny/FreeRDP 2013-12-11 12:22:33 -05:00
Benoît LeBlanc
72f58b220d Remove deprecated ParamChanged event 2013-12-10 17:37:08 -05:00
Marc-André Moreau
5f96f50e0d libfreerdp-gdi: port old cunit gdi tests to ctest 2013-12-10 16:35:46 -05:00
Marc-André Moreau
eb20d0f770 freerdp: fix order of OrderSupport initialization 2013-12-10 12:30:25 -05:00
Marc-André Moreau
62199fc46a Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-12-10 11:54:03 -05:00
Marc-André Moreau
0ed993635f Merge pull request #1622 from zhaohb/fix-gdi
Fix some software can not normal work
2013-12-10 08:50:43 -08:00
Marc-André Moreau
95a452e77f channels/rdpsnd: start using AudioConverter 2013-12-09 17:34:23 -05:00
Marc-André Moreau
c230e872af channels/rdpsnd: start refactoring mac audio code 2013-12-09 16:02:42 -05:00
Benoît LeBlanc
2e0c4c964c Merge branch 'master' of git://github.com/awakecoding/FreeRDP 2013-12-09 16:00:29 -05:00
Benoît LeBlanc
2ea2a6937d missing DEFINE on .h file 2013-12-09 15:30:00 -05:00
Benoît LeBlanc
065ba4f500 Prevent crash in mac CLI application if command-line is not properly parsed (NULL argv causes segmentation fault when printing usage). 2013-12-09 14:28:32 -05:00
Marc-André Moreau
ebaa96aa73 Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-12-09 12:06:00 -05:00
Marc-André Moreau
26f543cdf4 libfreerdp-codec: planar cleanup 2013-12-09 12:02:05 -05:00