Armin Novak
5b70142ec4
Fixed read_altsec_order ORDER_TYPE_WINDOW
2018-10-18 12:34:10 +02:00
Armin Novak
8bdb5d771a
Fixed order to string format string.
2018-10-18 12:33:06 +02:00
Norbert Federa
d201deede8
gateway/rpc: remove stale valgrind macro
2018-10-18 11:45:18 +02:00
Armin Novak
2e3832af94
Fixed TSG stream alignment (4 or 8)
2018-10-18 10:41:03 +02:00
Armin Novak
dc197d4dd1
Fixed tsg abort condition.
2018-10-18 10:15:51 +02:00
Armin Novak
88d310ff2c
Fixed compiler warnings (casts, ...)
2018-10-18 09:09:30 +02:00
Martin Fleisz
e46d1d95ff
Merge pull request #4926 from akallabeth/primary_order_checks
...
Order data validation and correction
2018-10-17 16:02:28 +02:00
Armin Novak
991f051a63
Fixed stream release for transport_write
2018-10-17 14:55:55 +02:00
Armin Novak
aefb7728f6
Removed debug log entries, simplified order support check.
2018-10-17 14:16:16 +02:00
Armin Novak
f91590ecbf
Fixed bugs detected during scanbuild run
2018-10-17 13:19:33 +02:00
akallabeth
8fe3ac5d26
Merge pull request #4902 from akallabeth/gw_refactor_3
...
Gateway refactoring
2018-10-17 12:23:10 +02:00
Armin Novak
7b860ce96a
Add command line option /relax-order-checks
2018-10-17 12:16:58 +02:00
Armin Novak
4d124cf5d1
Fixed order requirements.
2018-10-17 10:09:27 +02:00
Armin Novak
cab2e28576
Fixed missing value check
2018-10-16 17:09:29 +02:00
Armin Novak
c51ca89d9b
Fixed glyph cache
2018-10-16 16:10:17 +02:00
Armin Novak
5ea4a7d3b0
Proper order checks.
2018-10-16 15:56:17 +02:00
Armin Novak
16d553a75f
Check if incoming secondary alternate orders have been activated.
2018-10-16 13:59:37 +02:00
Armin Novak
711da861e8
Check if incoming secondary orders have been activated.
2018-10-16 13:48:43 +02:00
Armin Novak
88bd262134
Send brush support level from settings.
2018-10-16 13:48:29 +02:00
Armin Novak
c99434691e
For every order check if it is activated in settings before processing.
2018-10-16 13:13:01 +02:00
Armin Novak
fb87f6d0bd
Added a warning that the server sent an unsupported order
2018-10-16 12:46:44 +02:00
Armin Novak
e4b24aa31e
Fixed arguments to *adust
2018-10-16 12:36:08 +02:00
Armin Novak
14321a2d52
Adjust rectangles where appropriate.
2018-10-15 16:34:44 +02:00
Armin Novak
e5d60370b4
Fixed MultiOpaqueRect
...
Sanitize rectangle boundaries, the coordinates of old servers are often out of bound.
2018-10-15 15:27:17 +02:00
Armin Novak
479233cedc
Fix bounding rectangle of OpaqueRect
...
This order has often negative coordinates, sanitize before passing on.
2018-10-15 15:23:04 +02:00
Armin Novak
ca3fb26230
Deactivated unimplemented orders.
2018-10-15 15:22:50 +02:00
Armin Novak
63823f54ee
Removed checks for LineTo, that is handled by the drawing routines
2018-10-15 14:36:03 +02:00
Armin Novak
f88ed950d3
Fixed various issues with primary orders.
2018-10-15 14:30:58 +02:00
Armin Novak
83fba667c1
Fixed logging.
2018-10-15 13:56:19 +02:00
Armin Novak
8cfffcc027
Use dynamic logging and fix compiler warnings.
2018-10-15 13:20:47 +02:00
Armin Novak
ed02832a81
Added altsec return value checks.
2018-10-15 13:15:57 +02:00
Armin Novak
09bef3bab2
Unified logging.
2018-10-15 13:10:48 +02:00
Armin Novak
aecda5280a
Added plausibility checks for order input coordinates.
2018-10-15 10:34:47 +02:00
Armin Novak
766a66a7c2
Fixed stream get position.
2018-10-09 14:24:58 +02:00
Armin Novak
166bdf018c
Fixed return value of rpc_channel_tls_connect
2018-10-09 14:24:39 +02:00
Armin Novak
65bfb67f7c
Fixed rpc_client_write_call resource cleanup.
2018-10-09 14:19:05 +02:00
Armin Novak
8c92f3436d
Fixed argument name for ntlm_client_encrypt
2018-10-09 14:16:27 +02:00
byteboon
1d99d2d5fa
Regression: added back kerberos signature fix that was lost in a recent refactor #4801
2018-10-05 09:43:00 -07:00
David Fort
2e1bf90bd9
Merge pull request #4885 from akallabeth/autoreconnect_handle_window_events
...
Fixed #3423 : Process xevents when in reconnect mode.
2018-10-03 09:42:16 +02:00
Armin Novak
3b7f522eb7
Release stream in transport_write in all error cases.
2018-10-02 10:31:23 +02:00
Armin Novak
fc9ff6d2fc
Made gateway NTLM self contained.
2018-09-28 12:29:29 +02:00
Armin Novak
99eb9f7ec9
Refactored and simplified RPC signature functions.
2018-09-28 12:08:27 +02:00
Armin Novak
9516c251c7
Made TSG struct opaque
2018-09-28 12:00:45 +02:00
Armin Novak
7ab1251a67
Refactored rpc_client and resolve gateway only once.
2018-09-27 16:42:27 +02:00
Armin Novak
f5f155b057
Refactored RpcClient functions
2018-09-27 16:26:46 +02:00
Armin Novak
47ba37fbcb
Unified dns resolving of host
2018-09-27 16:08:28 +02:00
Armin Novak
8a677d6cf2
Refactored rdg channel structs.
2018-09-27 16:05:14 +02:00
Armin Novak
d748adbf14
Refactored gateway ncacn HTTP to be self contained.
2018-09-27 15:19:41 +02:00
Armin Novak
a5fdf9e006
Refactored gateway HTTP to be self contained.
2018-09-27 15:04:41 +02:00
Martin Fleisz
5339efd6e4
Merge pull request #4882 from akallabeth/no_proxy_cidr
...
Fixed #4878 : Added cidr support for proxy exception check.
2018-09-26 09:20:54 +02:00
akallabeth
0b8a66188c
Merge pull request #4865 from mmattes/feature/floatbar
...
Feature/floatbar for X11
2018-09-25 16:34:20 +02:00
Armin Novak
941213f504
Fixed domain and regex match.
2018-09-24 12:24:15 +02:00
Armin Novak
3a2bfa183f
Fixed #4878 : Added cidr support for proxy exception check.
2018-09-24 11:51:40 +02:00
David Fort
040d14b673
Merge pull request #4869 from akallabeth/clear_fix
...
Fix #4868 : Separate codec reset from initial setup
2018-09-24 09:46:33 +02:00
Martin Fleisz
2096c1108e
Merge pull request #4872 from akallabeth/sw_gdi_default
...
Fix #4851 : Software GDI is now default
2018-09-21 13:02:39 +02:00
akallabeth
30601608e4
Merge pull request #4855 from r-barnett/fix-logoff-exit-code
...
Map a particular disconnect situation triggered by a user logging off…
2018-09-20 12:07:36 +02:00
Armin Novak
dfb1049653
Fix #4851 : Software GDI is now default
2018-09-20 10:44:03 +02:00
rbarnett
5d3e76bd80
Replace cryptic names; move the disconnect ultimatum reasons enum into public API and rename; remove setter
2018-09-19 09:36:39 -05:00
Tobias
a4df4f7bbf
Do not prompt if blank password was provided
2018-09-19 15:36:24 +02:00
Armin Novak
13e59b5d6a
Fix #4868 : Allow empty bands data.
2018-09-19 14:18:29 +02:00
rbarnett
8458266183
Store the disconnect provider ulimatum reason in a new field in struct rdp_context and move the test for a logoff reason to xf_client.c
2018-09-18 15:31:10 -05:00
Markus Mattes
21e4804a7f
implemented floatbar for x11
2018-09-18 21:25:51 +02:00
Martin Fleisz
0b7b9c0dc4
Merge pull request #4842 from akallabeth/smartcard_rdp_logon
...
Added /smartcard-logon option to set flag. (Stripped version of #4837…
2018-09-17 09:08:47 +02:00
rbarnett
5db0b57fcd
Map a particular disconnect situation triggered by a user logging off to a user logoff code.
2018-09-14 09:54:35 -05:00
Armin Novak
cf319001f9
Fixed out of bound access.
2018-09-05 16:34:49 +02:00
Armin Novak
0de43c8b85
Added /smartcard-logon option to set flag. (Stripped version of #4837 by @informatimago)
2018-09-04 15:50:03 +02:00
Armin Novak
54f3a388da
Fixed #4835 : BeginPaint callback now optional.
2018-09-04 10:40:17 +02:00
Armin Novak
fad20be6e6
Fixed missing includes.
2018-08-27 14:34:42 +02:00
Armin Novak
62c1696d4c
Removed use of unchecked sprintf
2018-08-27 14:34:42 +02:00
Armin Novak
114abad767
Removed use of strcpy.
2018-08-27 14:34:09 +02:00
Armin Novak
33be80cb41
Removed unused variables.
2018-08-24 13:40:36 +02:00
Armin Novak
a3819f65e8
Fixed unused variable warnings.
2018-08-24 13:40:36 +02:00
Martin Fleisz
0fb19d04be
Merge pull request #4810 from akallabeth/no_proxy_support
...
No proxy support
2018-08-24 11:41:58 +02:00
Martin Fleisz
f9e52c1850
Merge pull request #4815 from akallabeth/async_transport_remove
...
Removed +async-transport options
2018-08-24 09:48:51 +02:00
Armin Novak
b5df39756d
Added option to ignore proxy env.
2018-08-23 17:02:43 +02:00
Armin Novak
4bea9934cf
Added patch from #4697
2018-08-23 17:02:43 +02:00
Martin Fleisz
3381ca46e6
Merge pull request #4787 from akallabeth/redirect_fqdn_fix
...
Redirect fqdn fix
2018-08-23 16:07:48 +02:00
Ondrej Holy
47595a857f
core/transport: Fix leak found by covscan
...
0 is valid return value from socket().
leaked_handle: Handle variable "sockfd" going out of scope leaks the handle.
2018-08-22 14:34:02 +02:00
Ondrej Holy
1a413b5b4e
core/tcp: Prevent buffer overflow found by covscan
...
buffer_size_warning: Calling strncpy with a maximum size argument of 108 bytes on destination array "addr.sun_path" of size 108 bytes might leave the destination string unterminated.
2018-08-22 14:34:02 +02:00
Ondrej Holy
26bc52f79c
core/tcp: Format code by astyle
...
Run ./scripts/format_code.sh before the following changes.
2018-08-22 14:34:02 +02:00
Ondrej Holy
7e4fa67026
core/proxy: Fix leak found by covscan
...
leaked_storage: Variable "s" going out of scope leaks the storage it points to.
2018-08-22 14:34:02 +02:00
Ondrej Holy
2417a6a16c
core/nla: Fix leak found by covscan
...
leaked_storage: Variable "s" going out of scope leaks the storage it points to.
2018-08-22 14:34:02 +02:00
Ondrej Holy
6e0f05cbdb
core/nego: Fix leak found by covscan
...
leaked_storage: Variable "wszPCB" going out of scope leaks the storage it points to.
2018-08-22 14:34:02 +02:00
Ondrej Holy
8f8d91e361
core/listener: Prevent buffer overflow found by covscan
...
buffer_size_warning: Calling strncpy with a maximum size argument of 108 bytes on destination array "addr.sun_path" of size 108 bytes might leave the destination string unterminated.
2018-08-22 14:34:02 +02:00
Ondrej Holy
23c3c188c9
core/info: Silence false positive warnings from covscan
...
Change the code a bit to silence false positive warnings from covscan.
pass_freed_arg: Passing freed pointer "wString" as an argument to "Stream_Write".
pass_freed_arg: Passing freed pointer "wString" as an argument to "Stream_Write".
2018-08-22 14:34:02 +02:00
Ondrej Holy
4a7bb18428
core/info: Fix leak found by covscan
...
leaked_storage: Variable "wString" going out of scope leaks the storage it points to.
2018-08-22 14:34:02 +02:00
Ondrej Holy
83e966d9e2
core/gateway/rpc: Fix leak found by covscan
...
0 is valid return value from socket().
leaked_storage: Variable "auth_3_pdu" going out of scope leaks the storage it points to.
leaked_storage: Variable "response" going out of scope leaks the storage it points to.
leaked_handle: Handle variable "sockfd" going out of scope leaks the handle.
2018-08-22 14:34:02 +02:00
Ondrej Holy
6de583e137
core/gateway/rpc: Format code by astyle
...
Run ./scripts/format_code.sh before the following changes.
2018-08-22 14:34:02 +02:00
Ondrej Holy
409e192334
core/gateway/rdg: Fix leak found by covscan
...
leaked_storage: Variable "request" going out of scope leaks the storage it points to.
leaked_handle: Handle variable "sockfd" going out of scope leaks the handle.
leaked_handle: Handle variable "sockfd" going out of scope leaks the handle.
2018-08-22 14:34:02 +02:00
Armin Novak
c3a26b0d6a
Removed +async-transport options
...
The async transport option is broken by design.
If used the main loop is called from the transport thread and the
main thread of the application.
Unless the transport layer is refactored to just work on queues
(input and output) this option will never work, therefore remove it.
2018-08-22 13:56:37 +02:00
Armin Novak
13564dbb41
Allow redirect address override with a list of values.
2018-08-08 12:30:47 +02:00
Armin Novak
cc5e402cda
Added command line option /redirect-prefer:<fqdn|ip|netbios>
...
Since redirection sometimes happens with internal DNS names that
are resolved different by outside DNS it must be possible to override
the preferred redirection hint.
2018-08-08 11:24:13 +02:00
Armin Novak
f6b6eba0ab
Try redirection FQDN first, but check if it is resolvable.
2018-08-08 10:25:09 +02:00
Armin Novak
ec0a0fef2a
Added const to function buffer pointers
2018-08-01 12:56:18 +02:00
Armin Novak
3a30844db8
Added default return value.
2018-07-31 10:45:04 +02:00
Armin Novak
328eba7fe9
Fix #4752 : Provide message free function for channel queue.
2018-07-18 15:31:07 +02:00
Armin Novak
7a6b8a04b9
Fixed channel reconnect after redirect.
2018-07-13 13:11:38 +02:00
Armin Novak
f617d0d3c1
Moved automatic reconnect after timeout to freerdp_connect.
2018-07-10 14:09:43 +02:00
Armin Novak
77eb93b4b7
Made internal functions static to help compiler optimize.
2018-07-10 12:21:38 +02:00
Armin Novak
7a39dcd7e2
Updated reconnect to handle cases where PostConnect was not called
...
freerdp_reconnect might be called after a freerdp_connect failed due
to a TCP timeout waiting for user input.
In such cases we need to know if PostConect was already called and
do that if not.
2018-07-10 12:04:27 +02:00