weizhenwei
5d8d3b53c5
remove redundant NULL pointer check
2017-06-23 09:44:40 +08:00
weizhenwei
3b52a60d31
remove useless NULL pointer check before free
2017-06-23 09:21:16 +08:00
weizhenwei
61b24bf0b3
add NULL pointer check and set freed pointers to NULL afterward
2017-06-22 17:53:51 +08:00
weizhenwei
fa1c65b656
refactor to remove duplicate code and replace free+malloc with realloc
2017-06-22 10:21:20 +08:00
weizhenwei
2d56e22e9e
refactor on redundant code copy
2017-06-21 22:07:07 +08:00
weizhenwei
d77802d5e9
fix memroy leak of window_icon->iconInfo at update_read_window_icon_order()
2017-06-21 15:26:28 +08:00
weizhenwei
2f96df25fa
fix memory leak at update->window->window_state.windowRects/visibilityRects at update_read_window_state_order()
2017-06-21 15:26:28 +08:00
weizhenwei
5c19318ab5
fix memory leak at update->window->window_state.titleInfo.string at update_read_window_state_order()
2017-06-21 15:26:28 +08:00
weizhenwei
6a43fdc71a
code clean on free(update->window->monitored_desktop.windowIds);
2017-06-21 15:26:27 +08:00
weizhenwei
63c81517b7
fix memory leak on update->window->monitored_desktop.windowIds which is realloced at update_read_desktop_actively_monitored_order()
2017-06-21 15:26:27 +08:00
Armin Novak
22f1fbe3d2
Fixed missing external declaration ( #3982 )
2017-05-31 11:44:33 +02:00
Jura Sasek
4edb5cf7e6
Build for Solaris
2017-05-24 04:27:01 -07:00
David Fort
b92a789dfd
Merge pull request #3963 from akallabeth/qoe_ack
...
Added client RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU
2017-05-22 11:10:03 +02:00
David Fort
ee8ae987bf
Merge pull request #3967 from akallabeth/sec_encrypt_fix
...
SEC_ENCRYPT check in rdp_client_connect_auto_detect
2017-05-22 11:08:32 +02:00
davewheel
4bfb4dddbf
Add a callback to provide NTLM hashes on server-side
...
Adds a callback that allows servers to compute NTLM hashes by themselves. The typical
use of this callback is to provide a function that gives precomputed hash values.
Sponsored by: Wheel Systems (http://www.wheelsystems.com )
2017-05-18 14:24:24 +02:00
Armin Novak
f414522b7a
Added setting for QoeAck.
2017-05-18 14:07:09 +02:00
Armin Novak
8904c15cc9
Fixed missing state reset.
2017-05-17 15:58:44 +02:00
Armin Novak
8c52dcbdc2
SEC_ENCRYPT check in rdp_client_connect_auto_detect
...
Fix by @wizwizaco for #3951
2017-05-15 13:10:10 +02:00
David Fort
17a4e95a5b
Drop some annoying warning
...
Probably that some unused functions should be removed, but at least it makes
it compile with no warnings.
2017-05-12 13:54:16 +02:00
Armin Novak
b1d631f1e5
Added support for Set Keyboard IME Status
2017-05-12 09:43:58 +02:00
Armin Novak
09d43a66f4
Fixed tests and dead store warnings.
2017-03-28 16:49:56 +02:00
Armin Novak
9f9254504e
Fixed leak of client random.
2017-03-28 14:33:02 +02:00
Armin Novak
d46d0c3d4a
Fixed invalid return from xf_rail_window_icon
2017-03-28 11:47:46 +02:00
David Fort
b0b3a78a20
Store client_random in server mode
...
We need the client_random in server mode when the client does RDP security and
tries to reconnect using the cookie.
2017-03-21 10:32:17 +01:00
David Fort
716eab2405
Add more RAIL option flags
2017-03-10 10:36:26 +01:00
David Fort
7b61dbdd0f
Don't forget to send the RAIL capabilities in server mode
2017-03-09 23:15:49 +01:00
Norbert Federa
f77b4a57dc
Merge pull request #3796 from akallabeth/scan_warning_fixes_v2
...
Scan warning fixes v2
2017-03-03 14:41:11 +01:00
Armin Novak
88b6ff00d9
Fixed argument checks, formatting.
2017-03-03 14:11:28 +01:00
Armin Novak
99c45405cb
Fixed GetEnvironmentVariable.
2017-03-03 12:43:00 +01:00
Armin Novak
b2c29158be
Scanbuild warning, argument checks and leak fixes.
...
* Added Stream_GetRemainingCapacity to check remaining stream size
before writes.
* Fixed shadow server memory leak.
* Fixed lots of scanbuild warnings
* Added missing argument checks in many functions
* Added missing static function declarations
2017-03-02 18:13:43 +01:00
Armin Novak
d119745d97
String representation of logon_error_info
2017-03-02 18:09:51 +01:00
David Fort
815c97efb2
The LongCredentials capability were not parsed or used
2017-03-02 00:39:08 +01:00
David Fort
67607ce916
Take in account and set the LogonNotify flag
...
This flag was not read in the server case and was always sent in the
case of a client.
2017-03-02 00:29:48 +01:00
David Fort
5bb7a05026
Merge pull request #3823 from akallabeth/ssl_error_check_fix
...
Fixed SSL error checks in transport_ssl_cb
2017-03-01 11:21:41 +01:00
Armin Novak
e455cc1745
Fixed SSL error checks in transport_ssl_cb
...
Fix error define use. The callback is called from
ssl3_dispatch_alert or dtls1_dispatch_alert where the alert define
is left shifted by 8. Additionally ignore close notifcation. (#3814 )
2017-03-01 10:46:00 +01:00
Armin Novak
b11de26f98
Fixed GetComputerNameExA return checks.
2017-02-27 11:49:53 +01:00
akallabeth
8a22052b61
Fixed memory leaks.
2017-02-25 08:35:37 +01:00
akallabeth
705c0c1e12
Fixed GetComputerNameExA calls. #3815
2017-02-24 21:58:08 +01:00
Norbert Federa
689d2696d2
Merge pull request #3800 from mfleisz/channel_fixes
...
Cleanup channel structs in channels_close to allow instance reuse
2017-02-24 13:25:52 +01:00
akallabeth
7ce1dd0a6c
Merge pull request #3791 from akallabeth/kerberos
...
Kerberos (Rebased #3417 )
2017-02-23 13:46:34 +01:00
Armin Novak
b905e0c26d
Fixed initialisation of kerberos context.
2017-02-23 11:06:47 +01:00
Martin Fleisz
eeae688ed3
core: Cleanup channel structs in close to allow instance reuse
2017-02-22 13:45:25 +01:00
Armin Novak
70baa6fe26
Added additional connect errors.
2017-02-22 09:50:59 +01:00
Armin Novak
363109c581
Using preloaded logger.
2017-02-22 09:42:56 +01:00
Armin Novak
1497b5654e
Using SSL defines instead of magic numbers.
2017-02-22 09:34:20 +01:00
David Fort
7b437178bb
Add a ClientCapabilities callback
...
This callback is called when the client capabilities have been received. This callback
appears to be more useful than the Capabilities one that is called just before the server
sends its capabilities.
2017-02-21 23:44:47 +01:00
David Fort
6894ed3af6
Dropped some warnings and fix code style
...
Dropped some warning that were caused by the DEBUG_CAPABILTIES define.
Also adjusted some lines that were quite ugly after the automatic truncation
to 80 characters.
2017-02-21 23:00:41 +01:00
Norbert Federa
43a4903e3d
Merge pull request #3795 from hardening/monitor_limit
...
Limit the number of client announced monitors
2017-02-21 17:35:57 +01:00
David Fort
59dafc2573
Added the spec reference for the 16 monitors limit
2017-02-21 15:03:00 +01:00
Martin Fleisz
0ed0ecb397
Merge pull request #3789 from akallabeth/scan_warning_fixes
...
Scanbuild warning and error fixes
2017-02-21 11:07:57 +01:00