Граф коммитов

14684 Коммитов

Автор SHA1 Сообщение Дата
Armin Novak 602fb7d788 Added missing bounds check.
(cherry picked from commit 2e6069d95b997d0dc7d2cc118255570d22f0ae0c)
2021-03-12 11:22:12 +01:00
Armin Novak bd3f9cfd9f Added fuzzying test for planar decoder
(cherry picked from commit 9bbc2cd094ac837a8f1196e80e7643c00436e486)
2021-03-12 11:22:12 +01:00
Armin Novak 9249d900c4 Added bounds check in rdpgfx_recv_wire_to_surface_1_pdu
(cherry picked from commit 5fc3846f7793d4afe48387ac3aeffd4ad6852bab)
2021-03-12 11:22:12 +01:00
Armin Novak 9308d0c636 Added bounds checks to gfx commands
(cherry picked from commit dd61853142a07af0eca80c901292075373a6b2d6)
2021-03-12 11:22:12 +01:00
akarl c138785669 use tlsOut BIO when using websocket in rdg_bio_ctrl
(cherry picked from commit 0e19c443e41cdc031a38a6ea24298972420af778)
2021-03-12 07:49:50 +01:00
akallabeth 2f46d06fdf Updated changelog 2021-03-09 16:08:08 +01:00
Armin Novak c37593d9fc Filter RDPDR types other than drives on windows hotplug
(cherry picked from commit 6f599eabbedace4adc215186783deec680057003)
2021-03-09 16:08:08 +01:00
akallabeth 187cbdfe2c Use specific names for drive hotplug special values
(cherry picked from commit b1be3d78fcc63a5842f7707a139b2582a4a42b21)
2021-03-09 16:08:08 +01:00
akallabeth 42f9dff46f Check smartcard_convert_string_list for NULL string
In #6821 it has been reported that there are buggy smartcard
drivers that report a string size but fail to allocate the string
itself. This check avoids a crash with such input parameters

(cherry picked from commit f8b1e662b33f7b8f77cf6582d549348c2d048a2e)
2021-03-09 10:20:53 +01:00
akallabeth e335a3a7c7 Updated changelog. 2021-03-08 15:33:23 +01:00
akallabeth f4c87729e3 Backported #6865: Disable websockets command line option 2021-03-08 15:33:23 +01:00
akallabeth d880877e1f Updated changelog. 2021-03-08 14:35:28 +01:00
akallabeth 899be1b564 Fix xf_Pointer_SetPosition with smart-sizing
(cherry picked from commit d3e3ab7b5d5ce376ba72fa1fc0aee2f25c9682b4)
2021-03-08 14:35:28 +01:00
Armin Novak 7755fdc02a Updated changelog 2021-03-05 10:06:54 +01:00
Armin Novak 8fd6be5b0c Added API check to allow compilation/run with mac os < 10.14
(cherry picked from commit 1cd97c3270)
2021-03-05 10:06:54 +01:00
akallabeth 9ce4bc351f Parse on a copy of the argument string for printer
If done on original the wrong backend is loaded on autoreconnect

(cherry picked from commit af1c6ebcb49c93d636817ec98f74d07cba9d7f26)
2021-03-04 16:56:42 +01:00
akallabeth 73b37791cd Updated changelog 2021-03-04 16:56:42 +01:00
Armin Novak 471cda7ef3 Fixed smartcard_convert_string_list with 0 length
(cherry picked from commit e9904e286f43dea5940182b25740730c55e7c8a6)
2021-03-03 12:06:15 +01:00
akallabeth 48ce8fabd8 Updated changelog for next stable 2021-03-02 08:31:28 +01:00
akallabeth de743a836a Fixed linking dependencies for client geometry channel
(cherry picked from commit 7056433c8ecd045912fecb896ffa2eac3aad1410)
2021-03-02 08:31:28 +01:00
akallabeth 69ff618ebc Fixed format string in smartcard_trace_state_return
(cherry picked from commit ca96c4450707d39dbd5c94f2b1c4ae807789b012)
2021-03-02 08:31:28 +01:00
akallabeth 136a58fbd0 Added -DDEFINE_NO_DEPRECATED CMake option
With that option all symbols marked deprecated are no longer
compiled. This helps testing compatibility of external apps.
2021-03-01 10:58:24 +01:00
akallabeth f7295b31d7 Added changelog. 2021-03-01 10:58:24 +01:00
akallabeth d88480fc48 Fixed a leak on mouse cursor updates 2021-03-01 10:58:24 +01:00
akallabeth 73753f8af4 Reverted connectErrorCode removal
Reverted changes from e4b30a5cb6
removing the symbol/define, keep the changes for the clients.
Mark as deprecated
2021-03-01 10:58:24 +01:00
akallabeth bc956b47e5 Added explicit warnings for experimental/unstable features 2021-03-01 10:58:24 +01:00
akallabeth 1ff1906545 Added compatibility define 2021-03-01 10:58:24 +01:00
akallabeth 14c7f7aed7 Updated changelog 2021-02-25 09:51:41 +01:00
akallabeth a572f5e429 Compatibility reordering of new symbols in struct 2021-02-25 09:51:41 +01:00
akallabeth 168dc7f52c Force enable wayland in ci and nightly
(cherry picked from commit ce396a9aff)
2021-02-25 09:51:41 +01:00
Bernhard Miklautz 8600781a78 ci [codeql]: run apt update before install
(cherry picked from commit 7bec71a632)
2021-02-25 09:51:41 +01:00
akallabeth 3825b4cd4e Create codeql-analysis.yml
(cherry picked from commit 2b676bf1e7)
2021-02-25 09:51:41 +01:00
akallabeth 7b6ea77613 Fixed smartcard crash on error return (invalid length) 2021-02-25 09:51:41 +01:00
Armin Novak 13494bc6de Fixed #6821: _stricmp does not like NULL strings
(cherry picked from commit 7b211e5258)
2021-02-25 09:51:41 +01:00
Armin Novak 5eb9c11524 Updated windows time zones 2021-02-11
(cherry picked from commit 2e5c09f209)
2021-02-25 09:51:41 +01:00
akallabeth dc179867cc 2.0 compatibility for rdpinput flag debug function 2021-02-25 09:51:41 +01:00
akallabeth e5f92ba550 Fixed #6712: Use window size from settings
The xfc->window might be NULL (remote app, ...)

(cherry picked from commit 6ecd440658eee7dbd0a07c1366946046746d0b8d)
2021-02-25 09:51:41 +01:00
Fabio Fantoni 689ca72285 Minor typo fix
From debian packages patch done by Mike Gabriel
<mike.gabriel@das-netzwerkteam.de>

(cherry picked from commit 5c408e080e)
2021-02-25 09:51:41 +01:00
Marc-André Moreau 3047a73744 freerdp-client: don't enable vmconnect mode based on PCB field presence in .RDP file
(cherry picked from commit 4e14e7d41e)
2021-02-25 09:51:41 +01:00
akallabeth fba23b8ef7 Fixed formatting and source/destination length use
(cherry picked from commit f0ba8d7fb9c21b1134a3089eda661852b2861c0e)
2021-02-25 09:51:41 +01:00
mingfang 707828df8f libfreerdp: core: deep copy ServerCertificate
(cherry picked from commit b0783771055f55dccde85f8f5e50954ffca93383)
2021-02-25 09:51:41 +01:00
Armin Novak 9e3dce0264 Compatibility commit for RDPEI API 2021-02-25 09:51:41 +01:00
Armin Novak 0428ec9e21 Fixed issue with backported websockets support 2021-02-25 09:51:41 +01:00
Armin Novak ab1bee07f4 Updated changelog 2021-02-25 09:51:41 +01:00
Pascal Nowack 0f4ca4c3fb clients: Use the correct wheel rotation value
For the negative scrolling direction, RDP uses the two's complement,
instead of the positive wheel value with the negative flag.
xfreerdp currently uses the positive wheel value in addition to the
negative flag, which results in a wrong wheel value on the server side
(136 instead of 120).

Fix this, by using the correct wheel rotation value, which is in the
two's complement.

(cherry picked from commit 1087a5e1a6)
2021-02-25 09:51:41 +01:00
akallabeth 97327cbf33 Fixed #6801: Delay sending of resolution change
Changed the logic of the disp channel to wait for 800ms after a
ConfigureNotify before sending the new resolution.
The problem fixed with this patch is the following:
1.  Resize the window with the mouse
2.  ConfigureNotify triggers a resize notification
3.  The server resizes to the desired resolution
3a. More ConfigureNotify events are generated
4.  The local window resize to the new resolution triggers another
    ConfigureNotify

a. Depending on the timing (sending is already rate limited) the
   events from 3a and 4 will make the size of the window jump
b. Very fast resizing will pick a random resolution from the
   sequence of ConfigureNotify events as the final resolution

(cherry picked from commit d3ed42a799)
2021-02-25 09:51:41 +01:00
Armin Novak ee65815128 Added ConnectionStateChangeEvent for clients
Clients can now subscribe to connection state change events to
prevend data from being transmitted on sessions being redirected.

(cherry picked from commit 27f6df97783c6f18377f91c9e229cce2b7d6c694)
2021-02-25 09:51:41 +01:00
Michael Saxl 4516c2bc15 rdg websocket support
(cherry picked from commit 99489318f4832dbeca2130ae2c45f26c4e9a85bd)
2021-02-25 09:51:41 +01:00
akallabeth fcfb8d0283 Fixed a ConvertToUnicode issue and added a unit test
(cherry picked from commit e15684cb14)
2021-02-25 09:51:41 +01:00
Armin Novak 8a7a73e37b Always return data on SCardGetStatusChange
If the call fails just return empty data for each reader.

(cherry picked from commit f0317a5e0fdc31f7f5f014e90e2b349fc7824bf2)
2021-02-25 09:51:41 +01:00