Commit Graph

1658 Commits

Author SHA1 Message Date
Mads Kiilerich
93f0dad21b libfreerdp-core: don't add sec_bytes in fastpath_send_input_pdu
fastpath_input_pdu_init already reserved space for fastpath_get_sec_bytes()
which thus already was included in stream_get_length() in
fastpath_send_input_pdu(). Adding sec_bytes again just added extra invalid (but
correctly hashed/encrypted) bytes to the PDU.
2012-03-25 06:58:35 -05:00
Mads Kiilerich
c46cdaf3fb libfreerdp-core: fastpath_send_input_pdu can handle fastpath PDUs up to 32k 2012-03-25 06:58:35 -05:00
Anthony Tong
32aaa99541 libfreerdp-core: disable fp input if FIPS is negotiated 2012-03-25 06:57:16 -05:00
Pawel Jakub Dawidek
0a12057b1c If HOME environment variable is not configured, use / as home. Having NULL home_path will crash freerdp. 2012-03-25 06:56:32 -05:00
Asbjørn Heid
8139fdb392 xfreerdp-server: Fixed deadlock issue in event queue.
Writing to the pipe may block if the pipe is full. Holding the mutex while writing prevents listeners from
aquiring the mutex and unblocking the write. This leads to a deadlock situation.
2012-03-25 06:55:47 -05:00
Slava Dubrovskiy
967d14224e Fix not linked with libpulse (issue 418)
Signed-off-by: Slava Dubrovskiy <dubrsl@altlinux.org>
2012-03-25 06:55:14 -05:00
Pawel Jakub Dawidek
c8d961a55c Write fingerprint to proper descriptor. 2012-03-25 06:53:00 -05:00
Pawel Jakub Dawidek
9f744fc8d2 Advertise persistent bitmap cache only if it is enabled. 2012-03-25 06:46:00 -05:00
Marc-André Moreau
96dccad6fa libfreerdp-core: don't call freerdp_context_free() from freerdp_free() 2012-03-25 06:44:03 -05:00
Jay Sorg
45e5f5e713 libfreerdp-core: fix memory leaks and double free 2012-03-25 06:43:18 -05:00
Marc-André Moreau
8e627212a0 changelog: update for 1.0.1 2012-02-09 21:01:42 -05:00
Marc-André Moreau
fdfc817fb6 xfreerdp: fix segfault with --gdi sw on disconnect 2012-02-09 21:01:13 -05:00
Marc-André Moreau
8e88983a62 libfreerdp-utils: re-introduce free(NULL) check in xfree() 2012-02-09 20:32:08 -05:00
Marc-André Moreau
717b37fd48 channels/rdpdr: cleanup 2012-02-09 20:04:27 -05:00
Marc-André Moreau
7a6c813fcf libfreerdp-utils: extend plugin utils 2012-02-09 19:48:52 -05:00
Marc-André Moreau
aaaafcc4b7 libfreerdp-utils: improve freerdp_load_plugin 2012-02-09 17:48:30 -05:00
Marc-André Moreau
bffda2747b libfreerdp-channels: refactoring 2012-02-09 16:57:14 -05:00
Marc-André Moreau
549faa6d87 libfreerdp-gdi: optimize line drawing 2012-02-08 22:34:37 -05:00
Marc-André Moreau
c38c0f9001 libfreerdp-utils: fix file utils 2012-02-08 21:56:50 -05:00
Marc-André Moreau
2bde041788 wfreerdp: fix RemoteFX 2012-02-08 21:44:22 -05:00
Marc-André Moreau
66ebfb0e9f wfreerdp: fix compilation and warnings 2012-02-08 21:16:37 -05:00
Marc-André Moreau
caae69e980 libfreerdp-core: change source descriptor from MSTSC to FREERDP 2012-02-08 14:45:24 -05:00
Marc-André Moreau
9951cdce12 Merge pull request #408 from pjd/fixes
The fastpath header can be two or three bytes long. Check also for the latter case.
2012-02-08 07:29:11 -08:00
Pawel Jakub Dawidek
e73a525ad5 Move the comment into correct place. 2012-02-08 12:47:22 +01:00
Pawel Jakub Dawidek
e9f89af8a5 The fastpath header can be two or three bytes long. Check also the latter case. 2012-02-08 12:03:39 +01:00
Marc-André Moreau
58e08a7726 Merge pull request #407 from hcgpalm/master
Fix info_packet misalignment
2012-02-07 20:27:16 -08:00
Marc-André Moreau
0975c0f07e libfreerdp-core: improve error checking in certificate validation 2012-02-07 22:16:57 -05:00
Otavio Salvador
986890b8b9 Merge pull request #404 from pjd/server_slow_path_input
Implement server-side support for slow-path Input Event PDU.
2012-02-07 05:01:53 -08:00
Otavio Salvador
2f5ae364dc Merge pull request #403 from pjd/fixes
Modify the UnicodeKeyboardEvent callback to also include flags argument and simplify code by using per_read_length() instead of reimplementing it.
2012-02-07 05:00:49 -08:00
Pawel Jakub Dawidek
eb8c5c5f81 Implement server-side support for slow-path Input Event PDU. 2012-02-07 13:53:00 +01:00
Pawel Jakub Dawidek
1fa1331a54 Modify the UnicodeKeyboardEvent callback to also include flags argument.
According to the specification first two bytes contain keyboardFlags.
Those keyboardFlags are a bit different than in the regular (non-unicode)
Keyboard Event. There is no KBD_FLAGS_EXTENDED here and also when
key is pressed there is neither KBD_FLAGS_DOWN nor KBD_FLAGS_RELEASE flag
set. When key is released the KBD_FLAGS_RELEASE flag is set.
2012-02-07 12:22:01 +01:00
Pawel Jakub Dawidek
2ee9cc5e18 Simplify code by using per_read_length() instead of reimplementing it. 2012-02-07 11:16:47 +01:00
Marc-André Moreau
4117e71a79 Merge pull request #402 from pjd/disconnect
Graceful exit.
2012-02-06 18:31:27 -08:00
Pawel Jakub Dawidek
b75b5eb8a1 After DEACTIVATE ALL PDU server can send MCS Disconnect Provider Ultimatum PDU to disconnect.
Handle such condition and exit from xfreerdp gracefully (almost, exit status is still != 0).
2012-02-06 23:10:45 +01:00
Marc-André Moreau
e3d6e8782e Merge pull request #401 from pjd/fixes
Better length checking and Windows XP fix.
2012-02-06 13:42:47 -08:00
Pawel Jakub Dawidek
d6592a17a9 Windows XP can send short (and non-standard) DEACTIVATE_ALL PDUs. Handle them properly. 2012-02-06 22:39:43 +01:00
Pawel Jakub Dawidek
4a950cedd7 Better packet length checking. 2012-02-06 22:39:33 +01:00
Christer Palm
ded92bc9cd Fix password field length 2012-02-06 01:27:21 +01:00
Marc-André Moreau
b6ec892f27 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-04 18:18:54 -05:00
Marc-André Moreau
66cd849229 xfreerdp-server: improve XShm encoding 2012-02-04 18:18:46 -05:00
Marc-André Moreau
47de99062d libfreerdp-core: added --certificate-name option for explicitly specifying a certificate name 2012-02-04 15:16:41 -05:00
Marc-André Moreau
ffec1c2062 libfreerdp-core: improve and clarify certificate checking 2012-02-04 15:04:03 -05:00
Marc-André Moreau
7efe3c46e7 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2012-02-04 02:21:49 -05:00
Marc-André Moreau
4695faae38 libfreerdp-core: added check for certificate name against hostname 2012-02-04 02:21:39 -05:00
Marc-André Moreau
545ae8e4a7 Merge pull request #397 from NiKiZe/master
Remove duplicate xfree in cliprdr_process_format_list
2012-02-03 15:07:43 -08:00
Christian Nilsson
3c2997b352 Fix duplicate xfree on format_name->name, shuld resolve Issue #387 and #395 ? 2012-02-04 00:04:41 +01:00
Marc-André Moreau
c422c7477a Merge pull request #396 from celsius/master
remove redundant or useless (?) checks for NULL pointer
2012-02-03 07:59:35 -08:00
Marc-André Moreau
d0730c42e3 Merge pull request #394 from pjd/fixes
Plug memory leak in case of an empty file and terminate string with '\0'.
2012-02-03 07:49:38 -08:00
Alexis Moinet
5ca9a37f68 remove redundant if(NULL) checks (already checked inside of cache_free and rail_free)
Besides "ptr=NULL; free(ptr);" does nothing so no need to check for NULL in xfree()
2012-02-03 15:27:04 +01:00
Pawel Jakub Dawidek
1619b43781 Fix problem where we check errno even for status == 0. This way when connection was properly terminated, but errno had EAGAIN value from before, we looped idenfiniately. 2012-02-03 14:44:45 +01:00