platform/upstream/freerdp.git
7 years agoMerge pull request #4032 from blino/clipboard-build
David Fort [Wed, 5 Jul 2017 20:00:33 +0000 (22:00 +0200)]
Merge pull request #4032 from blino/clipboard-build

Fix clipboard POSIX build because of basename conflict

7 years agoFix clipboard POSIX build because of basename conflict
Olivier Blin [Mon, 3 Jul 2017 17:57:41 +0000 (19:57 +0200)]
Fix clipboard POSIX build because of basename conflict

FreeRDP/winpr/libwinpr/clipboard/posix.c:397:20: error: conflicting types for ‘basename’
 static const char* basename(const char* name)
                    ^
In file included from FreeRDP/winpr/include/winpr/collections.h:25:0,
                 from FreeRDP/winpr/libwinpr/clipboard/posix.c:37:
/usr/include/string.h:599:14: note: previous declaration of ‘basename’ was here
 extern char *basename (const char *__filename) __THROW __nonnull ((1));

7 years agoMerge pull request #4024 from bmiklautz/fix_4022
David Fort [Thu, 29 Jun 2017 09:55:55 +0000 (11:55 +0200)]
Merge pull request #4024 from bmiklautz/fix_4022

Fix a regression introduced with PR #4013

7 years agoFix a regression introduced with PR #4013
Bernhard Miklautz [Thu, 29 Jun 2017 09:24:36 +0000 (11:24 +0200)]
Fix a regression introduced with PR #4013

If numWindowRects/numVisibilityRects is zero a realloc might either
return NULL or a free able memory. In the first case the introduced
regression caused a double free.
As 0 is a possible value that can be received in both cases rail was
broken.

Fixes #4022

7 years agoMerge pull request #4008 from hardening/h264_split
Bernhard Miklautz [Thu, 29 Jun 2017 08:29:03 +0000 (10:29 +0200)]
Merge pull request #4008 from hardening/h264_split

Split h264 subsystems in different files

7 years agoMerge pull request #4013 from weizhenwei/master
David Fort [Fri, 23 Jun 2017 15:02:40 +0000 (17:02 +0200)]
Merge pull request #4013 from weizhenwei/master

fix FreeRDP some memory leak problem

7 years agocode format adjustment
weizhenwei [Fri, 23 Jun 2017 01:50:56 +0000 (09:50 +0800)]
code format adjustment

7 years agoremove redundant NULL pointer check
weizhenwei [Fri, 23 Jun 2017 01:44:40 +0000 (09:44 +0800)]
remove redundant NULL pointer check

7 years agoremove duplicate code when freeing drive
weizhenwei [Fri, 23 Jun 2017 01:28:42 +0000 (09:28 +0800)]
remove duplicate code when freeing drive

7 years agoremove useless NULL pointer check before free
weizhenwei [Fri, 23 Jun 2017 01:21:16 +0000 (09:21 +0800)]
remove useless NULL pointer check before free

7 years agoadd NULL pointer check and set freed pointers to NULL afterward
weizhenwei [Thu, 22 Jun 2017 09:53:51 +0000 (17:53 +0800)]
add NULL pointer check and set freed pointers to NULL afterward

7 years agorefactor to remove duplicate code and replace free+malloc with realloc
weizhenwei [Thu, 22 Jun 2017 02:21:20 +0000 (10:21 +0800)]
refactor to remove duplicate code and replace free+malloc with realloc

7 years agorefactor on redundant code copy
weizhenwei [Wed, 21 Jun 2017 14:07:07 +0000 (22:07 +0800)]
refactor on redundant code copy

7 years agofix compile error on win64.vs2010 platform
weizhenwei [Wed, 21 Jun 2017 07:43:41 +0000 (15:43 +0800)]
fix compile error on win64.vs2010 platform

7 years agofix memroy leak of window_icon->iconInfo at update_read_window_icon_order()
weizhenwei [Tue, 13 Jun 2017 09:12:20 +0000 (17:12 +0800)]
fix memroy leak of window_icon->iconInfo at update_read_window_icon_order()

7 years agofix memory leak of pKeys at xf_rail_invalidate_region()
weizhenwei [Tue, 13 Jun 2017 08:49:51 +0000 (16:49 +0800)]
fix memory leak of pKeys at xf_rail_invalidate_region()

7 years agofix memroy leak of fd at FindFirstFileW()
weizhenwei [Tue, 13 Jun 2017 08:46:37 +0000 (16:46 +0800)]
fix memroy leak of fd at FindFirstFileW()

7 years agofix memory leak at update->window->window_state.windowRects/visibilityRects at update...
weizhenwei [Tue, 13 Jun 2017 08:27:28 +0000 (16:27 +0800)]
fix memory leak at update->window->window_state.windowRects/visibilityRects at update_read_window_state_order()

7 years agofix memory leak at update->window->window_state.titleInfo.string at update_read_windo...
weizhenwei [Tue, 13 Jun 2017 08:08:20 +0000 (16:08 +0800)]
fix memory leak at update->window->window_state.titleInfo.string at update_read_window_state_order()

7 years agofix memory leak on rail_virtual_channel_event_data_received() -> StreamNew()
weizhenwei [Tue, 13 Jun 2017 07:51:14 +0000 (15:51 +0800)]
fix memory leak on rail_virtual_channel_event_data_received() -> StreamNew()

7 years agofix memory leak at drive_register_drive_path() and drive_free()
weizhenwei [Tue, 13 Jun 2017 07:26:01 +0000 (15:26 +0800)]
fix memory leak at drive_register_drive_path() and drive_free()

7 years agofix memory leak at rail_client_execute()
weizhenwei [Tue, 13 Jun 2017 07:16:09 +0000 (15:16 +0800)]
fix memory leak at rail_client_execute()

7 years agofix memroy leak on rail_recv_exec_result_order() execResult
weizhenwei [Tue, 13 Jun 2017 06:54:58 +0000 (14:54 +0800)]
fix memroy leak on rail_recv_exec_result_order() execResult

7 years agocode clean on free(update->window->monitored_desktop.windowIds);
weizhenwei [Tue, 13 Jun 2017 06:32:36 +0000 (14:32 +0800)]
code clean on free(update->window->monitored_desktop.windowIds);

7 years agofix memory leak on update->window->monitored_desktop.windowIds which is realloced...
weizhenwei [Fri, 9 Jun 2017 06:39:38 +0000 (14:39 +0800)]
fix memory leak on update->window->monitored_desktop.windowIds which is realloced at update_read_desktop_actively_monitored_order()

7 years agofix a memroy leak on rdpBitmap free
weizhenwei [Fri, 9 Jun 2017 02:31:00 +0000 (10:31 +0800)]
fix a memroy leak on rdpBitmap free

7 years agoFix openh264 backend compilation
David Fort [Tue, 20 Jun 2017 08:01:50 +0000 (10:01 +0200)]
Fix openh264 backend compilation

7 years agoFix variable declaration and win32 compilation
David Fort [Wed, 14 Jun 2017 14:14:19 +0000 (16:14 +0200)]
Fix variable declaration and win32 compilation

7 years agoSplit h264 subsystems in different files
David Fort [Wed, 14 Jun 2017 14:04:54 +0000 (16:04 +0200)]
Split h264 subsystems in different files

7 years agoMerge pull request #4003 from akallabeth/macos_mouse_wheel_shadow
David Fort [Wed, 14 Jun 2017 09:12:03 +0000 (11:12 +0200)]
Merge pull request #4003 from akallabeth/macos_mouse_wheel_shadow

Fixed shadow server mouse wheel mapping on MacOS

7 years agoFixed shadow server mouse wheel mapping on MacOS
Armin Novak [Tue, 13 Jun 2017 12:18:11 +0000 (14:18 +0200)]
Fixed shadow server mouse wheel mapping on MacOS

7 years agoMerge pull request #3989 from akallabeth/avc444_alignment_fix
David Fort [Sat, 10 Jun 2017 11:59:42 +0000 (13:59 +0200)]
Merge pull request #3989 from akallabeth/avc444_alignment_fix

Align width and height for AVC444 decoding to 16.

7 years agoMerge pull request #3996 from akallabeth/drive_size_fix
Martin Fleisz [Fri, 9 Jun 2017 11:33:07 +0000 (13:33 +0200)]
Merge pull request #3996 from akallabeth/drive_size_fix

Fix #3995: File size information

7 years agoFix #3995: File size information
Armin Novak [Fri, 9 Jun 2017 11:02:50 +0000 (13:02 +0200)]
Fix #3995: File size information

7 years agoMerge pull request #3905 from ilammy/x11-cliprdr/file-clipping
David Fort [Wed, 7 Jun 2017 19:20:34 +0000 (21:20 +0200)]
Merge pull request #3905 from ilammy/x11-cliprdr/file-clipping

Local-to-remote file clipping for xfreerdp

7 years agochannels/cliprdr: avoid possible integer overflow
ilammy [Thu, 1 Jun 2017 13:05:07 +0000 (16:05 +0300)]
channels/cliprdr: avoid possible integer overflow

If the server sends us garbage (or the client provides it) then it is
possible for the multiplication to overflow (as it is performed on
unsigned 32-bit values) which will result in a false positive failure of
the sanity check. Avoid it by rearranging arithmetics a little.

Keep the multiplication in the error message because we are interested
in the number of bytes in the stream and how it compares to the number
we have expected based on the presumed file count.

7 years agoAlign width and height for AVC444 decoding to 16.
Armin Novak [Thu, 1 Jun 2017 11:01:23 +0000 (13:01 +0200)]
Align width and height for AVC444 decoding to 16.

7 years agoMerge pull request #3987 from chipitsine/cppcheck
David Fort [Thu, 1 Jun 2017 08:06:42 +0000 (10:06 +0200)]
Merge pull request #3987 from chipitsine/cppcheck

resolve an issue found by cppcheck

7 years agoresolve an issue found by cppcheck:
Ilya Shipitsin [Wed, 31 May 2017 19:05:51 +0000 (00:05 +0500)]
resolve an issue found by cppcheck:

[libfreerdp/crypto/certificate.c:315] -> [libfreerdp/crypto/certificate.c:316]: (warning) Either the condition 'if(fingerprint&&fprint)' is redundant or there is possible null pointer dereference: fingerprint.

7 years agoMerge pull request #3969 from chipitsine/cppcheck
David Fort [Wed, 31 May 2017 14:48:12 +0000 (16:48 +0200)]
Merge pull request #3969 from chipitsine/cppcheck

resolve issue found by cppcheck

7 years agoMerge pull request #3986 from akallabeth/debug_fix
David Fort [Wed, 31 May 2017 10:02:31 +0000 (12:02 +0200)]
Merge pull request #3986 from akallabeth/debug_fix

Fixed missing external declaration (#3982)

7 years agoFixed missing external declaration (#3982)
Armin Novak [Wed, 31 May 2017 09:31:36 +0000 (11:31 +0200)]
Fixed missing external declaration (#3982)

7 years agoMerge pull request #3985 from ilammy/x11-cliprdr/fix-html
akallabeth [Wed, 31 May 2017 09:34:52 +0000 (11:34 +0200)]
Merge pull request #3985 from ilammy/x11-cliprdr/fix-html

Do not fixup HTML data length

7 years agoresolve an issue found by cppcheck:
Ilya Shipitsin [Wed, 31 May 2017 09:32:59 +0000 (14:32 +0500)]
resolve an issue found by cppcheck:

[channels/tsmf/client/tsmf_main.c:89] -> [channels/tsmf/client/tsmf_main.c:95]: (warning) Either the condition '!callback' is redundant or there is possible null pointer dereference: callback.

7 years agoclient/X11: do not fixup HTML data length
ilammy [Sun, 28 May 2017 21:10:16 +0000 (00:10 +0300)]
client/X11: do not fixup HTML data length

The data provided by local applications can be actually encoded in
UTF-16 (e.g., Firefox does this to HTML). UTF-16 allows embedded null
bytes so we should not use strlen() to fix up the data. The HTML format
synthesizer can handle trailing null bytes just fine and can detect
whether it deals with UTF-8 or UTF-16.

7 years agoMerge pull request #3980 from uplusplus/patch-5
akallabeth [Tue, 30 May 2017 07:20:30 +0000 (09:20 +0200)]
Merge pull request #3980 from uplusplus/patch-5

fixed issue:#3974

7 years agofixed issue:#3974
joy.you [Sat, 27 May 2017 08:10:41 +0000 (16:10 +0800)]
fixed issue:#3974

ConvertToUnicode failed

7 years agowinpr/file: add missing NULL check
ilammy [Wed, 24 May 2017 20:19:39 +0000 (23:19 +0300)]
winpr/file: add missing NULL check

ValidFileNameComponent() has been missing a NULL check for its argument.
It's pretty obvious that NULL is not a valid file name component.

7 years agowClipboard: drop WITH_DEBUG_WCLIPBOARD option
ilammy [Wed, 24 May 2017 20:14:31 +0000 (23:14 +0300)]
wClipboard: drop WITH_DEBUG_WCLIPBOARD option

This preprocessor definition has been initially intended to disable some
computationally expensive logging, however it turned out that there is
not much computation involved in the resulting implementation of new
wClipboard subsystems. Therefore we do not actually need the compilation
option, the logs can be filtered by "com.winpr.wclipboard.*" tag at
runtime if necessary. So drop the WITH_DEBUG_WCLIPBOARD CMake option and
convert all detailed logs to use WLOG_TRACE level via WLog_VRB macro.

7 years agox11/cliprdr: make callbacks static
ilammy [Wed, 24 May 2017 20:05:42 +0000 (23:05 +0300)]
x11/cliprdr: make callbacks static

Most of the functions is this file are internal-use callbacks so they do
not need to be exported from the compilation unit. Mark functions static
as appropriate.

7 years agoMerge pull request #3906 from akallabeth/addin_cast_fix
David Fort [Mon, 22 May 2017 09:12:05 +0000 (11:12 +0200)]
Merge pull request #3906 from akallabeth/addin_cast_fix

Addin cast fix

7 years agoMerge pull request #3963 from akallabeth/qoe_ack
David Fort [Mon, 22 May 2017 09:10:03 +0000 (11:10 +0200)]
Merge pull request #3963 from akallabeth/qoe_ack

Added client RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU

7 years agoMerge pull request #3967 from akallabeth/sec_encrypt_fix
David Fort [Mon, 22 May 2017 09:08:32 +0000 (11:08 +0200)]
Merge pull request #3967 from akallabeth/sec_encrypt_fix

SEC_ENCRYPT check in rdp_client_connect_auto_detect

7 years agoMerge pull request #3965 from akallabeth/drive_fixes_unicode
David Fort [Mon, 22 May 2017 09:08:10 +0000 (11:08 +0200)]
Merge pull request #3965 from akallabeth/drive_fixes_unicode

Drive fixes unicode

7 years agoMerge pull request #3966 from davewheel/ntlm_getHash
David Fort [Mon, 22 May 2017 09:07:21 +0000 (11:07 +0200)]
Merge pull request #3966 from davewheel/ntlm_getHash

Add a callback to provide NTLM hashes on server-side

7 years agoAdd a callback to provide NTLM hashes on server-side
davewheel [Mon, 15 May 2017 16:52:39 +0000 (18:52 +0200)]
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)

7 years agoAdded setting for QoeAck.
Armin Novak [Thu, 18 May 2017 12:05:41 +0000 (14:05 +0200)]
Added setting for QoeAck.

7 years agoAdded client RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU
Armin Novak [Wed, 17 May 2017 08:27:25 +0000 (10:27 +0200)]
Added client RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU

7 years agoMerge pull request #3964 from akallabeth/update_reset_state_fix
Martin Fleisz [Thu, 18 May 2017 07:49:36 +0000 (09:49 +0200)]
Merge pull request #3964 from akallabeth/update_reset_state_fix

Update reset state fix

7 years agoFixed path length check.
Armin Novak [Thu, 18 May 2017 07:43:02 +0000 (09:43 +0200)]
Fixed path length check.

7 years agoFix #3962: Remove trailing slashes from path.
Armin Novak [Wed, 17 May 2017 14:43:16 +0000 (16:43 +0200)]
Fix #3962: Remove trailing slashes from path.

7 years agoUse unicode constants for WCHAR
Armin Novak [Wed, 17 May 2017 14:17:16 +0000 (16:17 +0200)]
Use unicode constants for WCHAR

7 years agoFixed missing state reset.
Armin Novak [Wed, 17 May 2017 13:58:44 +0000 (15:58 +0200)]
Fixed missing state reset.

7 years agoFixed missing argument checks.
Armin Novak [Wed, 17 May 2017 13:58:32 +0000 (15:58 +0200)]
Fixed missing argument checks.

7 years agoMerge pull request #3957 from akallabeth/gfx_use_logger_instance
Martin Fleisz [Tue, 16 May 2017 07:37:49 +0000 (09:37 +0200)]
Merge pull request #3957 from akallabeth/gfx_use_logger_instance

Use a preallocated logger instance for GFX

7 years agoUse a preallocated logger instance for GFX
Armin Novak [Mon, 15 May 2017 15:24:47 +0000 (17:24 +0200)]
Use a preallocated logger instance for GFX

The static logger functions of WLog have quite a heavy performance
penalty. Use a pointer to an allocated logger to speed things up.

7 years agoMerge pull request #3942 from akallabeth/shift_warn_fix
David Fort [Mon, 15 May 2017 11:56:07 +0000 (13:56 +0200)]
Merge pull request #3942 from akallabeth/shift_warn_fix

Fixed right shift on 32bit platforms.

7 years agoSEC_ENCRYPT check in rdp_client_connect_auto_detect
Armin Novak [Mon, 15 May 2017 11:10:10 +0000 (13:10 +0200)]
SEC_ENCRYPT check in rdp_client_connect_auto_detect

Fix by @wizwizaco for #3951

7 years agoMerge pull request #3953 from hardening/kill_warnings
akallabeth [Mon, 15 May 2017 09:54:57 +0000 (11:54 +0200)]
Merge pull request #3953 from hardening/kill_warnings

Drop some annoying warning

7 years agoDrop some annoying warning
David Fort [Fri, 12 May 2017 09:11:41 +0000 (11:11 +0200)]
Drop some annoying warning

Probably that some unused functions should be removed, but at least it makes
it compile with no warnings.

7 years agoMerge pull request #3952 from akallabeth/set_keyboard_ime
David Fort [Fri, 12 May 2017 08:23:08 +0000 (10:23 +0200)]
Merge pull request #3952 from akallabeth/set_keyboard_ime

Added support for Set Keyboard IME Status

7 years agoMerge pull request #3950 from hypherion2/cp_fixes
akallabeth [Fri, 12 May 2017 07:51:17 +0000 (09:51 +0200)]
Merge pull request #3950 from hypherion2/cp_fixes

Fix handle leaks in encomsp and remdesk server

7 years agoAdded support for Set Keyboard IME Status
Armin Novak [Fri, 12 May 2017 07:43:58 +0000 (09:43 +0200)]
Added support for Set Keyboard IME Status

7 years agoFix handle leaks in encomsp and remdesk server
Adrian A [Thu, 11 May 2017 20:21:47 +0000 (13:21 -0700)]
Fix handle leaks in encomsp and remdesk server

Ensure proper thread cleanup when these channel servers are stopped.

7 years agoMerge pull request #3949 from akallabeth/gdi_surface_crash_fix
Martin Fleisz [Thu, 11 May 2017 11:59:00 +0000 (13:59 +0200)]
Merge pull request #3949 from akallabeth/gdi_surface_crash_fix

Check arguments for Bitmap_SetSurface

7 years agoMerge pull request #3948 from hypherion2/master
David Fort [Thu, 11 May 2017 11:49:06 +0000 (13:49 +0200)]
Merge pull request #3948 from hypherion2/master

Remove library prefix override for rdpei-server

7 years agoCheck arguments for Bitmap_SetSurface
Armin Novak [Thu, 11 May 2017 11:34:37 +0000 (13:34 +0200)]
Check arguments for Bitmap_SetSurface

The function may be called during connection phase
where there is no valid GDI available.

7 years agoMerge pull request #3947 from akallabeth/openh264_fixes
David Fort [Wed, 10 May 2017 19:22:18 +0000 (21:22 +0200)]
Merge pull request #3947 from akallabeth/openh264_fixes

Openh264 fixes

7 years agoRemove library prefix override for rdpei-server
Adrian A [Wed, 10 May 2017 16:56:37 +0000 (09:56 -0700)]
Remove library prefix override for rdpei-server

This library was missed in commit
059374457d801351d02ac81badb4aabbfa7689e7, so it was the only one that
stilll had a lib prefix

7 years agoAdded 64bit file support flag for linux.
Armin Novak [Wed, 10 May 2017 12:37:03 +0000 (14:37 +0200)]
Added 64bit file support flag for linux.

7 years agoInitialize H264 context size for GFX surfaces.
Armin Novak [Wed, 10 May 2017 10:36:08 +0000 (12:36 +0200)]
Initialize H264 context size for GFX surfaces.

7 years agoAdded pkg-config to cmake OpenH264 detection.
Armin Novak [Wed, 10 May 2017 10:35:20 +0000 (12:35 +0200)]
Added pkg-config to cmake OpenH264 detection.

7 years agoMerge pull request #3937 from hardening/h264_multimon
akallabeth [Tue, 9 May 2017 09:16:12 +0000 (11:16 +0200)]
Merge pull request #3937 from hardening/h264_multimon

Fix h264 in multimon scenario

7 years agoMerge pull request #3931 from hypherion2/master
Bernhard Miklautz [Tue, 9 May 2017 07:42:20 +0000 (09:42 +0200)]
Merge pull request #3931 from hypherion2/master

Remove unused buffer in Mac shadow subsystem

7 years agoMerge pull request #3943 from chipitsine/cppcheck
akallabeth [Mon, 8 May 2017 14:28:58 +0000 (16:28 +0200)]
Merge pull request #3943 from chipitsine/cppcheck

resolve an issue identified by cppcheck:

7 years agoMerge pull request #3941 from mfleisz/fix_openh264_mt
akallabeth [Mon, 8 May 2017 08:17:27 +0000 (10:17 +0200)]
Merge pull request #3941 from mfleisz/fix_openh264_mt

codec: Fix multi-threading support for OpenH264 1.6 or later

7 years agoresolve an issue identified by cppcheck:
Ilya Shipitsin [Fri, 5 May 2017 19:05:59 +0000 (00:05 +0500)]
resolve an issue identified by cppcheck:

[channels/urbdrc/client/libusb/libusb_udevice.c:1666] -> [channels/urbdrc/client/libusb/libusb_udevice.c:1661]: (warning) Either the condition 'request' is redundant or there is possible null pointer dereference: request.

7 years agocodec: Fix multi-threading support for OpenH264 1.6 or later
Martin Fleisz [Fri, 5 May 2017 10:37:27 +0000 (12:37 +0200)]
codec: Fix multi-threading support for OpenH264 1.6 or later

7 years agoMerge pull request #3924 from akallabeth/gfx_surface_area_update_callback
Martin Fleisz [Thu, 4 May 2017 08:53:50 +0000 (10:53 +0200)]
Merge pull request #3924 from akallabeth/gfx_surface_area_update_callback

Added a GFX area update callback.

7 years agoFixed right shift on 32bit platforms.
Armin Novak [Thu, 4 May 2017 07:20:10 +0000 (09:20 +0200)]
Fixed right shift on 32bit platforms.

7 years agoMerge pull request #3930 from realjiangms/fix_shadow_thread_leak
akallabeth [Wed, 3 May 2017 13:39:40 +0000 (15:39 +0200)]
Merge pull request #3930 from realjiangms/fix_shadow_thread_leak

server/shadow: close the thread handle so that it is detached because…

7 years agoAdded missing callbacks.
Armin Novak [Tue, 25 Apr 2017 11:58:23 +0000 (13:58 +0200)]
Added missing callbacks.

7 years agoMerge pull request #3938 from chipitsine/cppcheck
Bernhard Miklautz [Wed, 3 May 2017 07:28:18 +0000 (09:28 +0200)]
Merge pull request #3938 from chipitsine/cppcheck

resolve an issue identified by cppcheck:

7 years agoFixed use after free of region.
Armin Novak [Wed, 19 Apr 2017 12:43:06 +0000 (14:43 +0200)]
Fixed use after free of region.

7 years agoAdded a GFX area update callback.
Armin Novak [Wed, 19 Apr 2017 11:00:26 +0000 (13:00 +0200)]
Added a GFX area update callback.

7 years agoresolve an issue identified by cppcheck:
Ilya Shipitsin [Tue, 2 May 2017 20:32:44 +0000 (01:32 +0500)]
resolve an issue identified by cppcheck:

[server/shadow/X11/x11_shadow.c:386] -> [server/shadow/X11/x11_shadow.c:390]: (warning) Either the condition '!subsystem' is redundant or there is possible null pointer dereference: subsystem.
[server/shadow/X11/x11_shadow.c:387] -> [server/shadow/X11/x11_shadow.c:390]: (warning) Either the condition '!subsystem' is redundant or there is possible null pointer dereference: subsystem.

7 years agoFixed progressive code style and added error handling
David Fort [Tue, 2 May 2017 16:39:03 +0000 (18:39 +0200)]
Fixed progressive code style and added error handling

7 years agoFix H264 in multi monitor case
David Fort [Mon, 1 May 2017 20:39:52 +0000 (22:39 +0200)]
Fix H264 in multi monitor case

The H264 context is surface specific, so in multi-monitor (with multiple surfaces)
the decoding was failing. This patch fixes that by introducing a surface specific
h264 context.

7 years agoMerge pull request #3932 from chipitsine/cppcheck
Martin Fleisz [Tue, 2 May 2017 14:10:34 +0000 (16:10 +0200)]
Merge pull request #3932 from chipitsine/cppcheck

resolve issues identified by cppcheck

7 years agoMerge pull request #3911 from akallabeth/avc444_v2
David Fort [Tue, 2 May 2017 14:02:21 +0000 (16:02 +0200)]
Merge pull request #3911 from akallabeth/avc444_v2

Added AVC444v2 client support.