Marc-André Moreau
36cb1e6dc9
Merge pull request #2639 from awakecoding/master
...
WLog, server-side rdpdr, remote assistance, byteswap, etc
2015-05-22 14:30:11 -04:00
Marc-André Moreau
35e26020aa
freerdp: patch multiple leaks and OOM errors
2015-05-22 14:14:57 -04:00
Bernhard Miklautz
7a1485a2e4
Merge pull request #2638 from kwitaszczyk/master
...
Assign peer to settings when a new RDP module is being initialized.
2015-05-22 13:36:00 +02:00
Marc-André Moreau
5526348079
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2015-05-21 13:29:59 -04:00
Konrad Witaszczyk
8797eef9b9
Assign peer to settings when a new RDP module is being initialized.
2015-05-21 16:54:19 +02:00
Bernhard Miklautz
e6891b7a78
Merge pull request #2637 from nfedera/fix-shadow_client_context_cleanup
...
shadow/client context cleanup and unused vars fix
2015-05-21 16:21:09 +02:00
Marc-André Moreau
b9c1cddc2e
Merge pull request #2583 from bceverly/OpenBSD-cleanup
...
Two minor source code changes to remove warnings
2015-05-21 10:17:54 -04:00
Norbert Federa
535a4352a7
shadow/client context cleanup and unused vars fix
2015-05-21 16:05:05 +02:00
Norbert Federa
cd0a8e0506
Merge pull request #2630 from hardening/new_2616
...
Add checks for some XXX_New and XXX_Add functions
2015-05-21 16:04:26 +02:00
Hardening
58602c7d2e
Merge pull request #2632 from akallabeth/client_bandwidth_measurement_callback
...
Added client bandwidth measurement result callback.
2015-05-20 21:19:20 +02:00
David FORT
29d372480a
Take in account nfedera's review
2015-05-20 19:19:50 +02:00
Marc-André Moreau
7e1dbd505b
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP
...
Conflicts:
channels/rdpdr/server/rdpdr_main.c
2015-05-20 11:40:48 -04:00
Armin Novak
e239c10fb9
Added client bandwidth measurement result callback.
2015-05-20 16:18:55 +02:00
Marc-André Moreau
29d14773c8
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/Windows/wf_client.c
libfreerdp/common/assistance.c
2015-05-20 10:12:24 -04:00
Marc-André Moreau
05bc27e96d
Merge pull request #2633 from clivest/progressive_codec_new_surface_fix
...
Fix rounding error in progressive codec surface new
2015-05-20 09:41:18 -04:00
Clive Stevens
5528b152ec
Fix two cases of leaked regions in gdi/gfx
2015-05-20 12:35:24 +01:00
Clive Stevens
63ecb59681
Fix rounding error in progressive codec
...
The grid is composed of 64x64 blocks and should not be smaller
than the surface. If width or height were not a multiple of 64
the previous rounding resulted in a grid smaller than the surface.
2015-05-20 12:26:58 +01:00
Hardening
f8120919af
Add checks for some XXX_New and XXX_Add functions
...
Based on PR #2616
2015-05-18 11:28:00 +02:00
Norbert Federa
51b697d4c8
transport/mfreerdp: fix async transport
...
- handle WAIT_TIMEOUT result as error in async transport thread
if an INFINITE timeout was specified in WaitForMultipleObjects
- fix mfreerdp's async transport handling to not use
freerdp_get_event_handles/freerdp_check_event_handles if async
transport is activated
2015-05-14 21:57:16 +02:00
Norbert Federa
35c11c721e
gdi: fix nullification of instance->context->cache
2015-05-14 20:33:21 +02:00
Norbert Federa
e99b84ef02
transport: fixed multiple errors in async thread
2015-05-11 21:55:58 +02:00
MartinHaimberger
e3236c2317
Merge pull request #2605 from nfedera/fix-2015-05-08-01
...
fixed multiple missing gdi return value checks
2015-05-11 16:59:32 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Norbert Federa
71a4349928
fixed multiple missing gdi return value checks
...
mainly gdi_Create* functions
2015-05-08 21:39:23 +02:00
David FORT
acf13da91c
Return FALSE under Win32
2015-05-08 10:07:29 +02:00
David FORT
21d9ffcb8f
Test the number of listening handles
2015-05-08 10:05:39 +02:00
David FORT
fca4374919
Add the ability to have listener from an existing socket
2015-05-08 10:00:38 +02:00
Marc-André Moreau
30dd40e10a
wfreerdp: fix and improve remote assistance
2015-05-07 14:20:49 -04:00
Marc-André Moreau
87bb3aa6e0
wfreerdp: fix build
2015-05-07 13:35:39 -04:00
Hardening
a88adcbb7e
Merge pull request #2601 from nfedera/fix-2015-05-07-01
...
Fix some unchecked create calls
2015-05-07 19:06:59 +02:00
Norbert Federa
509230f6b1
Merge pull request #2598 from clivest/stream_leak_fix
...
Fix two cases of stream resource leak
2015-05-07 18:24:47 +02:00
David FORT
c330a3715e
Fix empty window title
...
When the size of a RAIL string was 0, we were reporting an OOM error.
2015-05-07 15:08:00 +02:00
Norbert Federa
f9f59cd29b
Fix unchecked CreateDirectory calls
2015-05-07 13:28:13 +02:00
Marc-André Moreau
6b1fefea40
freerdp: fix remote assistance mode, add multi-address connection
2015-05-06 16:32:45 -04:00
Clive Stevens
2e41c5425b
Fix whitespace
2015-05-06 15:54:23 +01:00
Clive Stevens
b06e50479e
Fix two cases of potentially leaked streams
2015-05-06 15:23:37 +01:00
Martin Fleisz
063c1bc806
Merge pull request #2592 from nfedera/fix-2015-05-05-01
...
Fix unchecked CreateThread calls and misc fixes
2015-05-06 10:16:26 +02:00
Bryan Everly
3b44bade4d
Removed unnecessary include file.
2015-05-05 12:35:18 -04:00
Bryan Everly
9865854f3c
Simplified random byte stream generation code to use SSL RAND_bytes() and also eliminated two more compiler warnings.
2015-05-05 12:33:44 -04:00
Marc-André Moreau
1de81c30a4
Merge pull request #2587 from floppym/armfix
...
Remove the ARM_FP_ABI option
2015-05-05 10:56:12 -04:00
Norbert Federa
25fc866a58
Fix unchecked CreateThread calls and misc fixes
2015-05-05 13:55:48 +02:00
Bryan Everly
6485e94395
Freed memory buffer that was allocated in previous commit.
2015-05-04 13:14:00 -04:00
Bryan Everly
f7db1aea9a
Fixed stream leak in modified code
2015-05-04 09:53:15 -04:00
Bryan Everly
a7e77dfced
Fixed unchecked malloc() error
2015-05-02 12:06:18 -04:00
Mike Gilbert
2355b54f85
Remove the ARM_FP_ABI option
...
It's unclear why this option would be necessary, and it causes problems
when people do not match it to their toolchain and CFLAGS.
To set the float abi, either use a toolchain with an appropriate default
or set the float-abi option in the CFLAGS environment variable.
This should resolve #2586 .
2015-05-01 17:35:21 -04:00
Bryan Everly
df9ae5e31b
Changed the xf_tsmf.c code to test for zero visible rectangles for all platforms. Modified arc4random() change to actually have a skeletal implementation in winpr for BCryptGenRandom() on all platforms.
2015-04-30 10:12:37 -04:00
Norbert Federa
ef1fd12b15
Fix unchecked CreateEvent calls and misc fixes
...
1)
Added missing checks for CreateEvent which also required the
following related changes:
- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL
2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.
3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.
4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers
5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +02:00
Bryan Everly
6ed90e831e
Fixed linker warning about insecure crypto and fixed compiler warning about unsigned being compared to less than zero
2015-04-28 10:50:29 -04:00
Jonathan Kaplan
8dee5dab27
Fix issue when numWindowIds is 0
2015-04-28 00:21:38 -07:00
Bernhard Miklautz
ff11057d49
gdi: fix problem with gdi_SelectObject check(s)
...
When a hdc is created no initial or default objects are created
therefore can the first call of gdi_SelectObject return NULL.
Because of this checking the return value of gdi_SelectObject failed
for newly create hdc causing errors (disconnects).
Since all types of HGDIOBJECT are handled and the return value of
gdi_SelectObject isn't used the recently added checks were removed
again.
2015-04-26 22:28:49 +02:00