14161 Commits

Author SHA1 Message Date
akallabeth
216f03c849 Fix #6085: Java string comparison should prefer equals 2020-04-28 14:03:19 +02:00
Raul Fernandes
4df7200836 Cache the calculated color
In desktop area, the next color has high odds to be the same of previous color.
If we cache the value, it can be reused by the next pixel avoiding recalculation.
This optimization can halve the function's processing.
2020-04-28 14:03:19 +02:00
Martin Haimberger
127a96d853 removed unnecessary casts, use sizeof for debug printing 2020-04-28 14:03:19 +02:00
Martin Haimberger
d104d2c7c7 fix: server side ntlmv2 implementation
- in the case no mic was present, but the user was found,
  the enterd password was ignored and the user authenticated
2020-04-28 14:03:19 +02:00
akallabeth
d366b426f9 Fixi #6086: smartcard filter early abort.
Do not abort before incrementing read position.
2020-04-28 14:03:19 +02:00
akallabeth
cc6831ae31 Moved PROGRESSIVE_BLOCK_REGION to heap. 2020-04-28 14:03:19 +02:00
Allan Nordhøy
64de28cabc Language fixes for aFreeRDP 2020-04-28 14:03:19 +02:00
Allan Nordhøy
ffbe0ae078 Add Norwegian Bokmål translation 2020-04-28 14:03:19 +02:00
Julian Albrecht
ccd7c26ad5 Adds the title options to wlfreerdp 2020-04-28 14:03:19 +02:00
Armin Novak
2d0a136e8e Fixed #6067: Better CMake warning for deactivated image scaling 2020-04-28 14:03:19 +02:00
Armin Novak
6738347d48 Fix #6066, #6045: Disable spincount by default. 2020-04-28 14:03:19 +02:00
Armin Novak
4cfc5b25ef Fixed data type warnings 2020-04-28 14:03:19 +02:00
Armin Novak
808928ee7e Fixed format string warnings. 2020-04-28 14:03:19 +02:00
Armin Novak
adb7aeb796 Fixed cups httpConnectEncrypt deprecation warning. 2020-04-28 14:03:19 +02:00
Nathan Loewen
b29bdf5984 Make use of percent scale if available when calculating monitor sizes 2020-04-28 14:03:19 +02:00
jacobopantoja
9c79bc29f6 Restrict USBDK to Windows builds
This commit restricts ebdaea6f3b5e410b9a3380368d6023c52bed67cc to just Win32 builds
2020-04-28 14:03:19 +02:00
akallabeth
29b1429cb6 Made xf_OutputExpose non blocking.
In case xf_OutputExpose is called with GFX or async-update a race
condition occured in combination with dynamic-resolution.
To prevent the deadlock update the screen on a best effort basis.
2020-04-18 10:18:45 +02:00
David Fort
996fe4dc44
Merge pull request #6052 from akallabeth/stable_backport
tls: support non-RSA keys
2020-04-14 14:09:09 +02:00
Linus Heckemann
b70be2ee04 tls: support non-RSA keys 2020-04-10 18:06:14 +02:00
David Fort
513a3dadf8
Merge pull request #6048 from akallabeth/subsystem_entry_fix
Subsystem entry fix
2020-04-10 15:37:15 +02:00
Fabrice Fontaine
d9dea81b6d src/libuwac/uwac-os.c: fix build with uclibc
O_TMPFILE is used since version 2.0.0 and
52ef8079ea

However, this will result in the following build failure on uclibc or
uclibc-ng:

/home/fabrice/buildroot/output/build/freerdp-2.0.0/uwac/libuwac/uwac-os.c:228:18: error: ‘O_TMPFILE’ undeclared (first use in this function); did you mean ‘EMFILE’?
  fd = open(path, O_TMPFILE | O_RDWR | O_EXCL, 0600);
                  ^~~~~~~~~
                  EMFILE

To fix this build failure, define O_TMPFILE if needed

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-04-10 14:59:22 +02:00
David Fort
dedeb03c79
Merge pull request #6040 from akallabeth/2.1-devel-cycle
Started 2.1 development cycle.
2020-04-10 14:41:08 +02:00
akallabeth
aa39e08c29 Fixed URBDRC DEVICE_ADD_FLAG definitions 2020-04-10 14:16:19 +02:00
akallabeth
42d40261c5 Fixed return type for subsystem entry 2020-04-10 14:11:15 +02:00
akallabeth
a4a6b3ef83 Started 2.1 development cycle. 2020-04-10 07:40:04 +02:00
Bernhard Miklautz
5ab2bed874 new: update ChangeLog and set version to 2.0.0 2.0.0 2020-04-09 18:00:51 +02:00
akallabeth
de7ea07a3d Fixed URBDRC parsing error reported in #6024. 2020-04-09 18:00:51 +02:00
akallabeth
a9daba0190 Check for int overflow in gdi_InvalidateRegion 2020-04-09 18:00:51 +02:00
akallabeth
6c0aeb10d2 Allow icon info with empty bitmap data. 2020-04-09 18:00:51 +02:00
akallabeth
232c7f4783 Abort order read on invalid element count. 2020-04-09 18:00:51 +02:00
akallabeth
acc6023643 Fixed possible NULL access. 2020-04-09 18:00:51 +02:00
akallabeth
a3996af062 Refactored gdi region
* Added a unit test
* Fixed const correctness of function arguments
* Added return values for all functions
2020-04-09 18:00:51 +02:00
akallabeth
b677b5db25 Proper error return from gdi_rect_str and gdi_regn_str 2020-04-09 18:00:51 +02:00
akallabeth
97efff4e90 Refactored order stream manipulation
* Use stream seek instead of setting pointer directly
* Add log messages in case of inconsistencies
* Fixed missing stream advance in update_decompress_brush
2020-04-09 18:00:51 +02:00
akallabeth
17f547ae11 Fixed CVE-2020-11521: Out of bounds write in planar codec.
Thanks to Sunglin and HuanGMz from Knownsec 404
2020-04-09 18:00:51 +02:00
akallabeth
907640a924 Fixed CVE-2020-11522: Limit number of DELTA_RECT to 45.
Thanks to Sunglin and HuanGMz from Knownsec 404
2020-04-09 18:00:51 +02:00
akallabeth
7b1d4b4939 Fix CVE-2020-11524: out of bounds access in interleaved
Thanks to Sunglin and HuanGMz from Knownsec 404
2020-04-09 18:00:51 +02:00
akallabeth
e075f348d2 Added debug logging and claping to all region functions 2020-04-09 18:00:51 +02:00
akallabeth
ce21b9d7ec Fix CVE-2020-11523: clamp invalid rectangles to size 0
Thanks to Sunglin and HuanGMz from Knownsec 404
2020-04-09 18:00:51 +02:00
akallabeth
192856cb59 Fixed #6012: CVE-2020-11526: Out of bounds read in update_recv_orders
Thanks to @hac425xxx and Sunglin and HuanGMz from Knownsec 404
2020-04-09 18:00:51 +02:00
akallabeth
0b6b92a25a Fixed CVE-2020-11525: Out of bounds read in bitmap_cache_new
Thanks to Sunglin and HuanGMz from Knownsec 404
2020-04-09 18:00:51 +02:00
Martin Fleisz
b52cc2cd48
Merge pull request #6034 from akallabeth/addrinfo
Fix #6033: freeaddrinfo must not be called with NULL arguments.
2020-04-09 14:37:39 +02:00
akallabeth
e6d10041c1 Fix #6033: freeaddrinfo must not be called with NULL arguments. 2020-04-09 14:26:46 +02:00
akallabeth
56deba7562 Enforce coding style. 2020-04-09 13:49:10 +02:00
Julian Albrecht
7824f0cee9 Moves variable declaration to beginning of scope 2020-04-09 13:49:10 +02:00
Julian Christian Albrecht
3029e3b2cf Check return value if already a listener is registered 2020-04-09 13:49:10 +02:00
Alex Wilson
c6e675bfb7 Always copy null terminator when filtering smartcard list 2020-04-09 10:44:25 +02:00
akallabeth
d7795c892b Allow old openssl name in android client. 2020-04-09 10:03:20 +02:00
akallabeth
f56292afa4 Fixed cmake formatting 2020-04-09 10:03:20 +02:00
akallabeth
fd9b5463a0 Use cmake from NDK 2020-04-09 10:03:20 +02:00