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
Jakub Adam
2e4948c38c
Make remdesk_virtual_channel_write() static
...
The function with the same name is defined in multiple libraries
(libfreerdp-shadow.so, libfreerdp-server.so), which might confuse
the dynamic linker at runtime, binding a wrong version of the function
and thus causing segmentation faults.
Since remdesk_virtual_channel_write()s aren't used outside the files
they are defined in, we can declare them static to make them invisible
to the linker.
2015-05-20 08:10:41 +02:00
David FORT
f8d6eb226c
Fixed last VirtualChannelEntry
2015-05-19 13:56:48 +02:00
David FORT
6fb3f390a0
Fixed functions that return BOOLs
2015-05-19 13:48:57 +02:00
Bernhard Miklautz
1810656199
Merge pull request #2627 from nfedera/fix-x11-polyregion
...
client/x11: fix + simplify invalidate_poly_region
2015-05-19 11:07:42 +02:00
Norbert Federa
4d661fdb35
client/x11: fix + simplify invalidate_poly_region
2015-05-19 01:13:40 +02:00
Marc-André Moreau
9c8745bc1c
Merge pull request #2624 from kwitaszczyk/master
...
QueryContextAttributes shouldn't return an error when a user or a domain is empty.
2015-05-18 08:55:48 -04:00
Bernhard Miklautz
d922afc24a
smartcard: fix compiler warnings
...
gcc 4.7.2:
warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from
pointer target type
2015-05-18 11:36:31 +02: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
Konrad Witaszczyk
29d3b0bebb
QueryContextAttributes shouldn't return an error when a user or a domain
...
is empty.
2015-05-18 09:42:17 +02:00
Hardening
0067241d5e
Merge pull request #2623 from nfedera/fix-xfclient-if-semicolons
...
client/x11: fixed if statements with empty body
2015-05-17 21:40:38 +02:00
Norbert Federa
1b5abec683
client/x11: fixed if statements with empty body
2015-05-17 18:24:11 +02:00
Marc-André Moreau
0f959b2619
Merge pull request #2622 from kwitaszczyk/master
...
Pass valid context to CompleteAuthToken function in Negotiate Security Package.
2015-05-15 08:37:10 -04:00
Konrad Witaszczyk
95f9e6a641
Pass valid context to CompleteAuthToken function in Negotiate Security Package.
2015-05-15 13:02:40 +02:00
Bernhard Miklautz
ded9ce527b
Merge pull request #2621 from nfedera/fix-mac-async-transport
...
transport/mfreerdp: fix async transport
2015-05-15 11:59:12 +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
Hardening
7220e34b5b
Merge pull request #2620 from nfedera/fix-gdi-cache
...
gdi: fix nullification of instance->context->cache
2015-05-14 21:13:12 +02:00
Norbert Federa
35c11c721e
gdi: fix nullification of instance->context->cache
2015-05-14 20:33:21 +02:00
Hardening
f219d341f1
Merge pull request #2611 from nfedera/fix-async-transport-thread
...
transport: fixed multiple errors in async thread
2015-05-13 08:24:35 +02:00
Hardening
75634d460f
Merge pull request #2613 from oshogbo/gethostname
...
At least at FreeBSD - the gethostname(3) function can fail.
2015-05-12 16:18:08 +02:00
Hardening
a0a3eedb21
Merge pull request #2612 from oshogbo/style
...
Function return bool, so lets return FALSE if 0 or TRUE if 1.
2015-05-12 15:45:55 +02:00
Mariusz Zaborski
401152f357
At least at FreeBSD - the gethostname(3) function can fail.
...
Check returned value.
2015-05-12 15:43:38 +02:00
Mariusz Zaborski
b8c5da138d
Function return bool, so lets return FALSE if 0 or TRUE if 1.
2015-05-12 15:40:28 +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
MartinHaimberger
692df124c6
Merge pull request #2607 from nfedera/remove_free_null_checks
...
free can handle NULL perfectly fine
2015-05-11 10:14:30 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
zihao.jiang
85dd90d817
shadow fix multi-client hang
...
Merge from commit d4df3a952b
Conflicts:
server/shadow/shadow_subsystem.c
2015-05-11 00:04:07 +08:00
Norbert Federa
71a4349928
fixed multiple missing gdi return value checks
...
mainly gdi_Create* functions
2015-05-08 21:39:23 +02:00
Bernhard Miklautz
d4df3a952b
Merge pull request #2594 from baruchsiach/fix-math-2
...
Don't disable C99 long double math on non Unix platforms
2015-05-08 13:44:26 +02:00
Norbert Federa
9fe7ad2878
Merge pull request #2577 from hardening/listen_from_socket
...
Add the ability to have listener from an existing socket
2015-05-08 11:17:33 +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
Bernhard Miklautz
81568ff03a
Merge pull request #2596 from akallabeth/wlog_default_out_fix
...
Wlog console output to stderr
2015-05-08 00:49:41 +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
b9771f8a44
Merge pull request #2597 from clivest/bitstream_read_fix
...
Fix bitstream reading bounds check
2015-05-07 18:42:15 +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
Norbert Federa
b2dcde35ee
Merge pull request #2599 from hardening/fix_wayland_colors
...
Fix colors with the wayland client
2015-05-07 18:15:01 +02:00
Norbert Federa
e290e55554
Merge pull request #2603 from hardening/rail_empty_title_fix
...
Fix empty window title
2015-05-07 18:13:09 +02:00
Norbert Federa
525ae6c561
Merge pull request #2604 from hardening/rail_fix
...
Fix remoteApps
2015-05-07 18:11:38 +02:00
Norbert Federa
82843f0700
server/shadow: added missing error message
2015-05-07 17:42:01 +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
David FORT
0e2925d0b8
Fix remoteApps
...
The assert that have been removed were preventing RAIL from working when you
have an intermediary screen before seeing the application.
2015-05-07 14:36:07 +02:00
Norbert Federa
f9f59cd29b
Fix unchecked CreateDirectory calls
2015-05-07 13:28:13 +02:00
Norbert Federa
e3fb908686
Fix unchecked CreateSemaphore calls
2015-05-07 13:28:03 +02:00
Norbert Federa
c77def3048
Fix unchecked CreateMutex calls
2015-05-07 13:27:49 +02:00