Bernhard Miklautz
e139bd0fb8
core client side: set flag to crypt license
...
Client side code always tells the server that it is capable of processing
encrypted licensing packages (SEC_LICENSE_ENCRYPT_SC) but didn't set
the recently added flag to indicate that.
Fixes #2196
2014-12-01 11:12:34 +01:00
Mario Lombardo
3c634f91db
Rename tcp-functions as they are conflicting with qemu functions
2014-11-29 21:14:39 +01:00
Marc-André Moreau
a323a0823d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-11-28 11:23:53 -05:00
Marc-André Moreau
88dd5eb8c5
Merge pull request #2225 from akallabeth/openh264_fix
...
Openh264 v1.2 API
2014-11-28 11:23:11 -05:00
Bernhard Miklautz
daa3e7c7f8
tsg: fix possible free of initialized memory
2014-11-27 15:08:07 +01:00
Bernhard Miklautz
5066a5e455
tsg: rpc_send_enqueue_pdu always free buffer
...
rpc_send_enqueue_pdu returns -1 on error but the type of error isn't
distinguishable. Therefore make sure that the buffer gets always freed.
The only exception to this is when the pdu was already queued. Then the
dequeuing function should take care of freeing the buffer when
processing the pdu.
2014-11-27 14:39:47 +01:00
Bernhard Miklautz
96ae2df5a4
tsg: unwind recursion in tsg_read
2014-11-26 19:46:32 +01:00
Bernhard Miklautz
c0525574c8
transport: handle all return values of tsg_read
...
tsg_read can also return 0 which means that no data (complete PDU) is
currently available. This case wasn't handled properly.
Fixes #2056
2014-11-26 19:46:32 +01:00
Bernhard Miklautz
f338e1f6c3
crypto: revert pull request #2130
...
The fix in #2130 eliminates the problem when connecting over a gateway
but introduces other problems server side and client side (client/server
can't detect anymore when a TCP connection was closed).
2014-11-26 19:46:32 +01:00
Bernhard Miklautz
81a6c43938
tsg: fix segfault
...
Revert false positive from commit 585d9101b7
buffer shouldn't be freed since it is set and used in a stream.
2014-11-26 19:46:32 +01:00
Marc-André Moreau
d95af00117
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
2014-11-25 11:20:07 -05:00
Marc-André Moreau
1c88822ccb
libfreerdp-core: treat GCC data block 0xC009 as CS_MULTITRANSPORT
2014-11-19 21:00:28 -05:00
Marc-André Moreau
3f5aa863cb
libfreerdp-core: fix server-side activated state
2014-11-19 14:21:23 -05:00
Marc-André Moreau
d6e6db05e9
libfreerdp-core: sanitize NSCodec capabilities
2014-11-19 09:39:47 -05:00
Marc-André Moreau
8a7a71a7b6
Merge pull request #2213 from akallabeth/wlog_callback_appender
...
Wlog callback appender
2014-11-17 09:41:58 -05:00
Armin Novak
e61acfe6b4
Fixed null pointer dereference.
2014-11-17 01:26:31 +01:00
Armin Novak
deef61dfd0
Fixed memory leak.
2014-11-17 01:16:56 +01:00
Armin Novak
bc963c43d8
Fixed double free.
2014-11-17 01:13:47 +01:00
Armin Novak
83477e5344
Fixed memory leak.
2014-11-17 01:10:45 +01:00
Armin Novak
727a7a9aed
Fixed memory leaks.
2014-11-17 01:08:38 +01:00
Armin Novak
9ea898a3c2
Fixed memory leaks.
2014-11-17 01:07:07 +01:00
Armin Novak
28a8a6fa7e
Fixed memory leak.
2014-11-17 01:04:29 +01:00
Armin Novak
2958a2c0c5
Fixed memory leaks.
2014-11-17 01:00:55 +01:00
Armin Novak
037c612c33
Fixed memory leak.
2014-11-17 00:58:43 +01:00
Armin Novak
e4b33efdb2
Fixed memory leak.
2014-11-17 00:56:56 +01:00
Armin Novak
dac7c178a1
Fixed memory leak.
2014-11-17 00:44:22 +01:00
Armin Novak
458f948c7a
Fixed memory leak.
2014-11-17 00:41:06 +01:00
Armin Novak
a9cfb1d07b
Fixed memory leak.
2014-11-17 00:37:29 +01:00
Armin Novak
aa92017d86
Fixed memory leak.
2014-11-17 00:36:50 +01:00
Armin Novak
a594a15220
Fixed memory leaks.
2014-11-17 00:28:17 +01:00
Armin Novak
bde7b156a8
Fixed uninitialized data warning.
2014-11-17 00:05:12 +01:00
Armin Novak
9e5be6f7e8
Fixed API nonnull warning.
2014-11-17 00:00:09 +01:00
Armin Novak
e52fdc805a
Fixed API nonnull warning.
2014-11-16 23:56:51 +01:00
Armin Novak
3a92a626fc
Fixed memory leaks.
2014-11-16 23:11:28 +01:00
Armin Novak
585d9101b7
Fixed memory leaks.
2014-11-16 23:06:03 +01:00
Armin Novak
07051fb3d1
Fixed memory leaks.
2014-11-16 23:00:13 +01:00
Armin Novak
e8c7d97c9d
Fixed memory leaks.
2014-11-16 22:58:36 +01:00
Armin Novak
ce3e70840c
Fixed uninitialized value.
2014-11-16 22:22:44 +01:00
Armin Novak
cef228d0f4
Fixed memory leak.
2014-11-16 15:54:37 +01:00
Armin Novak
b5d7c30639
Added support for OpenH264v1.2
2014-11-16 14:32:52 +01:00
Armin Novak
8d4589b1e1
Replaced fprintf error messages with WLog.
2014-11-16 12:21:38 +01:00
Marc-André Moreau
496ce10637
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-11-15 12:37:29 -05:00
Marc-André Moreau
7300f5efdb
Merge pull request #2206 from nfedera/fix-2014-11-12-01
...
libfreerdp-codec: fix mppc decompression
2014-11-14 10:39:44 -05:00
Norbert Federa
be7a10e660
core: use zero padding in suppress output pdu
...
Some legacy rdp servers seem to expect a zero padding after the
allowDisplayUpdates byte, probably because they incorrectly parse the
value as uint32.
2014-11-14 11:25:05 +01:00
Norbert Federa
7c0c905683
libfreerdp-codec: fix mppc decompression
...
* protect against history buffer overflows
* fix replicating copy (CopyOffset can be > HistoryBufferSize!)
2014-11-13 14:55:15 +01:00
Marc-André Moreau
1c9231acf8
libfreerdp-rail: remove
2014-11-12 19:51:17 -05:00
Marc-André Moreau
ddedc574f3
freerdp: remove tcp, uds utils
2014-11-12 14:06:34 -05:00
Marc-André Moreau
8c98cbc247
libfreerdp-utils: remove old time utils
2014-11-12 13:45:03 -05:00
Marc-André Moreau
986dae429b
freerdp: remove deprecated svc_plugin.c utils
2014-11-12 13:34:07 -05:00
Marc-André Moreau
0e7c95c421
freerdp: remove deprecated eventing system
2014-11-12 13:18:18 -05:00
Marc-André Moreau
589c21d819
libfreerdp-utils: remove rail utils
2014-11-12 10:18:53 -05:00
Marc-André Moreau
68ee5df7d9
winpr: fix build warnings
2014-11-11 11:21:34 -05:00
Marc-André Moreau
a48ed7239d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/update.c
2014-11-11 09:55:48 -05:00
Marc-André Moreau
e685acdbc5
Merge pull request #2194 from hopToDev/master
...
Added SIGPIPE handling for iOS.
2014-11-11 09:43:38 -05:00
Martin Fleisz
53f38d3e89
Merge pull request #2189 from llyzs/llyzs
...
Support Continuous Auto-Detection.
2014-11-11 08:42:48 +01:00
Vic Lee
36f0281ff8
libfreerdp-core: auto-detect defines.
2014-11-11 10:14:44 +08:00
Marc-André Moreau
ee7299ec3f
channels/tsmf: remove dependency on deprecated eventing system
2014-11-10 16:33:34 -05:00
Mehul Dhorda
256eab682b
Added SIGPIPE handling for iOS.
2014-11-10 11:52:29 -08:00
Marc-André Moreau
b7c6e9c050
Merge pull request #2188 from hopToDev/master
...
Ignore T.128 FlowPDU in Share Control header
2014-11-10 13:54:12 -05:00
Marc-André Moreau
a6bb185760
channels/tsmf: add new callback interface
2014-11-07 18:33:45 -05:00
Mike McDonald
7d5963a1e6
Fixed crash caused by trying to cast and dereference a NULL hChannel.
2014-11-07 18:06:14 -05:00
Mehul Dhorda
e8b8ae1900
Added comment to clarify flow control PDU fields.
2014-11-07 14:58:58 -08:00
Marc-André Moreau
bfdd3bd606
libfreerdp-gdi: fix bitmap update scanline size
2014-11-07 17:19:46 -05:00
Vic Lee
8eaeeebecc
libfreerdp-core: support continuous auto-detection.
2014-11-07 16:18:49 +08:00
Marc-André Moreau
a538e791b3
shadow: add improved pointer updates
2014-11-06 17:25:41 -05:00
Mehul Dhorda
29c42cfc0e
Fixed incorrect values for PDUTypeFlow.
...
Swapped values for PDU_TYPE_FLOW_RESPONSE and PDU_TYPE_FLOW_STOP to
match the T.128 spec.
2014-11-06 10:08:58 -08:00
Mehul Dhorda
f64d620a3b
Ignore T.128 FlowPDU in Share Control header
...
According to the Microsoft RDP specification, T.128 flow control PDUs
should be ignored when reading Share Control headers.
(http://msdn.microsoft.com/en-us/library/cc240576.aspx ). This patch
checks if we got a flow control PDU (length = 0x8000) and advances the
stream to ignore the PDU.
2014-11-05 11:32:46 -08:00
Marc-André Moreau
c5c9423ccf
winpr: fix Win32 build warnings
2014-11-04 10:44:55 -05:00
Hardening
e04f90eada
Offer to disable bulk compression when using remoteFx
...
This patch adds a skipCompression field in surface commands struct so that
we can disable bulk compression with remoteFx.
2014-11-04 16:14:53 +01:00
Vic Lee
18428a43d0
libfreerdp-core: distinguish continuous/connect-time autodetect.
2014-11-04 13:41:04 +08:00
Hardening
7b108f1aa8
Merge pull request #2141 from zhangzl2013/polyline
...
fix polyline.
2014-10-31 22:15:13 +01:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Marc-André Moreau
d323753a9e
Merge pull request #2180 from nfedera/fix-2014-10-31-01
...
codec: fix pointer data conversion + 24bpp support
2014-10-31 07:49:32 -04:00
Martin Fleisz
d58c6de93c
Merge pull request #2134 from akallabeth/windows_version_information
...
Windows version information
2014-10-31 12:23:11 +01:00
Norbert Federa
ea0d8a280c
codec: fix pointer data conversion + 24bpp support
...
- alpha values were annihilated (fixed)
- support 24bit xor mask data added
2014-10-31 12:18:08 +01:00
Norbert Federa
62dbcac0c7
xfreerdp: fix glyph index primary drawing order
...
The fOpRedundant field of the GlyphIndex primary drawing order
(MS-RDPEGDI, chapter 2.2.2.2.1.1.2.13) was neglected which resulted in some
severe text rendering errors.
2014-10-29 20:56:26 +01:00
Vic Lee
152d525a05
libfreerdp-core: server-side auto-detect feature.
2014-10-29 00:49:49 +08:00
Vic Lee
0e7797ffca
libfreerdp-core: server-side mcs message channel.
2014-10-29 00:49:27 +08:00
Marc-André Moreau
2de73e0243
Merge pull request #2130 from eosrei/2056/ts-gateway-connect-fail
...
Removing TS Gateway breaking BIO_clear_flags() call
2014-10-25 11:52:29 -04:00
Marc-André Moreau
02646b349f
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/gcc.c
2014-10-25 10:29:06 -04:00
Marc-André Moreau
765150e3ed
libfreerdp-codec: fix incorrect pixel increment in freerdp_image24_copy
2014-10-23 15:50:24 -04:00
Marc-André Moreau
ce7302a999
wfreerdp: cleanup clipboard
2014-10-22 22:32:55 -04:00
Marc-André Moreau
25dd984812
Merge branch 'awakecoding-staging' of github.com:vworkspace/FreeRDP
2014-10-22 20:17:13 -04:00
Norbert Federa
9c2e90df7d
core: fix pointer caps, slowpath kbd and a gcc fix
...
* According to MS-RDPBCGR 2.2.7.1.5 the pointerCacheSize is optional
and its absence or a zero value indicates missing client support for
the New Pointer Update.
* Added and fixed some comments regarding the meaning of the KBDFLAGS_DOWN
keyboard flag and how it is currently used in the code.
"Fixed" the slow path keyboard input to generate the same keyboard flags
as the corresponding fast path code.
* Some arbitrary value was used for the ConnectPDULength in the GCC
Conference Create Response. According to MS-RDPBCGR 4.1.4 this value must
be ignored by the client so we encode a zero value instead.
2014-10-22 12:27:07 +02:00
Bernhard Miklautz
4dcc0957f1
Fix build on windows
...
Problem was introduces by a non pull request push for ipv6 support
2014-10-22 12:16:40 +02:00
Marc-André Moreau
23e4963102
xfreerdp: remove dependency on clrconv
2014-10-21 22:19:11 -04:00
Marc-André Moreau
5f95f0776f
libfreerdp-codec: add freerdp_image_copy_from_monochrome replacement function for deprecated freerdp_mono_image_convert
2014-10-21 21:56:10 -04:00
Marc-André Moreau
0aab1e7ee5
libfreerdp-codec: fix and enhance cursor image conversion
2014-10-21 20:46:15 -04:00
Mike McDonald
5fa6fa7013
Merge branch 'master' of https://github.com/awakecoding/FreeRDP into awakecoding-staging
2014-10-20 14:42:46 -04:00
Jean-Louis Dupond
0dc0e01568
Add ipv6 client support
2014-10-17 12:08:39 +02:00
Marc-André Moreau
1d47b16f3c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-10-14 20:59:37 -04:00
Marc-André Moreau
26556323c0
libfreerdp-color: fix 24bpp copy
2014-10-14 20:59:22 -04:00
Marc-André Moreau
02987bbd4a
libfreerdp-codec: add 24bpp to 24bpp color conversion
2014-10-13 12:29:06 -04:00
Marc-André Moreau
a0bab75cff
libfreerdp-codec: fix graphical artifacts with interleaved RLE
2014-10-13 11:39:21 -04:00
Marc-André Moreau
00e3533230
libfreerdp-core: expose API for FreeRDS WTSVirtualChannelRead
2014-10-10 17:19:38 -04:00
Marc-André Moreau
11ae267518
libfreerdp-core: expose new API to allow FreeRDS virtual channel hooking
2014-10-10 16:11:42 -04:00
Armin Novak
22c775988b
Using global RC_VERSION_PATCH now.
2014-10-09 16:20:32 +02:00
Marc-André Moreau
9ce862edc8
Merge pull request #2135 from erbth/wfreerdp
...
Added lock key synchronization to wfreerdp
2014-10-09 09:05:58 -04:00
Zhang Zhaolong
3de5c62bf3
fix polyline.
2014-10-09 18:11:38 +08:00
Brad
0746d8c14c
Do not BIO_clear_flags() when the SSL error is not valid to fix #2056
2014-10-08 00:00:36 -07:00