Armin Novak
c7bf33aad0
Fixed drive hotplug path comparison.
2021-01-27 09:27:08 +01:00
Martin Fleisz
b092ab3b85
channels/smartcard: Fix race in channel cleanup
2021-01-22 09:49:56 +01:00
akallabeth
9e8d3fbbf5
Check drive to hotplug for already being redirected
...
some hotplug implementations report the same drive multiple times.
to avoid redirecting the same drive multiple times check if it is
already in the list before adding.
2021-01-15 10:41:12 +01:00
akallabeth
12427f006f
Fixed linking dependencies for client geometry channel
2020-12-08 14:01:06 +01:00
akallabeth
4d1a7cf5fa
Renamed RDPEI flags due to problems with windows headers
2020-11-30 13:54:33 +01:00
akallabeth
d9d22aa422
Fixed sound buffering issues with compressed formats
2020-11-26 15:26:35 +01:00
Armin Novak
d493cf6f07
Cleaned up rdpei channel, updated to current spec.
2020-11-23 10:29:47 +01:00
Martin Fleisz
a5fce9e64b
channels/audin: Request correct media type in audin channel on Mac
2020-11-20 15:37:19 +01:00
akallabeth
51811a369f
Fixed missing stream length checks.
2020-11-20 09:39:25 +01:00
akallabeth
d11422b6b8
Added missing include.
2020-11-18 07:18:25 +01:00
Martin Fleisz
c78e31e451
channel/rdpdr: Fix hotplug for drive redirection on Windows
...
The path was incorrectly cut of after the drive letter causing hot
plugged drives to show up empty and disconnecting the client if the
device was removed later on.
2020-11-13 12:26:29 +01:00
akallabeth
2e5280feec
Fixed possible out of bound access in usb channel.
2020-11-10 09:02:35 +01:00
akallabeth
66dc4cc9ee
Fixed compilation warnings.
2020-11-10 08:53:43 +01:00
akallabeth
7f1cca78aa
Clean up drdynvc channels porperly locked.
2020-11-06 13:38:47 +01:00
akallabeth
6e3c00725a
Cleaned up collections:
...
ArrayList, MessageQueue, Queue, PubSub, BipBuffer
ObjectPool and BufferPool
2020-11-06 12:30:13 +01:00
Martin Fleisz
80cba204c0
Merge pull request #6521 from akallabeth/mac_fixes
...
Mac fixes
2020-10-28 09:55:20 +01:00
akallabeth
6e5f5de439
Do not abort disc hotplug if no access to mount tab.
2020-10-27 15:45:56 +01:00
akallabeth
55b95769d0
Fixed #6518
2020-10-21 19:48:27 +02:00
Armin Novak
0e0eb5f41f
Added permission checks for mac audio backend.
2020-10-21 19:44:09 +02:00
akallabeth
e4243bb33c
Corrected clipboard capability mask
2020-10-02 13:17:00 +02:00
Ilya Shipitsin
b62da2cbcc
channels/disp/client/disp_main.c: fix possible null pointer dereference
...
found by cppcheck
channels/disp/client/disp_main.c:340:7: warning:
Either the condition 'if(disp&&disp->listener_callback)' is redundant or
there is possible null pointer dereference: disp. [nullPointerRedundantCheck]
2020-10-02 09:58:03 +02:00
akallabeth
f282c55c7a
Added clipboard CB_HUGE_FILE_SUPPORT_ENABLED flag
2020-09-29 09:03:49 +02:00
akallabeth
1546a8b655
Fixed naming of FILEDESCRIPTORW
2020-09-18 12:49:54 +02:00
Felix Deimel
19f74a2698
Fixes #5747 : Only activate sound output device ( #6467 )
...
* Fixes #5747 : Only activate sound output device
2020-09-08 10:55:49 +02:00
akallabeth
6f00308db7
Fixed short length for usb io control return.
2020-08-13 13:51:38 +02:00
Armin Novak
6ce0517593
Manually free up libusb transfer data to avoid double free
2020-08-12 10:34:58 +02:00
Armin Novak
81d59b2d47
Fixed double free on channel close in channel write.
2020-08-12 10:10:18 +02:00
Martin Fleisz
2d715e4681
Merge pull request #6429 from akallabeth/channel_init_check
...
Added duplicate initialization check for plugins.
2020-08-11 14:34:07 +02:00
Martin Fleisz
1e7330b861
Merge pull request #6363 from akallabeth/urbdrc_double_free_fix
...
[URBDRC] Added return checks for replaced HashTable with ArrayList
2020-08-11 14:33:17 +02:00
akallabeth
786f6bbfe8
Fixed missing async user data extraction from libusb transfer
2020-08-11 14:12:36 +02:00
Armin Novak
75aab487e2
Added duplicate initialization check for plugins.
2020-08-10 16:17:44 +02:00
Armin Novak
93ee13245c
Fixed urbdrc server notification of channel close
...
There was a recursion issue with usb device channel closing and
local redirected device removal.
If the local redirected device is removed due to hotplug events,
the device channel needs to be closed, which in turn checks if
the local device list contains the device. Ensure that the
channel close code is only executed when not called from the
channel side.
2020-08-10 13:40:41 +02:00
akallabeth
dbeaa614d6
Removed channel close in USB channel done after channel is freed
2020-08-10 13:34:30 +02:00
akallabeth
8c859575cf
Fixed access to user_data after free
2020-08-10 13:34:30 +02:00
akallabeth
54c92e78e6
Fixed invalid buffer length and duplicated write function.
2020-08-10 13:34:30 +02:00
akallabeth
e7533130a6
Fixed urbdrc arraylist locking
2020-08-10 13:34:30 +02:00
Armin Novak
28bc636d53
Unified streamID read/write
2020-08-10 13:34:30 +02:00
Armin Novak
3ebc71abf3
Replace wHashTable with wArrayList in USB channel
...
The streamID is not guaranteed to be uniqe, so add all transfers
to a list and remove by checking pointers instead of the streamID
2020-08-10 13:34:30 +02:00
Armin Novak
ea8f93441d
Added return checks for HashTable_Add
2020-08-10 13:34:30 +02:00
Armin Novak
57b405ca26
Fixed compilation warnings.
2020-08-10 12:14:11 +02:00
Alexandr
616af2d5b8
fixed build on freebsd ( #6395 )
...
* fixed build on freebsd
2020-07-27 11:36:24 +02:00
Zhu Qun-Ying
2ba7f9da1d
cliprdr_common.c: fix memory leak in certain error condition
2020-07-25 16:55:34 +02:00
Zhu Qun-Ying
2a286fbf65
Fixed error msg typo in ciprdr_main.c
2020-07-25 16:55:21 +02:00
Marco van Wieringen
9db147c317
Add support for getmntent support on Illumos
...
This implements reading mount entries on Solarish operating systems like
OpenIndiana etc using the somewhat different getmntent support available
there.
2020-07-24 09:16:46 +02:00
akallabeth
4039370064
Fixed input sanitation in rdpgfx_recv_solid_fill_pdu
...
The input rectangle must be checked for plausibility.
Thanks to Sunglin and HuanGMz of the Knownsec 404 security team and pangzi of pwnzen
2020-07-20 14:11:36 +02:00
Kobi
5667c12be5
Merge pull request #6360 from kubistika/proxy_rail_handshake_ex_flags_sync
...
server: proxy: rail: handshake ex flags sync
2020-07-07 15:54:08 +03:00
Kobi Mizrachi
004c2f49e4
rail: server: add API to set railHandshakeExflags
2020-07-07 15:31:20 +03:00
Armin Novak
8cee10319a
Fixed urbdrc device path
2020-07-07 10:43:08 +02:00
Armin Novak
6efc72707c
Fixed bDeviceClass check in udev_init
...
Use the proper constant 0xef (Miscellaneous) instead of
0xfe (Application Specific)
See https://www.usb.org/defined-class-codes
2020-07-07 10:43:08 +02:00
akallabeth
bc7d423c6c
Replaced malloc in urbdrc channel
2020-07-07 10:43:08 +02:00