Commit Graph

403 Commits

Author SHA1 Message Date
Marc-André Moreau af5ea0e7fc Merge pull request #910 from hardening/hardening9
Fixed padding management when reading certificate
2013-01-18 11:29:41 -08:00
Marc-André Moreau 04c6f689cc Merge branch 'master' of github.com:awakecoding/FreeRDP 2013-01-18 13:50:59 -05:00
Marc-André Moreau 5b4aaf276f libfreerdp-core: added reference counter for receive buffers 2013-01-18 13:50:35 -05:00
rdp.effort 46e7d94bf8 Added error messages when orders processing fails
Added a check for exponent_length
Added error messages for certificate parsing
2013-01-18 14:36:49 +01:00
Marc-André Moreau bc81ebfd63 Merge pull request #906 from hardening/hardening8
Correctly treat error case and memory management when reading certificate
2013-01-17 07:12:12 -08:00
rdp.effort e8acf29a48 Fixed padding management 2013-01-17 15:09:46 +01:00
Vic Lee 6b91ed5830 Frame acknowledgement should be sent by client UI. 2013-01-17 12:58:01 +08:00
Vic Lee 39d7cc5b43 libfreerdp-core/peer: remove a printf message. 2013-01-17 10:51:08 +08:00
Marc-André Moreau df01ba88d4 libfreerdp-core: change fastpath return codes 2013-01-16 18:01:10 -05:00
rdp.effort 9c5352cd10 Correctly treat error case and memory management 2013-01-16 18:10:54 +01:00
Martin Fleisz 6fde5c1a49 libfreerdp-core: fix server crash when accepting NLA connections 2013-01-16 03:58:37 -08:00
david 43cb13585d always initialize lpMultiByteStr parameter when calling ConvertFromUnicode 2013-01-16 01:14:03 +01:00
rdp.effort 71c37bdfc3 call time instead of gmtime (makes valgrind happy) 2013-01-16 00:06:56 +01:00
rdp.effort 0a6c6ec4f3 don't free xkb_layout or xkb_variant when it has not been set 2013-01-16 00:04:04 +01:00
rdp.effort 0abf945a18 check or propagate return values when writing 2013-01-14 23:40:34 +01:00
Corey C 74c6df510a libfreerdp-core: fixed server side pdu receiving 2013-01-14 16:10:05 -05:00
Marc-André Moreau 0146b21eb5 libfreerdp-core: fix surface commands 2013-01-14 15:19:51 -05:00
Marc-André Moreau 3d77d5a497 freerdp: merging with master 2013-01-14 13:50:16 -05:00
Marc-André Moreau 9f4b41d377 Merge pull request #895 from bmiklautz/renamedebug
utils/debug: renamed DEBUG to DEBUG_MSG
2013-01-14 06:28:51 -08:00
Marc-André Moreau 8b3b635d99 Merge pull request #896 from hardening/hardening5
Don't break connection when receiving an invalid synchronize packet
2013-01-14 05:08:22 -08:00
Marc-André Moreau a324873c40 Merge pull request #894 from ArvidNorr/waitfix
Wrong max socket value fix
2013-01-14 05:07:52 -08:00
rdp.effort 2c9412bb1c Don't break connection when receiving an invalid synchronize packet 2013-01-14 12:33:56 +01:00
Bernhard Miklautz 49c3641b6e utils/debug: renamed DEBUG to DEBUG_MSG 2013-01-14 11:47:24 +01:00
ArvidNorr 8bdeb78f06 Wrong max socket value fix 2013-01-14 02:12:30 -08:00
ArvidNorr cea442f24e login and synchronize fix 2013-01-14 01:13:29 -08:00
rdp.effort 81c0e99ceb Misc fixes and result checks 2013-01-13 23:37:50 +01:00
rdp.effort 4d259b5c8e fixed a typo with stream_skip
according to GDI-2.2.2.2.1.2.4 numberColors is an UINT16
fixed a rewrite error in multi_patblt
2013-01-12 16:12:50 +01:00
rdp.effort 91a0b6bb98 fixed a typo in capabilities.c 2013-01-12 14:55:38 +01:00
rdp.effort 4d90284657 Renamed CODEC_ID_NONE to RDP_CODEC_ID_NONE as it is already defined in
avcodecs.h
Fixed a warning in schannel_openssl.c
Added checks for: input, mcs, tpdu, certificate, license
2013-01-12 14:49:01 +01:00
rdp.effort 869a1b9980 check return values when negotiating RDP connection 2013-01-12 14:37:21 +01:00
rdp.effort df08643184 Fixed a bogus last time change 2013-01-12 14:31:53 +01:00
rdp.effort 98f3cf249b check stream size when processing update packets 2013-01-12 00:46:04 +01:00
rdp.effort a30075b12d Added checks for RDP layer processing 2013-01-12 00:43:16 +01:00
rdp.effort 6fd03aba38 mechanize processing of graphical orders to improve security 2013-01-12 00:17:45 +01:00
rdp.effort dc9777bea0 checks stream size when reading rail strings 2013-01-11 01:29:34 +01:00
rdp.effort 2a6c62520f checks BER decoding result and stream size when processing NLA packets 2013-01-11 01:27:19 +01:00
rdp.effort 6bc7da797b checks stream size when processing channel data 2013-01-11 01:25:26 +01:00
rdp.effort 0af0d3adfa checks stream sizes when reading GCC packets 2013-01-11 01:23:31 +01:00
rdp.effort 2f97638e98 checks stream sizes when reading redirection packets 2013-01-11 01:21:24 +01:00
rdp.effort f320fc3530 check stream sizes when reading ClientInfoPDU 2013-01-11 01:18:11 +01:00
rdp.effort dc967dcc89 adding const qualifiers for security.[c|h] helps understand inputs and
outputs
2013-01-11 01:15:52 +01:00
rdp.effort 376731315b Checks stream size when reading in BER format 2013-01-11 01:11:03 +01:00
rdp.effort e53e8e524d Initialize lpWideCharStr parameter when using ConvertToUnicode
This patch ensure that lpWideCharStr is initialized by callers of
ConvertToUnicode
2013-01-10 21:30:32 +01:00
Marc-André Moreau 0fbf846671 libwinpr-sspi: NTLM extended protection cleanup 2013-01-10 11:19:57 -05:00
Marc-André Moreau f0c94562cc libfreerdp-core: TS Gateway cleanup and NTLM SingleHostData implementation 2013-01-09 12:05:34 -05:00
Marc-André Moreau 1d893ed268 libwinpr-sspi: add support for NTLMv2 Channel Binding Token (CBT) 2013-01-09 00:20:08 -05:00
Marc-André Moreau 45d001ef8b libfreerdp-core: change return values for PDU processing 2013-01-08 17:18:10 -05:00
Marc-André Moreau 811ff44720 libfreerdp-core: change ReceiveCallback return values 2013-01-06 17:24:08 -05:00
Marc-André Moreau dcf6c17e03 libfreerdp-core: transport cleanup 2012-12-21 15:49:02 -05:00
Marc-André Moreau 87451b38c2 libfreerdp-core: pool receive buffers 2012-12-21 15:36:10 -05:00
Marc-André Moreau 06f76ee0fe libfreerdp-core: fix receiving with expected lengths 2012-12-21 14:13:40 -05:00
Marc-André Moreau f2f1c641a3 libwinpr-synch: merge with master 2012-12-21 12:22:37 -05:00
Marc-André Moreau 81c2782be3 libwinpr-sspi: start implementing Channel Bindings 2012-12-21 12:17:07 -05:00
Vic Lee ed5ad30d4f libfreerdp-core/transport: select sockfd instead of sleep when blocking. 2012-12-21 16:24:26 +08:00
Marc-André Moreau 8c746976bb libfreerdp-core: return proper event handles on Windows 2012-12-21 11:27:44 +08:00
Marc-André Moreau c8173c405d Merge pull request #866 from bmiklautz/keychanged_segfault
transport: fix segfault if host key changed
2012-12-20 08:02:39 -08:00
Marc-André Moreau c6db4306af Merge pull request #867 from mfleisz/master
cmake: fixed errors with Android build
2012-12-20 08:02:24 -08:00
Vic Lee 2bfd06d7bc libfreerdp-core/listener: loopback address should consider local. 2012-12-20 21:57:55 +08:00
Martin Fleisz 30cb77835b cmake: fixed errors with Android build 2012-12-20 04:09:33 -08:00
Bernhard Miklautz 8fd6f63d14 transport: fix segfault if host key changed 2012-12-20 11:45:21 +01:00
Marc-André Moreau 05e6157d29 libfreerdp-core: return proper event handles on Windows 2012-12-19 12:16:39 -05:00
Marc-André Moreau 8267f2cb88 libfreerdp-core: fix usage of proper gateway credentials 2012-12-18 10:51:43 -05:00
LawrenceK a6178d9297 ConvertToUnicode returns the number of wide characters including the NULL terminator. 2012-12-18 14:05:59 +00:00
Marc-André Moreau d19e2042c3 libfreerdp-utils: remove deprecrated unicode utils in favor of WinPR 2012-12-17 10:20:25 -05:00
Marc-André Moreau af9be28000 libfreerdp-utils: purge deprecated freerdp_UnicodeToAsciiAlloc util in favor of WinPR ConvertFromUnicode 2012-12-16 23:34:07 -05:00
Marc-André Moreau a02090c09b libfreerdp-utils: fix unicode conversion 2012-12-16 23:00:40 -05:00
Marc-André Moreau 36a1683a5d libwinpr-crt: initial WideCharToMultiByte and MultiByteToWideChar replacement implementation 2012-12-16 16:21:48 -05:00
Marc-André Moreau 3e1ac9a55e libfreerdp-utils: fix build 2012-12-14 13:15:27 -05:00
Marc-André Moreau 6cdb09740c wfreerdp: fix build 2012-12-14 13:11:07 -05:00
Marc-André Moreau 92bf3e4ae0 libfreerdp-utils: remove sleep utils in favor of WinPR 2012-12-14 00:58:48 -05:00
Marc-André Moreau 2045a5aec8 libfreerdp-utils: remove print utils 2012-12-14 00:30:20 -05:00
Marc-André Moreau 709e66a596 libfreerdp: header cleanup 2012-12-14 00:25:48 -05:00
Marc-André Moreau 808fc210e3 libfreerdp-utils: remove hexdump utils in favor of WinPR utils 2012-12-13 23:54:54 -05:00
Marc-André Moreau cfa2e169c1 libfreerdp-core: added missing codec GUIDs 2012-12-13 23:33:24 -05:00
Marc-André Moreau b53bdba143 libfreerdp-core: TSG cleanup 2012-12-13 20:23:37 -05:00
Marc-André Moreau 72110807b1 libfreerdp-core: fix NLA 2012-12-13 16:29:16 -05:00
Marc-André Moreau 3e7824f393 libfreerdp-core: adding more monitor options 2012-12-13 14:38:02 -05:00
Marc-André Moreau 7d8ef00d6a libfreerdp-core: implement proper TS Gateway connection shutdown 2012-12-13 12:40:46 -05:00
Marc-André Moreau c0d12b1b9e libfreerdp-core: implement RTS flow control ack PDU 2012-12-13 11:01:13 -05:00
Marc-André Moreau c317c60275 libfreerdp-core: reply to TSG ping PDUs 2012-12-13 10:49:52 -05:00
Marc-André Moreau 26492f1cc7 libfreerdp-core: fix settings->HomePath leak (issue #810) 2012-12-13 07:48:16 -05:00
Marc-André Moreau f43298d69b libfreerdp-core: set target name in RPC bind 2012-12-13 07:37:41 -05:00
Marc-André Moreau a12925e0e8 libfreerdp-core: merging with master 2012-12-12 23:52:23 -05:00
Marc-André Moreau c428d1c4de libfreerdp-core: fix build on linux 2012-12-12 23:36:15 -05:00
Marc-André Moreau 6450ecd67f libfreerdp-core: fix windows build 2012-12-12 23:18:20 -05:00
Marc-André Moreau 52353e2427 libfreerdp-core: TSG printf cleanup 2012-12-12 22:34:41 -05:00
Marc-André Moreau 7ff2be09b2 libfreerdp-core: more TSG memory cleanup 2012-12-12 22:03:40 -05:00
Marc-André Moreau 102abcbef2 libfreerdp-core: improve TSG memory cleanup 2012-12-12 20:02:56 -05:00
Marc-André Moreau 387a152299 libfreerdp-core: TSG reassembly refactoring 2012-12-12 15:55:42 -05:00
Marc-André Moreau d3e0537d0d libfreerdp-core: more TSG memory cleanup 2012-12-12 00:49:15 -05:00
Marc-André Moreau 3aeb9eb197 libfreerdp-core: TSG partial cleanup 2012-12-11 23:34:51 -05:00
Marc-André Moreau dc978a967c libfreerdp-core: improve receiving of TSG data 2012-12-11 19:17:57 -05:00
Marc-André Moreau 8aa1143cc6 libfreerdp-core: work around PDU corruption issue with TSG, still experience locking 2012-12-11 17:24:52 -05:00
Marc-André Moreau db91555564 libfreerdp-core: improved TSG asynchronicity 2012-12-10 18:56:53 -05:00
Marc-André Moreau 0f3d80d63f libfreerdp-core: start implementation of asynchronous RPC fragment receive 2012-12-10 15:43:07 -05:00
Marc-André Moreau 6e07570dda libwinpr-utils: simplify stream utils 2012-12-10 14:23:27 -05:00
Jay Sorg a5ae5d7c27 transport: handle blocking read, put debug print back 2012-12-08 15:27:08 -08:00
Marc-André Moreau 7f1a5ab7cd libfreerdp-core: fix TSG synchronous receive 2012-12-07 22:43:53 -05:00
Marc-André Moreau db01d942a5 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-12-07 22:27:22 -05:00
Marc-André Moreau 282c950522 libfreerdp-core: fix pipe call id check 2012-12-07 22:27:05 -05:00