14421 Commits

Author SHA1 Message Date
Ondrej Holy
25ac571dd7 gdi: Fix missing unlock
This fixes the following defect reported by covscan tool:
libfreerdp/gdi/gfx.c:144: missing_unlock: Returning without unlocking "update->mux".

(cherry picked from commit 914808f62cd2ac4a6984ee638112e8dc3aad9e52)
2020-06-16 09:08:15 +02:00
Simon Tatham
dc735d3d36 [generate_argument_docbook] Fix typo in XML entity.
The character '>' was being rendered as < instead of >.

(cherry picked from commit 98930bf2759905f2290e5d777f57a79e7589f220)
2020-06-16 09:07:48 +02:00
Patrick Chin
fa647175cb Fix memory leaks in client/encomsp_main.c and client/remdesk_main.c
(cherry picked from commit 28e29f8ad568b195a9d6a1d785eaa81da13f93ff)
2020-06-16 09:07:37 +02:00
Armin Novak
39c5243247 Fixed #6245: Added additional tests to assistance parser
(cherry picked from commit 69141aa830b6e73e859f907b9bd2a4cac2777d8f)
2020-06-16 09:07:27 +02:00
Florian Staudacher
5491795588 report only actual bytes received, not allocated buffer size (interrupt produces data, timeout doesn't)
(cherry picked from commit 2e4f27ac9f7bcecb3c3f453341818e538386207f)
2020-06-16 09:07:16 +02:00
akallabeth
d2c653baf3 Lock remaining occurances of security_encrypt/security_decrypt variables
(cherry picked from commit f01ae7d2573b677eba6c8a50fe12246a23b15f2e)
2020-06-16 09:07:04 +02:00
akallabeth
4f80017786 Lock security_decrypt to avoid simultaneous counter manipulation
(cherry picked from commit 164c00f68b64781d8c624a8c71fab6691519d294)
2020-06-16 09:06:56 +02:00
Florian Staudacher
f681d2450f only call 'libusb_set_interface_alt_setting' when value is changed
(cherry picked from commit ea8c922355c48b6a18900aa543e716b6ae1cd08e)
2020-06-16 09:06:45 +02:00
Ondrej Holy
ef394b61a1 winpr/library: Use RTLD_GLOBAL for dlopen
LoadLibraryA implementation uses the RTLD_LOCAL flag for dlopen currently.
This flag doesn't allow the symbols to be used by the subsequently loaded
libraries. This is a problem for the video channel when -DBUILTIN_CHANNELS=OFF
is used as it uses functions from the geometry channel. Let's use RTLD_GLOBAL
instead to prevent "undefined symbol" errors in such cases.

Fixes: https://github.com/FreeRDP/FreeRDP/issues/6236
(cherry picked from commit d8cd671cc68d503757e32eb80f7a4dee44e47754)
2020-06-16 09:06:33 +02:00
akallabeth
daf6d8889e Added scancodes for launch keys
(cherry picked from commit c97c1ca359db825ee6d172b5860b793dcf3a1e83)
2020-06-16 09:06:23 +02:00
Armin Novak
987d26b6a5 Added release zip creation to script.
(cherry picked from commit 25f62eedddc8fb249e0936f86f9984ee9724c6a1)
2020-06-16 09:05:42 +02:00
Armin Novak
ce6f2a271b Fixed #6221: Update floatbar position with multitouch input
(cherry picked from commit 004910ce5d76e114f4f8cfec6429004b26bc4443)
2020-06-16 09:05:31 +02:00
Armin Novak
0c779b4fef Fixed memory leak in rdpei
(cherry picked from commit 8c2c19bbc81eaf69169bd581dbac8c9a906fb5ee)
2020-06-16 09:05:24 +02:00
Bernhard Miklautz
37e3b2be56 new: add release script
Add a updated version of script for creating the release tarball.
If TAG is set the TAG is used otherwise it is tried to detect the last
TAG using git describe.

(cherry picked from commit 93d6de297800568b571e373d6989c54345f1e1da)
2020-06-16 09:05:12 +02:00
akallabeth
b83f79c3b3 Read newline from stdio on certificate accept
(cherry picked from commit 5b842bc7a78621218b1179923c002d32c41f15fe)
2020-06-16 09:05:01 +02:00
Martin Fleisz
1923e63516
Merge pull request #6212 from akallabeth/stable_backport_cve
Stable backport cve
2.1.1
2020-05-20 16:45:43 +02:00
akallabeth
3c33c6e1a2 Prepared version for 2.1.1 2020-05-20 15:55:52 +02:00
akallabeth
470b21d32d Updated changelog for 2.1.1 2020-05-20 15:55:52 +02:00
akallabeth
ca246a6bfd Clear dynamic channel lists on disconnect.
(cherry picked from commit a1eb3e66b31579d3d878dee67913962140f75255)
2020-05-20 15:41:24 +02:00
Kobi Mizrachi
6e87805869 codec: fix typo in progressive codec log
(cherry picked from commit 8d72051ab157d89af3f919a441170ca57bf67e84)
2020-05-20 15:41:24 +02:00
akallabeth
ece877b515 Fixed some more resource cleanup leaks in nla
(cherry picked from commit 354bb7d6ae98df282775d154b609a39c1068a09b)
2020-05-20 15:41:24 +02:00
akallabeth
df63cfb55f Reformatted to satisfy clang-format
(cherry picked from commit a4e95f8e65dfbfd2625034ad6740645366a6c0c0)
2020-05-20 15:41:24 +02:00
akallabeth
f975fe2746 Abort on first possible certificate validation error
Only retry certificate validation if the purpose was wrong.

(cherry picked from commit de619e9964684eced5fb3108de81440b979aace0)
2020-05-20 15:41:24 +02:00
akallabeth
5a1167f7e3 Fixed #6197: NULL check in urbdrc
(cherry picked from commit fb3a0e6b5ae3b4e6523509a0ec0c522425968989)
2020-05-20 15:41:24 +02:00
Armin Novak
ff31ac6da7 Fixed #6195: Wrong length read/write in rdpei
(cherry picked from commit a18a732d4b87c85bcd364626b9ab2b8f95f9e955)
2020-05-20 15:41:24 +02:00
Armin Novak
c6bcfb0736 Fixed #6200: Arraysize check
(cherry picked from commit 06c48df0dfd228646fed00c554a20ae9bcaa5e5e)
2020-05-20 15:41:24 +02:00
Armin Novak
87bca1088a Fixed #6199: Reading version information in tsg
(cherry picked from commit e501c56e5ca0c76c4019e7048cba3ee63331d830)
2020-05-20 15:41:24 +02:00
Armin Novak
7ab56ab14c Fixed #6201: event handler count check
(cherry picked from commit 018eaa44f52b3e9e33bfa80493faf9be57713a3d)
2020-05-20 15:41:24 +02:00
akallabeth
77b5043d21 Reset pointer to NULL after free.
(cherry picked from commit 33c7f808154c6682d3b84526a46d79f3e8d5c1ac)
2020-05-20 15:41:24 +02:00
akallabeth
442ac71ec7 Renamed variable to avoid MSVC define collission
(cherry picked from commit f9e1f21b0ce47d8eeea40314ce6b8b666964dc7d)
2020-05-20 15:41:24 +02:00
akallabeth
2c2dde246a Fixed missing label 2020-05-20 15:41:24 +02:00
akallabeth
fba85da673 Ensure buffers are NULL before reuse in NLA
(cherry picked from commit 5f53b2b7c7109016b7127d595e13bd333ac77613)
2020-05-20 15:41:24 +02:00
akallabeth
9d5bb41445 Removed unused variable warnings
(cherry picked from commit 8052708f3354a686de98b62d641e9d0eb61a74db)
2020-05-20 15:41:24 +02:00
akallabeth
6e348b9a18 Fixed invalid argument to strtok_s
(cherry picked from commit dc4ac3ba17b6a340b96aa3f6363c6fac866696b7)
2020-05-20 15:41:24 +02:00
akallabeth
d6cd14059b Fixed GHSL-2020-101 missing NULL check
(cherry picked from commit b207dbba35c505bbc3ad5aadc10b34980c6b7e8e)
2020-05-20 15:41:24 +02:00
akallabeth
8305349a94 Fixed GHSL-2020-102 heap overflow
(cherry picked from commit 197b16cc15a12813c2e4fa2d6ae9cd9c4a57e581)
2020-05-20 15:41:24 +02:00
akallabeth
cf4f6dbf3f Fixed multiple sanitizer errors in codecs
(cherry picked from commit 2278d92a5d902692a7d1088629b2345c9b4e229c)
2020-05-20 15:41:24 +02:00
akallabeth
865239967e Fixed issues with clang sanitizers and alignemt offsets.
(cherry picked from commit 4c1011fec37459ecc11f6c4453bcd693ed614e5d)
2020-05-18 17:10:01 +02:00
akallabeth
2e28385fbb Fixed history buffer reset.
(cherry picked from commit ccc9cbef2d5d0d9f5cf5ec7621f71bed33f41aba)
2020-05-18 17:10:01 +02:00
akallabeth
a58129346d Fixed extended info packet alignment.
(cherry picked from commit 03ebaf2dc1547c75f8693dd5087ce2e8dc17765a)
2020-05-18 17:10:01 +02:00
akallabeth
4e24cca056 Fixed rdp_read_info_packet unaligned access and size checks
(cherry picked from commit c75d08d70e878d35cd12ffac2aefcda405576092)
2020-05-18 17:10:01 +02:00
akallabeth
f2d836cd94 Fixed memory leak in test
(cherry picked from commit 2d630cccf7b1e566f99b74a224805fc25f85d6c1)
2020-05-18 17:10:01 +02:00
akallabeth
1a11f129ab Fixed unaligned access
(cherry picked from commit cb2ed7f09ad68242bfdfad8967024b063f785d97)
2020-05-18 17:10:01 +02:00
akallabeth
3a2ce9b8bd Fixed rails debug string warnings.
(cherry picked from commit e58ea30305e8754ada82018c4f2042ec1b72337c)
2020-05-18 17:10:01 +02:00
akallabeth
0122ebfffd utf8 behaviour fixes
(cherry picked from commit bb78eb4fa6f8618a70995eaf17aba94cc47a1e74)
2020-05-18 17:10:01 +02:00
akallabeth
47c456c39f Rewritten rdp_recv_logon_info_v2 to remove unaligned access
(cherry picked from commit 66d182a84bed7bf19b6a99d71a4e4c7c6856f583)
2020-05-18 17:10:01 +02:00
akallabeth
5cf27e3969 Rewritten check to satisfy BehaviouralSanitizer
(cherry picked from commit 14829de866b43e7f2740b46f0c736b9adf5067eb)
2020-05-18 17:10:01 +02:00
akallabeth
8d9464fbc5 Fixed BehaviourSanitizer warning in rdp parser
(cherry picked from commit 771332c04e2dbad964d0cb11a86ff561e792bc35)
2020-05-18 17:10:01 +02:00
akallabeth
2897576c3d Fixed memory leak in NTLM test
(cherry picked from commit 135458cf27160d50e6294f87ef80f27f1f65d319)
2020-05-18 17:10:01 +02:00
akallabeth
6dfd915004 Fixed undefined behaviour
(cherry picked from commit c15929d821ce99aa8c1069f790f4addbe9439593)
2020-05-18 17:10:01 +02:00