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
Kobi Mizrachi
14119ac48d
server: proxy: fix race issue
...
Proxy server might receive input updates while client side being
redirected (and reset), then a heap-after-free might occur. To solve
this, we register server input/update callbacks only after client is
fully activated.
(cherry picked from commit db0196fd01
)
2020-07-07 12:06:12 +02:00
akallabeth
757b4106e6
Updated version information for 2.2.0 release
2020-07-07 10:56:21 +02:00
Armin Novak
3cdfe18da9
Fixed urbdrc device path
...
(cherry picked from commit 6374700098
)
2020-07-07 10:44:12 +02:00
Armin Novak
28d878681d
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
(cherry picked from commit b97cb4c95d
)
2020-07-07 10:44:12 +02:00
akallabeth
252c793c01
Replaced malloc in urbdrc channel
...
(cherry picked from commit 3ae6feeebe
)
2020-07-07 10:44:12 +02:00
akallabeth
059c4ed46d
Fixed discrepancy in string descriptor default
...
(cherry picked from commit 747513d901
)
2020-07-07 10:44:12 +02:00
akallabeth
effbc11867
Replaced memset in urbdrc
...
(cherry picked from commit e84c3829bf
)
2020-07-07 10:44:12 +02:00
akallabeth
7f8d7762e6
Unified logging for urbdrc libusb wrapper
...
(cherry picked from commit a81001c3a3
)
2020-07-07 10:44:12 +02:00
akallabeth
32004a50fe
Initialize variable in func_instance_id_generate
...
(cherry picked from commit a4a4992750
)
2020-07-07 10:44:12 +02:00
akallabeth
e1cacc0762
Improved error log for string descriptor read issues
...
(cherry picked from commit dd2589cebc
)
2020-07-07 10:44:12 +02:00
akallabeth
40a29037df
Reverted check for short usb descriptor
...
(cherry picked from commit 6ba67a07be
)
2020-07-07 10:44:11 +02:00
akallabeth
de5c013e37
Added compile time urbdrc debug option
...
(cherry picked from commit 5244efadcf
)
2020-07-07 10:44:11 +02:00
akallabeth
f621d2efea
Dump USB channel data with log-level trace
...
(cherry picked from commit e32ba76deb
)
2020-07-07 10:44:11 +02:00
Kobi Mizrachi
01f7644e4c
server: proxy: proxy rdp heartbeats
...
(cherry picked from commit 659e4c772b
)
2020-07-07 09:59:41 +02:00
Kobi Mizrachi
db2d8b11e9
libfreerdp: core: add ServerHeartbeat callback
...
(cherry picked from commit 2096ede5cc
)
2020-07-07 09:59:41 +02:00
Armin Novak
7c638a3bb2
Moved pthread non portable function checks before ASAN
...
(cherry picked from commit 4d529f6f95
)
2020-07-06 15:40:03 +02:00
Armin Novak
db7f73f9ae
Refined asan checks
...
Find threads before ASAN checks as for android builds the check
might fail if done afterward.
(cherry picked from commit 44f2e86982
)
2020-07-06 14:26:52 +02:00
akallabeth
68238db25c
Removed unnecessary checks for asan
...
check_c_compiler_flag is unreliable, only use where absolutely
necessary.
(cherry picked from commit 7864a985d4
)
2020-07-06 11:55:47 +02:00
Kobi Mizrachi
f6cbe92b94
rail: server: rename rail_send_pdu -> rail_server_send_pdu
...
(cherry picked from commit ec06a98e84
)
2020-07-06 11:15:37 +02:00
Kobi Mizrachi
cf6be7f6d4
rail_common.c: Fix rail_get_order_type_string
...
(cherry picked from commit 5438b94c97
)
2020-07-06 11:15:31 +02:00
Kobi Mizrachi
7f10a9261c
rail: server: mark rail_send_pdu as static function
...
(cherry picked from commit c3b28e8bce
)
2020-07-06 11:15:25 +02:00
Armin Novak
894d926a29
Fixed #6335 : windows client title length
...
(cherry picked from commit dfbeeb1e16
)
2020-07-06 11:14:35 +02:00
akallabeth
0c58e0b6dc
Added hint for errors due to missing offscreen-cache
...
(cherry picked from commit 57e7a99393
)
2020-07-06 11:14:05 +02:00
akallabeth
6565326bcd
Use CMake to detect availability of getlogin_r
...
(cherry picked from commit 3a5bfd2bd0
)
2020-07-06 11:13:51 +02:00
Armin Novak
abf598b086
Fixed uninitialized value
...
(cherry picked from commit dc112d1935
)
2020-07-06 11:13:45 +02:00
akallabeth
cb03d8701d
Filter GSM codec for microphone redirection
...
(cherry picked from commit c5984ff811
)
2020-07-06 11:13:26 +02:00
Pascal Nowack
b898786263
nsc: Fix memory leak
...
Fixes the following memory leak:
==115716== 16,662,960 bytes in 459 blocks are definitely lost in loss record 3,504 of 3,504
==115716== at 0x48396AF: malloc (vg_replace_malloc.c:306)
==115716== by 0x4C6A4E2: nsc_context_initialize_encode (nsc_encode.c:77)
==115716== by 0x4C6A4E2: nsc_compose_message (nsc_encode.c:497)
(cherry picked from commit 9bd4574050
)
2020-06-29 08:13:05 +02:00
Armin Novak
524061ab88
Fixed creating release zip from folder
...
(cherry picked from commit 16350dcdda
)
2020-06-26 11:02:03 +02:00
Armin Novak
62530e2d9d
Fixed #6298 : Mask CACHED_BRUSH when checking brush style
...
(cherry picked from commit ce1a9d8d19
)
2020-06-26 11:01:45 +02:00
Armin Novak
ed4276108f
Fixed spelling, print errors to stderr
...
(cherry picked from commit b50525d1fb
)
2020-06-26 11:01:30 +02:00
Armin Novak
0bdda779b7
Fixed bug with creating release source_version
...
(cherry picked from commit 5490ce5099
)
2020-06-26 11:01:23 +02:00
Martin Fleisz
584efae073
Merge pull request #6285 from akallabeth/stable-backports2
...
Stable backports
2020-06-22 12:44:36 +02:00
Armin Novak
93bed51ae2
Updated versions to 2.1.2
2020-06-22 12:26:08 +02:00
Armin Novak
96333fd722
Added changelog for 2.1.2
...
(cherry picked from commit 5dc50f6418
)
2020-06-22 12:14:10 +02:00