Marc-André Moreau
c76847dafc
Merge branch 'master' of github.com:awakecoding/FreeRDP
2015-01-27 14:54:49 -05:00
Norbert Federa
70c8acdd67
drdynvc: fix segfaults and a compiler warning
...
If we send a negative creation status while processing the DVC create
response pdu in drdynvc_process_create_request() we must also close
the created channel. Otherwise we will get duplicated channel IDs
in the channel manager's array list because the server will
eventually reuse the channel ids which we have reported as failed in
previous creation responses.
In order to protect the client from duplicated IDs sent by buggy or
malicious servers I've added an appropriate check in
dvcman_channel_new() which will now return NULL in this case.
Also added a missing NULL check for the result of dvcman_channel_new()
in dvcman_create_channel().
2015-01-26 19:26:38 +01:00
Marc-André Moreau
bcc702346f
channels/smartcard: fix buffer read alignment in SCardTransmit parsing
2015-01-23 14:19:15 -05:00
Marc-André Moreau
0146927605
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-22 16:07:25 -05:00
Armin Novak
2f57cca71c
Moved arraylist remove to dvcman_close_channel
...
This ensures, that the resources are also cleaned up if no channel
listener was registered.
2015-01-21 14:16:23 +01:00
Armin Novak
256c64fbed
Fixes cleanup when closing a dynamic channel.
...
The resource cleanup was executed twice for each dynamic channel.
Now cleaning up the resources by array list free callback and only
when closing the channel.
2015-01-21 12:58:18 +01:00
Marc-André Moreau
f0fc27f7bd
libwinpr-winscard: add WINPR_WINSCARD_LOCK_TRANSACTIONS environment variable, fix winpr_HexDump line feeds
2015-01-20 15:29:05 -05:00
Marc-André Moreau
ee51da8500
channels/smartcard: cleanup debug output
2015-01-20 11:16:37 -05:00
Marc-André Moreau
b057d1eaf7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-20 09:29:21 -05:00
Armin Novak
b6d0ce797b
Fixed variable initialisation and cleanup.
2015-01-20 12:31:43 +01:00
Armin Novak
4d08528f89
Fixed variable initialisation and cleanup.
2015-01-20 12:31:39 +01:00
Armin Novak
97988b4868
Fixed variable initialisation and cleanup.
2015-01-20 12:31:37 +01:00
Armin Novak
cadd2675f6
Fixed variable initialisation and cleanup.
2015-01-20 12:31:30 +01:00
Armin Novak
ac81b9ddf5
Fixed variable initialisation and cleanup.
2015-01-20 12:31:26 +01:00
Armin Novak
557e8bb938
Fixed variable initialisation and cleanup.
2015-01-20 12:31:21 +01:00
Armin Novak
6170aba5fb
Fixed variable initialisation and cleanup.
2015-01-20 12:31:16 +01:00
Armin Novak
918ca132f6
Fixed resource cleanup locations.
...
Additional error checks and logging.
2015-01-20 11:59:13 +01:00
Armin Novak
865bcc5d63
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:58:09 +01:00
Armin Novak
9e5ed07556
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:58:04 +01:00
Armin Novak
bbacca6db2
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:55:50 +01:00
Armin Novak
4171589647
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:55:22 +01:00
Armin Novak
cbf8b1cf01
Fixed resource cleanup locations.
...
Additional error checks and logging.
2015-01-20 11:53:12 +01:00
Armin Novak
56cdb57452
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:47:47 +01:00
Armin Novak
de01d7a445
Prettiefied WLog messages.
2015-01-20 11:46:25 +01:00
Armin Novak
3dc1f07847
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:45:36 +01:00
Armin Novak
5ce9c71a40
Prettiefied WLog messages.
2015-01-20 11:39:33 +01:00
Armin Novak
54ec26c758
Removed duplicated close call
2015-01-20 11:39:13 +01:00
Armin Novak
ddd8a1da80
Prettiefied WLog messages.
2015-01-20 11:23:12 +01:00
Armin Novak
54fa77a06a
Prettiefied WLog messages.
2015-01-20 11:20:38 +01:00
Armin Novak
90b46bf987
Prettiefied WLog messages.
2015-01-20 11:20:09 +01:00
Marc-André Moreau
e47f1c8b80
channels/smartcard: minor robustness fixes
2015-01-19 12:04:23 -05:00
Marc-André Moreau
d5b3f9cbd4
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-01-08 14:22:05 -05:00
Bernhard Miklautz
b485bb2067
rdpdr: use host name for redirected drives if set
...
When a client set the host name, redirected drives would still be shown
as coming from the computer name. For example if the computer the client
run on is called "foo" and the client set the /host-name to "bar" any
redirected drive is shown as "driveX on foo".
Now the host name is used for drives when set.
2014-12-30 13:34:11 +01:00
Marc-André Moreau
51554ff16c
channels: patch rdpdr/smartcard valgrind leaks, fix hang on disconnect
2014-12-28 14:56:13 -05:00
Marc-André Moreau
5024c42b76
channels/drdynvc: properly handle DYNVC_OPEN/DYNVC_CLOSE requests
2014-12-28 11:13:51 -05:00
Marc-André Moreau
b552aa9363
libfreerdp-core: add support for multiple redirection target addresses
2014-12-27 18:53:27 -05:00
Marc-André Moreau
27a8e50e60
channels: fix drdynvc, patch memory leaks
2014-12-27 15:20:29 -05:00
Marc-André Moreau
6c2ebb2b58
channels: redirection valgrind fixes
2014-12-27 13:50:50 -05:00
Marc-André Moreau
9ebc67ba02
channels/smartcard: cleanup SCardControl
2014-12-22 16:25:59 -05:00
Marc-André Moreau
0625be2720
channels/smartcard: fix SCardGetAttrib SCARD_AUTOALLOCATE support
2014-12-22 13:28:16 -05:00
Marc-André Moreau
08c8c6f285
channels/cliprdr: fix empty clipboard format lists, server-side locking
2014-12-20 13:07:30 -05:00
Marc-André Moreau
265e8b9e9d
cliprdr/server: make channel thread optional
2014-12-18 11:11:36 -05:00
Marc-André Moreau
afce8061b3
cliprdr/server: split add Open/Close callbacks
2014-12-18 10:46:23 -05:00
Marc-André Moreau
724d9f95a1
channels/cliprdr: move server cliprdr read code to separate function
2014-12-18 09:50:02 -05:00
Marc-André Moreau
c3b172352d
cliprdr/cliprdr: add missing server-side cliprdr sending functions
2014-12-15 17:27:20 -05:00
Marc-André Moreau
a69eaddecd
channels/cliprdr: add missing messages in cliprdr server
2014-12-15 17:05:32 -05:00
Marc-André Moreau
f1bd547580
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/X11/xf_client.c
2014-12-15 15:55:51 -05:00
Marc-André Moreau
0d56e26438
channels/cliprdr: fix server-side cliprdr receive
2014-12-15 15:39:56 -05:00
erobertor
d647fd2f36
Update drdynvc_main.c
...
fixed memory leak
2014-12-15 18:36:56 +01:00
Bernhard Miklautz
1b663ceffe
build: cmake 3.1 compatibility
...
* fix problem with REMOVE_DUPLICATES on undefined lists
* since 3.1 file(GLOB FILEPATHS RELATIVE .. returns single / instead of // as
previously - necessary adoptions for regex and matches done. Should
work with all cmake versions.
Tested with 3.1.0-rc3
2014-12-12 19:26:22 +01:00
Marc-André Moreau
b579ad3cec
Merge pull request #2261 from akallabeth/more_memleak_fixes
...
More warning and memleak fixes
2014-12-11 08:28:48 -05:00
Marc-André Moreau
da5a9d2579
Merge pull request #2265 from TaGUNil/master
...
Fix segmentation fault in URBDRC
2014-12-11 08:26:44 -05:00
Hardening
7b6c14bdcf
Fix cleanup of RDPEI server-side channel
2014-12-10 16:47:15 +01:00
TaGUNil
da39686a31
channels/urbdrc: fix segfault
...
Fix segmentation fault in urbdrc_main.c caused by missing memset.
2014-12-09 19:28:13 +03:00
Armin Novak
6b2790774e
Fixed missing NULL pointer check.
2014-12-07 00:33:37 +01:00
Armin Novak
b23b0c656e
Fixed uninitialized values in case of error return.
2014-12-07 00:27:06 +01:00
Marc-André Moreau
182dd76037
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-12-04 10:49:01 -05:00
Norbert Federa
12fe822315
cliprdr: fix segfault caused by invalid seek value
2014-12-04 16:07:01 +01:00
Marc-André Moreau
fdd2dc7601
freerdp: patch valgrind leaks, cleanup
2014-12-03 14:17:27 -05:00
Marc-André Moreau
ba5389d9d0
Merge branch 'master' of github.com:awakecoding/FreeRDP
2014-11-21 15:10:48 -05:00
Marc-André Moreau
7881ec762e
server/shadow: avoid sending pointer updates when not active, fix remdesk leak
2014-11-21 15:10:39 -05:00
Marc-André Moreau
3992e5e650
Merge pull request #2224 from hardening/rdpei_server
...
Add server-side RDPEI
2014-11-20 16:37:12 -05:00
Hardening
ed6f380434
Add server-side RDPEI
...
This patch mutualize code between client and server for RDPEI. And add support for
the server-side.
2014-11-20 22:19:29 +01:00
Marc-André Moreau
b8f694d8df
mfreerdp: fix cliprdr copy with Windows XP
2014-11-20 16:05:13 -05:00
Marc-André Moreau
c4ab4ad128
channels/cliprdr: partially fix short format names
2014-11-20 14:28:05 -05:00
Armin Novak
1873cc037d
Fixed null pointer dereference.
2014-11-17 01:23:54 +01:00
Armin Novak
e390dd0eeb
Fixed null pointer dereference.
2014-11-17 01:19:40 +01:00
Armin Novak
915a08d592
Fixed memory leak.
2014-11-17 00:56:05 +01:00
Armin Novak
d2952d1776
Fixed memory leak.
2014-11-17 00:06:14 +01:00
Armin Novak
abd0abf01b
Fixed allocation size warning.
2014-11-16 23:44:10 +01:00
Armin Novak
24f3f0c4a6
Fixed memory leaks.
2014-11-16 23:30:31 +01:00
Armin Novak
99a26263c7
Fixed memory leaks.
2014-11-16 23:26:56 +01:00
Armin Novak
5c71a64910
Fixed uninitialized data.
2014-11-16 22:26:38 +01:00
Armin Novak
d653e6382e
Fixed uninitialized variable.
2014-11-16 16:58:43 +01:00
Armin Novak
b9908af64a
Fixed memory leaks.
2014-11-16 16:02:28 +01:00
Armin Novak
6196eb81b2
Fixed free of uninitialized value.
2014-11-16 16:01:08 +01:00
Marc-André Moreau
496ce10637
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-11-15 12:37:29 -05:00
Emmanuel Ledoux
096159054b
winpr-comm: ignore errors on TIOCGICOUNT during the port initialization but the permissive mode must be on afterwards.
2014-11-13 19:54:32 +01: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
24a752a708
channels/cliprdr: remove dependency on deprecated eventing system, svc_plugin.c
2014-11-12 12:56:03 -05:00
Bernhard Miklautz
3e0e0c868e
Revert a bug introduced in PR #2134
...
FREERDP_CHANNELS_SERVER_SRCS need to be added to server/common that the
symbols get added and exported with libfreerdp-server.
Also remove duplicated version information.
2014-11-12 17:15:13 +01:00
Marc-André Moreau
f7e52c5e09
channels/rail: remove dependency on svc_plugin.c
2014-11-12 10:43:02 -05:00
Marc-André Moreau
589c21d819
libfreerdp-utils: remove rail utils
2014-11-12 10:18:53 -05:00
Marc-André Moreau
68c9e68400
channels/rail: remove dependency on deprecated eventing system
2014-11-12 09:46:04 -05:00
Marc-André Moreau
1225c6b5ce
xfreerdp: separate app windows from desktop windows
2014-11-11 22:27:33 -05:00
Marc-André Moreau
b2f7c488ab
xfreerdp: cleanup and fix RemoteApp
2014-11-11 16:35:30 -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
Vinche
d7fe4d2803
Implementation for IOCTL_SCARD_LOCATECARDSBYATRA
2014-11-11 00:35:46 +01:00
Vinche
d427faf5c6
Cleaning Code
2014-11-10 23:51:34 +01:00
Vinche
53707c97c8
Comments
2014-11-10 23:48:55 +01:00
Vinche
fdb95c712b
Implementation for Smartcard Reader with Pin Pad
2014-11-10 23:40:22 +01:00
Marc-André Moreau
ee7299ec3f
channels/tsmf: remove dependency on deprecated eventing system
2014-11-10 16:33:34 -05:00
Marc-André Moreau
edd4aa797c
xfreerdp/tsmf: migrate to callback interface
2014-11-10 16:23:04 -05:00
Marc-André Moreau
a8ceed9dda
channels/tsmf: integrate pull request #2012
2014-11-10 14:18:23 -05:00
Marc-André Moreau
129582e67f
channels/tsmf: cleanup
2014-11-10 14:02:54 -05:00
Vinche
2708a8de5c
first commit
2014-11-09 22:42:35 +01:00
Marc-André Moreau
a6bb185760
channels/tsmf: add new callback interface
2014-11-07 18:33:45 -05: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
Martin Fleisz
d58c6de93c
Merge pull request #2134 from akallabeth/windows_version_information
...
Windows version information
2014-10-31 12:23:11 +01:00