14493 Commits

Author SHA1 Message Date
akallabeth
40a29037df Reverted check for short usb descriptor
(cherry picked from commit 6ba67a07beeb44878912851cf6ed6c6bf7443e09)
2020-07-07 10:44:11 +02:00
akallabeth
de5c013e37 Added compile time urbdrc debug option
(cherry picked from commit 5244efadcfb158c813d79b8e8c068fc33198f79b)
2020-07-07 10:44:11 +02:00
akallabeth
f621d2efea Dump USB channel data with log-level trace
(cherry picked from commit e32ba76deb8e16834a5bb0d099cc08d1ed44c04d)
2020-07-07 10:44:11 +02:00
Kobi Mizrachi
01f7644e4c server: proxy: proxy rdp heartbeats
(cherry picked from commit 659e4c772bbc7e3807dc94628934e8982f8efcf7)
2020-07-07 09:59:41 +02:00
Kobi Mizrachi
db2d8b11e9 libfreerdp: core: add ServerHeartbeat callback
(cherry picked from commit 2096ede5cc8caa209c532438e3a1173f6b47e2c4)
2020-07-07 09:59:41 +02:00
Armin Novak
7c638a3bb2 Moved pthread non portable function checks before ASAN
(cherry picked from commit 4d529f6f952c3632e13ba43261c263e5b83eca68)
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 44f2e869820c9a33e8875982d20e9bb561736ce1)
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 7864a985d48f0fba4d431b196464f2075ebacd4b)
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 ec06a98e84690a9cf64d080145b71ca9a2e084fa)
2020-07-06 11:15:37 +02:00
Kobi Mizrachi
cf6be7f6d4 rail_common.c: Fix rail_get_order_type_string
(cherry picked from commit 5438b94c979728feeccd13374c77c4881eda8137)
2020-07-06 11:15:31 +02:00
Kobi Mizrachi
7f10a9261c rail: server: mark rail_send_pdu as static function
(cherry picked from commit c3b28e8bced83dd992854e18b8f82eef7af9e54d)
2020-07-06 11:15:25 +02:00
Armin Novak
894d926a29 Fixed #6335: windows client title length
(cherry picked from commit dfbeeb1e16d61734319dd32d25ee12e8715a1bc1)
2020-07-06 11:14:35 +02:00
akallabeth
0c58e0b6dc Added hint for errors due to missing offscreen-cache
(cherry picked from commit 57e7a99393fd3db79cd2a78e6a447aaf2540c521)
2020-07-06 11:14:05 +02:00
akallabeth
6565326bcd Use CMake to detect availability of getlogin_r
(cherry picked from commit 3a5bfd2bd0eee134dbac4a98dcb3ed5227a8c6dc)
2020-07-06 11:13:51 +02:00
Armin Novak
abf598b086 Fixed uninitialized value
(cherry picked from commit dc112d19355491f1b5e23631c15c5d960746bfac)
2020-07-06 11:13:45 +02:00
akallabeth
cb03d8701d Filter GSM codec for microphone redirection
(cherry picked from commit c5984ff811f40b0382a251e76fc5f3690339f80a)
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 9bd457405095c94a24175bc54bd99947fcf6a33d)
2020-06-29 08:13:05 +02:00
Armin Novak
524061ab88 Fixed creating release zip from folder
(cherry picked from commit 16350dcdda73767c7012a2c8f09405944b39d09a)
2020-06-26 11:02:03 +02:00
Armin Novak
62530e2d9d Fixed #6298: Mask CACHED_BRUSH when checking brush style
(cherry picked from commit ce1a9d8d1969ecbb4d24b9f4812654638a44abc2)
2020-06-26 11:01:45 +02:00
Armin Novak
ed4276108f Fixed spelling, print errors to stderr
(cherry picked from commit b50525d1fb47aa6b07450c10f8ad7b5245e523fa)
2020-06-26 11:01:30 +02:00
Armin Novak
0bdda779b7 Fixed bug with creating release source_version
(cherry picked from commit 5490ce50992716d9230bd3ac84b3e819f1c5649f)
2020-06-26 11:01:23 +02:00
Martin Fleisz
584efae073
Merge pull request #6285 from akallabeth/stable-backports2
Stable backports
2.1.2
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 5dc50f64183755862cca75cf151933c42fabbb90)
2020-06-22 12:14:10 +02:00
akallabeth
cb2adc84c0 Fixed possible integer overflow in crypto_rsa_common
Thanks @anticomputer for pointing this out

(cherry picked from commit 02c5ec66e5b47fe4cf2fc96e2cd387a18e3f2bb6)
2020-06-22 12:14:04 +02:00
akallabeth
813204554d Fixed fallback to getlogin for android
(cherry picked from commit caff01877d4df5f25a983b3aa5e57dde6a16a62f)
2020-06-22 12:13:56 +02:00
akallabeth
67ffded1ba Removed duplicate semicolon
(cherry picked from commit 308c2c3544763873a5bea4d18c72c9f62e1584cb)
2020-06-22 12:13:50 +02:00
akallabeth
de3dab1a7d Fixed OOB read in ntlm_av_pair_get
CVE-2020-11097 thanks to @antonio-morales for finding this.

(cherry picked from commit 58a3122250d54de3a944c487776bcd4d1da4721e)
2020-06-22 12:13:41 +02:00
akallabeth
eb1cf9a2ac Fixed broken const variable.
(cherry picked from commit 1c6a6923f87dcfb295c508963f21bebbbc4292ae)
2020-06-22 12:13:31 +02:00
akallabeth
724ceade0f Reset freed HGDI_DC
CVE-2020-4031 thanks to @antonio-morales for finding this.

(cherry picked from commit f753c25ad3d5dae7890fe73cfb3c091c015d97ed)
2020-06-22 12:13:20 +02:00
akallabeth
6780420343 Fixed out of bound read in RLEDECOMPRESS
CVE-2020-4033 thanks to @antonio-morales for finding this.

(cherry picked from commit 0a98c450c58ec150e44781c89aa6f8e7e0f571f5)
2020-06-22 12:13:13 +02:00
akallabeth
12800786a8 Fixed OOB read in update_recv_secondary_order
CVE-2020-4032 thanks to @antonio-morales for finding this.

(cherry picked from commit e7bffa64ef5ed70bac94f823e2b95262642f5296)
2020-06-22 12:13:05 +02:00
akallabeth
ab18f07873 Fixed TrioParse and trio_length limts.
CVE-2020-4030 thanks to @antonio-morales for finding this.

(cherry picked from commit 05cd9ea2290d23931f615c1b004d4b2e69074e27)
2020-06-22 12:12:56 +02:00
akallabeth
746d10179c Fixed OOB read in update_read_cache_bitmap_v3_order
CVE-2020-11096 thanks @antonio-morales for finding this.

(cherry picked from commit b8beb55913471952f92770c90c372139d78c16c0)
2020-06-22 12:12:50 +02:00
akallabeth
c687b8c267 Fixed invalid access in update_recv_primary_order
CVE-2020-11095 thanks @antonio-morales for finding this.

(cherry picked from commit 733ee3208306b1ea32697b356c0215180fc3f049)
2020-06-22 12:12:41 +02:00
akallabeth
ac9f5e8f5d Use localtime_s on windows
(cherry picked from commit c3a1ed780cc4aed639e3391d7cafb9edc9dc623c)
2020-06-22 12:12:35 +02:00
akallabeth
32717ff9db Replaced gmtime with gmtime_r
(cherry picked from commit a45afe9db77a19e5a177fe1dc3e85119013f9587)
2020-06-22 12:12:29 +02:00
akallabeth
23161efa62 Fixed codition with side effects
(cherry picked from commit 1a02af5a12b400fcb6ad121a0a71e4440c2e9152)
2020-06-22 12:12:21 +02:00
akallabeth
69eef641d0 Fixed pcap cleanup
(cherry picked from commit 3ac7bb5d6a743b19e8686410d5ec6dcf74869ebe)
2020-06-22 12:12:14 +02:00
akallabeth
85b0354dfa Fixed double free
(cherry picked from commit 6d86e20e1e7caaab4f0c7f89e36d32914dbccc52)
2020-06-22 12:12:08 +02:00
akallabeth
3606dfa921 Replaced getlogin with getlogin_r
(cherry picked from commit 36478d3d0b3d7fa378a875f60170a08e94747226)
2020-06-22 12:12:02 +02:00
akallabeth
8c3f6d2b19 Replaced localtime with localtime_r
(cherry picked from commit 240fdd07b123594a1f7a460de7e6877b1963d09e)
2020-06-22 12:11:54 +02:00
akallabeth
efb99f144b Fixed memory leaks in ntlm
(cherry picked from commit 057b6df4aebbe8e739139087dfaab15104ca5ba7)
2020-06-22 12:11:48 +02:00
akallabeth
d1da09f7e1 Fixed Out-of-bound read in glyph_cache_put
CVE-2020-11098 thanks to @antonio-morales for finding this.

(cherry picked from commit c0fd449ec0870b050d350d6d844b1ea6dad4bc7d)
2020-06-22 12:11:41 +02:00
akallabeth
d5609e5467 Fixed OOB Read in license_read_new_or_upgrade_license_packet
CVE-2020-11099 thanks to @antonio-morales for finding this.

(cherry picked from commit 6ade7b4cbfd71c54b3d724e8f2d6ac76a58e879a)
2020-06-22 12:11:35 +02:00
Armin Novak
c3c02c83ab Respect SECBUFFER_READONLY flag in NTLM EncryptMessage
(cherry picked from commit 8e45a2dd50d5db6ac6125e0f60e833b6c6c6ea1b)
2020-06-22 09:31:07 +02:00
Armin Novak
da15d1a3a1 Added missing SECBUFFER_READONLY flag in rpc_client_write_call
(cherry picked from commit 0d80353bf30de860dcf86285c4e5e2770bc036f7)
2020-06-22 09:31:02 +02:00
Armin Novak
2d166aea89 TSG improvements
* Respect connection timeout during connect
* Better debug output
* Cleaned up data types,

(cherry picked from commit ff79636d3311269ec35fc1d6cc4246eef500ad5e)
2020-06-22 09:30:57 +02:00
akallabeth
4d6a800850 Fixed missing lock during buffer submit.
(cherry picked from commit c902f583d0911c1e8938c5f14f3f257eb9737745)
2020-06-22 09:30:52 +02:00
Bernhard Miklautz
ecf172d881 Revert "winpr/library: Use RTLD_GLOBAL for dlopen"
Using RTLD_GLOBAL in LoadLibraryA introduces a different behavior than
expected.

This reverts commit d566e00258daffcb4c703afc3685e9a42ad01453.

(cherry picked from commit 529e30c273ba67e3924b9fe4419410888314d31f)
2020-06-22 09:30:46 +02:00