Armin Novak
9f5da483dc
Reformatted files touched in last 2 commits.
2016-10-06 13:43:12 +02:00
Armin Novak
88a3b8dd76
Initializing channel context in each thread.
2016-10-06 13:43:12 +02:00
Armin Novak
dadc5262ae
Removed static channel variables.
...
Global static variables do not work, if more than one instance
of an RDP client is running in the same process space.
Removed the varaibles where possible and replaced them with
thread local storage where necessary.
2016-10-06 13:43:09 +02:00
Armin Novak
35f1347d53
Fixed warnings and mac build.
2016-10-06 13:43:04 +02:00
David PHAM-VAN
4265177f9f
Fix Memory Leaks in RdpDR
2016-09-15 10:44:15 -07:00
Marc-André Moreau
915b9a15b1
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
winpr/libwinpr/bcrypt/CMakeLists.txt
2016-05-11 11:05:17 -04:00
Marc-André Moreau
4d629a7999
freerdp: UWP porting
2016-03-29 16:03:15 -04:00
Armin Novak
2dbc1a0b87
Reverted WTS API changes.
2016-03-14 13:19:08 +01:00
Armin Novak
36cbf1b583
Fixed error handling for channel load failures.
2016-03-14 13:13:43 +01:00
David PHAM-VAN
40504c5460
Fix Uninitialized Variable
2016-03-02 10:04:24 -08:00
David PHAM-VAN
f4eb278935
Mount only removable devices and network drives in Windows; Adds consistency with Linux and Mac
2016-03-02 10:01:51 -08:00
David PHAM-VAN
31d9599d09
Move first_hotplug call to parent thread to avoid parallel access to devman dictionary
2016-03-02 10:01:51 -08:00
David PHAM-VAN
2e1e6a4ff0
Add hotplug support for MacOS
2016-03-02 10:01:51 -08:00
Armin Novak
511f9e810a
Use ERROR_INVALID_DATA for short buffers.
2016-02-03 11:04:35 +01:00
Armin Novak
d847993a0c
Using Stream_ReminingLength for read checks.
2016-01-28 12:30:10 +01:00
Armin Novak
6f50589c05
Cleared up error code usage.
2016-01-28 12:05:14 +01:00
Armin Novak
57f1e26f36
Checking capability read return.
...
Updated copyright headers.
2016-01-28 11:14:29 +01:00
Armin Novak
e08ca73ddc
Improved error checks.
2016-01-27 19:26:52 +01:00
Armin Novak
deffd0d781
Fixed argument checks for drive channel.
2016-01-24 15:21:06 +01:00
Armin Novak
aa90673008
Fixed memory leak on cleanup.
2016-01-15 09:33:21 +01:00
Armin Novak
61e7f993aa
Fixed possible memory leak.
2015-09-01 12:34:40 +02:00
Armin Novak
c7238fb9d9
Fixed uninitialized values.
2015-09-01 12:26:33 +02:00
Armin Novak
276685263d
Fixed cleanup code.
2015-08-28 11:46:24 +02:00
Armin Novak
5e360ddcb1
Fixed memory leak.
2015-08-28 11:22:21 +02:00
Armin Novak
198b70db0e
Fixed memory leak.
2015-08-28 11:05:44 +02:00
Martin Haimberger
52405a3e79
Remove WIN32ERROR type
...
All return values are UINT now.
2015-08-27 05:38:20 -07:00
Martin Haimberger
414d4b8f8e
fixed wrong returntype under windows
2015-07-30 07:50:10 -07:00
Martin Haimberger
65fd259610
misc fixes:
...
fixed all bugs from the review
checking all WaitFor*Object/s calls
2015-07-30 06:49:21 -07:00
Bernhard Miklautz
9fb6705380
rdpdr/printer: ignore unhanded packetID
...
Ignore packetIDs PRN_CACHE_DATA and PRN_USING_XPS instead of returning
an error.
2015-07-28 14:05:57 +02:00
Martin Haimberger
b8c110d19b
introduced channel error reporting system
...
The rdpContext gets an event which will
get set if an error occoured in a channel.
If a thread or a void callback has to report an
error it will get signaled by this system.
2015-07-15 00:50:35 -07:00
Martin Haimberger
6e4e1c2773
Merge remote-tracking branch 'upstream/master' into mh-stream-fix
...
Conflicts:
client/Windows/wf_cliprdr.c
2015-06-18 03:06:40 -07:00
Martin Haimberger
0bf222ec50
hardend rdpdr channel
2015-06-18 03:04:32 -07:00
David FORT
12f873f1f9
Fixed MessageQueue and callers
2015-05-29 14:24:14 +02:00
David FORT
f8d6eb226c
Fixed last VirtualChannelEntry
2015-05-19 13:56:48 +02:00
Hardening
f8120919af
Add checks for some XXX_New and XXX_Add functions
...
Based on PR #2616
2015-05-18 11:28:00 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Armin Novak
ac81b9ddf5
Fixed variable initialisation and cleanup.
2015-01-20 12:31:26 +01:00
Armin Novak
4171589647
Added CHANNEL_EVENT_DISCONNECTED handling.
...
Additional error checks and logging.
2015-01-20 11:55:22 +01: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
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
fdd2dc7601
freerdp: patch valgrind leaks, cleanup
2014-12-03 14:17:27 -05:00
Armin Novak
b1e9ffb655
Using wlog for channel logging now.
...
Fixed compiler warnings and broken callback in urbdrc.
2014-09-15 08:48:46 +02:00
Armin Novak
66b8905ac6
Using special log defines for channels now.
2014-08-11 09:12:01 +02:00
Armin Novak
b252009d36
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:49 +02:00
erbth
1a01949b68
drive hotpluging: register mounted drives already before first hotplug
2014-06-11 21:47:14 +02:00
Marc-André Moreau
ee282a931b
freerdp: fix build warnings on Windows
2014-05-10 09:50:36 -04:00