Commit Graph

536 Commits

Author SHA1 Message Date
Marc-André Moreau
72a7b83a7b Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-04 11:05:50 -05:00
Marc-André Moreau
ea7a35ee9b libfreerdp-core: message queue refactoring 2013-02-04 11:05:24 -05:00
Christian Landvogt
401787eeb8 libfreerdp-gdi: added brush style BS_HATCHED
according to [MS-RDPEGDI] 2.2.2.2.1.1.2.3 PatBlt (PATBLT_ORDER)
	16bit and 8bit colour depth are drawn with wrong background colour
2013-02-04 15:58:22 +01:00
Marc-André Moreau
e18a0b807f libfreerdp-core: fix async updates with palettes 2013-02-03 16:19:25 -05:00
Marc-André Moreau
4d804018e0 libfreerdp-gdi: fix opaque rect for /gdi:hw mode with 8bpp 2013-02-03 15:22:16 -05:00
Marc-André Moreau
d9ac2cca39 libfreerdp-gdi: fix 8bpp FillRect color 2013-02-03 15:16:37 -05:00
Marc-André Moreau
db331d64f7 libfreerdp-core: fix message queue ids, fix async glyph messages 2013-02-03 12:41:59 -05:00
Marc-André Moreau
c54dbd863e Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-02 16:31:21 -05:00
Marc-André Moreau
f49c92d6fe Merge pull request #932 from hardening/remoteFxChecks
Add checks on RemoteFX
2013-02-02 13:30:54 -08:00
Marc-André Moreau
b67ee8e8f2 Merge pull request #947 from hardening/rdpFix
check size before decompressing
2013-02-02 13:30:05 -08:00
Marc-André Moreau
6c57bcf0a9 libfreerdp-core: start implementing TSG messaging 2013-02-01 17:52:19 -05:00
hardening
9b8ba7f3e0 check size before decompressing
fixed return value from BOOL to int
2013-02-01 22:43:20 +01:00
Martin Fleisz
10dd9b7ad4 libfreerdp-core: Fixed incorrect use of BOOL as a return value where an integer was returned 2013-02-01 10:15:36 +01:00
Marc-André Moreau
44bb1059ea libfreerdp-crypto: replace Base64 implementation 2013-01-31 18:07:04 -05:00
Marc-André Moreau
51293f48e9 libfreerdp-crypto: fix build on windows 2013-01-31 16:36:56 -05:00
Marc-André Moreau
9c85f97137 libfreerdp-crypto: fix base64 encoding, fix TS Gateway HTTPS authentication 2013-01-31 16:11:37 -05:00
Marc-André Moreau
a17ddeea2a mfreerdp-server: merging with master 2013-01-31 11:33:08 -05:00
C-o-r-E
bbfc724db9 libfreerdp: fix slash 2013-01-30 19:56:58 -05:00
Marc-André Moreau
4a5bd8584a libwinpr-sspi: cleanup NTLM authenticate message construction 2013-01-30 19:47:27 -05:00
C-o-r-E
a39ef9980f Merge remote-tracking branch 'upstream/master' 2013-01-30 19:05:35 -05:00
Corey C
b23cde57a6 libfreerdp: missing include 2013-01-30 18:55:22 -05:00
Marc-André Moreau
ed33ac84c5 libwinpr-sysinfo: fix hostname detection 2013-01-29 16:18:17 -05:00
Marc-André Moreau
22ecaa85a7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-29 14:01:33 -05:00
Bernhard Miklautz
f239e1f9c4 aFreeRDP: initial release
This is the initial release of aFreeRDP the FreeRDP Android client.
For build instructions have a look to docs/README.android.
2013-01-29 12:59:58 +01:00
Marc-André Moreau
bc9d103e98 libfreerdp-locale: added static Mac OS X keymap 2013-01-29 00:26:17 -05:00
Marc-André Moreau
a1f23d0f97 libfreerdp-core: cleanup memory management of secondary orders 2013-01-28 18:42:32 -05:00
hardening
ebfec72e88 Add checks on RemoteFX 2013-01-28 22:23:10 +01:00
Marc-André Moreau
353376abd3 libfreerdp-core: added input event queue 2013-01-27 21:07:17 -05:00
Marc-André Moreau
10a35a9224 libfreerdp-core: add +async-update and +async-input command-line options 2013-01-27 18:22:46 -05:00
Marc-André Moreau
d8afffd3a8 libfreerdp-core: fix server-side color depth negotiation 2013-01-27 17:17:04 -05:00
Marc-André Moreau
e1d0fad519 libfreerdp-core: fix memory leaks 2013-01-25 17:52:37 -05:00
Marc-André Moreau
f3d4da3cf9 libfreerdp-core: added more RPC fault PDU error codes 2013-01-25 13:52:01 -05:00
Marc-André Moreau
abca3f8c10 libfreerdp-core: fix check for null certificate 2013-01-25 13:47:56 -05:00
Marc-André Moreau
f6080b0c22 libfreerdp-core: disable asynchronous mode for now 2013-01-25 13:17:51 -05:00
Marc-André Moreau
c46074f926 libfreerdp-core: free messages after calls 2013-01-25 13:12:21 -05:00
Bernhard Miklautz
7089b8dcae primitives: return value to fix compiler warning 2013-01-25 18:13:14 +01:00
Marc-André Moreau
d8f8be192e xfreerdp: add asynchronous dequeuing of graphical messages 2013-01-25 12:08:00 -05:00
Bernhard Miklautz
f91b88f714 added missing defined() in #elif
gcc >= 4.4 requires a condition in #elif.
2013-01-25 17:50:40 +01:00
Marc-André Moreau
c79015831e libfreerdp-core: copy messages for asynchronous queuing 2013-01-25 00:27:39 -05:00
Marc-André Moreau
c1d61ef365 libfreerdp-core: implement message dequeuing 2013-01-24 22:38:13 -05:00
Marc-André Moreau
c14cf1e203 libfreerdp-core: add message callback registration 2013-01-24 20:05:03 -05:00
Marc-André Moreau
3c8c9aab62 libfreerdp-core: add default message post calls in message queue stubs 2013-01-24 19:08:30 -05:00
Marc-André Moreau
9ba0114e04 libfreerdp-core: added message IDs 2013-01-24 17:35:55 -05:00
Marc-André Moreau
f92f48bf9d libfreerdp-core: added message queue stubs 2013-01-24 17:11:43 -05:00
Marc-André Moreau
fa30eeaef9 libwinpr-utils: started implementing asynchronous MessageQueue 2013-01-24 14:09:44 -05:00
Marc-André Moreau
b2c49aad04 Merge pull request #922 from awakecoding/master
Platform-Specific System Information
2013-01-23 16:45:38 -08:00
Marc-André Moreau
ebefab1de4 libfreerdp-codec: add processor count detection and auto-enabling of threads in RemoteFX decoder 2013-01-23 19:21:14 -05:00
Marc-André Moreau
da3a3d5c9a libfreerdp-primitives: cleanup platform definitions 2013-01-23 18:39:48 -05:00
Marc-André Moreau
ec22b89772 libwinpr-sysinfo: added platform-specific macro definitions 2013-01-23 17:46:32 -05:00
C-o-r-E
caa1032cce Merge remote-tracking branch 'upstream/master' 2013-01-23 16:10:57 -05:00
C-o-r-E
575a38794b libfreerdp: fixed parenthesis 2013-01-23 13:44:58 -05:00
Marc-André Moreau
a5b66e3766 libfreerdp-codec: fix build on Windows 2013-01-23 11:48:31 -05:00
Bernhard Miklautz
1b16ed49f1 codec/nsc: initialize elements with NULL
bmpdata and plane_buf[i] are checked agains NULL before using/freeing them
but they were not initialized to NULL. This caused segfaults in
the sample server.
2013-01-23 14:55:38 +01:00
Marc-André Moreau
bab543b201 libfreerdp-codec: start parallelizing rfx_decode_rgb 2013-01-22 23:00:20 -05:00
Marc-André Moreau
683e395bf8 Merge pull request #918 from awakecoding/master
RemoteFX Parallel Processing of Tiles
2013-01-22 19:03:06 -08:00
Marc-André Moreau
7b7acf4944 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-22 21:57:21 -05:00
Marc-André Moreau
94ad538185 libfreerdp-codec: added registry keys for multithreaded RemoteFX decoder 2013-01-22 21:54:13 -05:00
Marc-André Moreau
22f374ac36 libfreerdp-codec: implement buffer pooling for RemoteFX 2013-01-22 21:24:04 -05:00
Marc-André Moreau
f5d9b06252 libwinpr-utils: added buffer pool 2013-01-22 20:36:08 -05:00
Marc-André Moreau
37a59efbe3 libfreerdp-codec: use _aligned_free for RemoteFX buffers 2013-01-22 18:32:17 -05:00
Marc-André Moreau
438a727c6b libfreerdp-codec: start parallel decoding of RemoteFX tiles 2013-01-22 18:14:50 -05:00
Vic Lee
ec54a44449 rdpsnd: fix some null pointer crashes. 2013-01-22 23:26:55 +08:00
Marc-André Moreau
9a7bcbb084 libfreerdp-codec: remove old RemoteFX tile pool 2013-01-20 20:44:30 -05:00
david
4d01e2d4fe Allow to read ber integers with fancy size when the result is ignored 2013-01-20 21:30:17 +01:00
Marc-André Moreau
d8875ae3e7 libfreerdp-core: fix windows build 2013-01-19 22:00:09 -05:00
Marc-André Moreau
151c2a63e4 libfreerdp-primitives: fix build on Mac OS X 2013-01-19 20:32:14 -05:00
Marc-André Moreau
f38bc6d393 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-01-19 19:45:12 -05:00
Marc-André Moreau
888fcf8d47 Merge pull request #913 from llyzs/llyzs
libfreerdp-core: disable frame ack if server does not send the capability
2013-01-19 16:38:01 -08:00
david
ea43348ba3 Allow ignoring an 8 bytes integer 2013-01-19 23:32:04 +01:00
Marc-André Moreau
49ee48e8d0 libfreerdp-primitives: code style cleanup 2013-01-19 15:16:28 -05:00
Marc-André Moreau
1032c69e3f libfreerdp-primitives: fix building with IPP on Linux 2013-01-19 14:27:34 -05:00
david
193622dada Dump licence content when reading fails 2013-01-19 15:28:07 +01:00
Vic Lee
cde3407138 libfreerdp-core: disable frame ack if server does not send the capability. 2013-01-19 17:07:45 +08:00
Marc-André Moreau
ce5e52ba6f libfreerdp-primitives: fix build on Windows 2013-01-18 20:47:18 -05:00
Marc-André Moreau
3df754e0bb libfreerdp-codec: fix build 2013-01-18 19:43:53 -05:00
Marc-André Moreau
c6e6956a43 Merge branch 'master' of https://github.com/dpoe/FreeRDP 2013-01-18 19:28:55 -05:00
Marc-André Moreau
9ae698c1e5 Merge github.com:FreeRDP/FreeRDP 2013-01-18 19:28:03 -05:00
Marc-André Moreau
e00e14971e libfreerdp-core: disable sending frame ack (unknown pduType2 error) 2013-01-18 19:24:56 -05:00
Marc-André Moreau
7ed7e1c9aa freerdp: merging with master 2013-01-18 19:01:25 -05:00
Daryl Poe
b64408975d freerdp primitives library 2013-01-18 15:32:58 -07:00
Marc-André Moreau
930c9907ce libfreerdp-core: code style cleanup 2013-01-18 16:50:25 -05:00
Marc-André Moreau
3f3d30cd4d Merge pull request #911 from hardening/hardening10
Verbose message when processing fails
2013-01-18 11:30:25 -08:00
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
Corey C
3737eb658b libfreerdp-core: removed left over printf 2013-01-15 13:31:11 -05: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