akallabeth
048bd8e656
Fixed #6442 : Use cmake to provide source directory for test pem
...
(cherry picked from commit 70881d3957
)
2020-12-01 15:10:23 +01:00
akallabeth
031eb5f9aa
Fixed short length for usb io control return.
...
(cherry picked from commit 6f00308db7
)
2020-12-01 15:10:23 +01:00
Armin Novak
b989149460
Manually free up libusb transfer data to avoid double free
...
(cherry picked from commit 6ce0517593
)
2020-12-01 15:10:23 +01:00
Armin Novak
7ffb1ce638
Fixed double free on channel close in channel write.
...
(cherry picked from commit 81d59b2d47
)
2020-12-01 15:10:23 +01:00
akallabeth
f2321b8482
Fixed missing async user data extraction from libusb transfer
...
(cherry picked from commit 786f6bbfe8
)
2020-12-01 15:10:23 +01:00
Armin Novak
270e741d46
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.
(cherry picked from commit 93ee13245c
)
2020-12-01 15:10:23 +01:00
akallabeth
5572eedc57
Removed channel close in USB channel done after channel is freed
...
(cherry picked from commit dbeaa614d6
)
2020-12-01 15:10:23 +01:00
akallabeth
f8445d3d94
Fixed access to user_data after free
...
(cherry picked from commit 8c859575cf
)
2020-12-01 15:10:23 +01:00
akallabeth
2d5c08a837
Fixed invalid buffer length and duplicated write function.
...
(cherry picked from commit 54c92e78e6
)
2020-12-01 15:10:23 +01:00
akallabeth
ac4fd109a3
Fixed urbdrc arraylist locking
...
(cherry picked from commit e7533130a6
)
2020-12-01 15:10:23 +01:00
Armin Novak
20502ac585
Unified streamID read/write
...
(cherry picked from commit 28bc636d53
)
2020-12-01 15:10:23 +01:00
Armin Novak
8be4d1e09b
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
(cherry picked from commit 3ebc71abf3
)
2020-12-01 15:10:23 +01:00
Armin Novak
7469f53c0d
Added return checks for HashTable_Add
...
(cherry picked from commit ea8f93441d
)
2020-12-01 15:10:23 +01:00
Armin Novak
cbd7964468
Added duplicate initialization check for plugins.
...
(cherry picked from commit 75aab487e2
)
2020-12-01 15:10:23 +01:00
Armin Novak
b0843b68b3
Refactored rdg_read_http_unicode_string warning fixes
...
(cherry picked from commit bfa07e701d
)
2020-12-01 15:10:23 +01:00
Armin Novak
fa7063590f
Refactored socket warning fixes to be more readable.
...
(cherry picked from commit 57de0aebb5
)
2020-12-01 15:10:23 +01:00
Armin Novak
507fecf50e
Fixed warnings.
...
(cherry picked from commit e50a8e09ee
)
2020-12-01 15:10:23 +01:00
Armin Novak
6004eefec5
Fixed missing input length check for color pointer.
...
(cherry picked from commit 47d02a76ce
)
2020-12-01 15:10:23 +01:00
Armin Novak
e805752c4e
Fixed compilation warnings.
...
(cherry picked from commit 57b405ca26
)
2020-12-01 15:10:23 +01:00
Armin Novak
ab1f6d8792
Fixed #6418 : Warning due to invalid const qualifier
...
(cherry picked from commit 226b072af8
)
2020-12-01 15:10:23 +01:00
Armin Novak
d27d31e496
Improve NLA auth token debugging
...
(cherry picked from commit 10ed4ec422
)
2020-12-01 15:10:23 +01:00
Armin Novak
4fda720036
Added log message for not implemented WinPR SSPI_WINPR functions.
...
(cherry picked from commit a9d9908bde
)
2020-12-01 15:10:23 +01:00
Armin Novak
6aa48902f8
Added log message for not implemented WinPR SSPI functions.
...
(cherry picked from commit 2686200c3b
)
2020-12-01 15:10:23 +01:00
Armin Novak
5e1c0b2ffd
Added log message for not implemented WinPR SSPI GSS functions.
...
(cherry picked from commit ef791456e3
)
2020-12-01 15:10:23 +01:00
Armin Novak
c396c5e6f7
Added log message for not implemented Schannel functions.
...
(cherry picked from commit 65819a7215
)
2020-12-01 15:10:23 +01:00
Armin Novak
986e288b81
Added log message for not implemented CREDSSP functions.
...
(cherry picked from commit 7837f517e5
)
2020-12-01 15:10:23 +01:00
Armin Novak
b85e318948
Added log message for not implemented NEGOTIATE functions.
...
(cherry picked from commit 7d0e54e5f8
)
2020-12-01 15:10:23 +01:00
Armin Novak
b38e6f6ae5
Added log message for not implemented NTLM functions.
...
(cherry picked from commit 58f471c7d9
)
2020-12-01 15:10:23 +01:00
Armin Novak
81180aff65
Improve NLA error code logging.
...
(cherry picked from commit 32c9a519df
)
2020-12-01 15:10:23 +01:00
Martin Fleisz
c72055d740
Merge pull request #6405 from akallabeth/an-stable-2.0
...
stable 2.0 backports
2020-08-05 12:21:48 +02:00
akallabeth
92488d5a3c
Use freerdp_settings_[s|g]et* api to access proxy vaiables.
...
Fixes #6414
(cherry picked from commit 44ea09e7ad
)
2020-08-05 11:48:39 +02:00
Martin Fleisz
3522179074
Add GatewayMessageType to public API
...
(cherry picked from commit 174f3257c9
)
2020-08-05 10:59:50 +02:00
Martin Fleisz
c424322be3
Implement gateway message callback for Windows, Wayland and X11 clients
...
(cherry picked from commit 2fe8e762d2
)
2020-08-05 10:59:50 +02:00
Martin Fleisz
18c05a1d5f
gateway: Add processing of consent and service messages with HTTP gateway
...
(cherry picked from commit 130494e34a
)
2020-08-05 10:59:50 +02:00
Gluzskiy Alexandr
647d8e9111
clang-format
...
(cherry picked from commit 481f3b32f6
)
2020-07-31 12:47:36 +02:00
Gluzskiy Alexandr
d646302514
fixed build on freebsd
...
(cherry picked from commit 3bb5d57b70
)
2020-07-31 12:47:36 +02:00
Marco van Wieringen
1250be014b
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.
(cherry picked from commit 56260c0cdb
)
2020-07-31 12:47:19 +02:00
akallabeth
5f3ba52de6
Fix #6399 : Call ConvertFromUnicode with length -1.
...
The input string has ensured NULL termination, so let the function
determine the correct length.
(cherry picked from commit 36499527e7
)
2020-07-31 11:30:43 +02:00
Zhu Qun-Ying
cc4991e6af
cliprdr_common.c: fix memory leak in certain error condition
...
(cherry picked from commit 2b315e8bfa
)
2020-07-31 11:30:25 +02:00
Armin Novak
13bd74f79c
Set BIO data NULL on cleanup
...
Recursive BIO free could double free, if the BIO data is not set
NULL when removed.
(cherry picked from commit 76d10561bb
)
2020-07-23 10:54:05 +02:00
Martin Fleisz
d2ba84a688
Merge pull request #6382 from bmiklautz/release_220
...
FreeRDP security and version 2.2.0 release
2020-07-20 15:38:46 +02:00
Bernhard Miklautz
3640d45996
new: Changelog for 2.2.0
2020-07-20 14:21:59 +02:00
Norbert Federa
8526965eef
core: fix invalid inttype and reference
...
The error message in tpdu_read_header() printed the pointer address and
used PRIu16 for an UINT8 type
(cherry picked from commit 54fdf7947d
)
Fixes #6380
2020-07-20 14:12:34 +02:00
akallabeth
da684f5335
Fixed missing input sanitation for GFX surfaces.
...
Thanks to Sunglin and HuanGMz of the Knownsec 404 security team and pangzi of pwnzen
(cherry picked from commit 5592cb2e10da42592af98f5533d2e42181e86821)
2020-07-15 18:23:57 +02:00
akallabeth
be8c8640ea
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
(cherry picked from commit d862a03cbf88ec6e76e47b84eae7e214690cb607)
2020-07-15 18:23:49 +02:00
Giovanni Panozzo
138256fbc5
Fix seeking in Cache Brush and other Secondary Drawing Orders
...
(cherry picked from commit 9f7e475c16
)
Fixes #6374
2020-07-15 16:45:14 +02:00
Bernhard Miklautz
8f3e7aa373
Merge pull request #6319 from akallabeth/stable-2.0-backports3
...
Stable 2 backports from master
2020-07-15 16:42:24 +02:00
Kobi Mizrachi
da3caff12a
server: proxy: add extern C for c++ plugins
...
(cherry picked from commit 755d20501b
)
2020-07-08 16:49:12 +02:00
Kobi Mizrachi
43924365fb
server: proxy: rail: Fix rail handshake flags sync issue at reconnect
...
(cherry picked from commit cc9ef8f74e
)
2020-07-07 15:03:37 +02:00
Kobi Mizrachi
f5ddbb73e0
rail: server: add API to set railHandshakeExflags
...
(cherry picked from commit 004c2f49e4
)
2020-07-07 15:03:37 +02:00