platform/upstream/freerdp.git
4 years agoFix #5910: USB hotplug added device wrong
Armin Novak [Wed, 26 Feb 2020 11:24:25 +0000 (12:24 +0100)]
Fix #5910: USB hotplug added device wrong

When a USB device was added via hotplug add_device was called
with wrong arguments.

4 years agoMerge pull request #5931 from akallabeth/rpm_nightly_fix
David Fort [Mon, 2 Mar 2020 08:09:15 +0000 (09:09 +0100)]
Merge pull request #5931 from akallabeth/rpm_nightly_fix

Disable GSS/KRB5 support

4 years agoDisable GSS/KRB5 support
Armin Novak [Mon, 2 Mar 2020 07:43:59 +0000 (08:43 +0100)]
Disable GSS/KRB5 support

Kerberos support in FreeRDP is not working, deactivate it. Fixes #5930

4 years agoFix possible NULL pointer access crash
Martin Fleisz [Fri, 28 Feb 2020 10:22:36 +0000 (11:22 +0100)]
Fix possible NULL pointer access crash

4 years agoUpdated CMake channel detection
Armin Novak [Thu, 27 Feb 2020 15:54:17 +0000 (16:54 +0100)]
Updated CMake channel detection

* Now both, dynamic and static channel entries can be defined by
  a single channel.
* Added better logging to distinguish between static and dynamic
  channel messages.

4 years agoAdd dynamic channel part for rdpsnd channel
Martin Fleisz [Thu, 27 Feb 2020 11:12:20 +0000 (12:12 +0100)]
Add dynamic channel part for rdpsnd channel

4 years agoMerge pull request #5920 from akallabeth/rdpsnd_crash_fix
Martin Fleisz [Fri, 28 Feb 2020 10:50:40 +0000 (11:50 +0100)]
Merge pull request #5920 from akallabeth/rdpsnd_crash_fix

Fix #5885: Check for division by zero

4 years agoMerge pull request #5922 from akallabeth/channel_drdynvc_fi
Martin Fleisz [Fri, 28 Feb 2020 08:55:29 +0000 (09:55 +0100)]
Merge pull request #5922 from akallabeth/channel_drdynvc_fi

Replaced CMake list find with loop to fix build issues.

4 years agofix FindFFmpeg.cmake: locating avcodec not using pkgconfig variable
Mark Karpeles [Thu, 27 Feb 2020 15:21:29 +0000 (00:21 +0900)]
fix FindFFmpeg.cmake: locating avcodec not using pkgconfig variable

4 years agoFix #5885: Check for division by zero
Armin Novak [Thu, 27 Feb 2020 09:10:04 +0000 (10:10 +0100)]
Fix #5885: Check for division by zero

4 years agoReplaced CMake list find with loop to fix build issues.
Armin Novak [Thu, 27 Feb 2020 10:18:54 +0000 (11:18 +0100)]
Replaced CMake list find with loop to fix build issues.

4 years agoMerge pull request #5921 from akallabeth/nightly_optimise
Bernhard Miklautz [Thu, 27 Feb 2020 09:29:29 +0000 (10:29 +0100)]
Merge pull request #5921 from akallabeth/nightly_optimise

Revert to RelWithDebInfo for debian.

4 years agoRevert to RelWithDebInfo for debian.
Armin Novak [Thu, 27 Feb 2020 08:39:09 +0000 (09:39 +0100)]
Revert to RelWithDebInfo for debian.

4 years agoMerge pull request #5907 from akallabeth/cmake_channel_dependency_fix
Martin Fleisz [Wed, 26 Feb 2020 15:18:46 +0000 (16:18 +0100)]
Merge pull request #5907 from akallabeth/cmake_channel_dependency_fix

Cmake channel dependency fix

4 years agoDeactivated URBDRC for mac and windows builds.
Armin Novak [Wed, 26 Feb 2020 13:35:45 +0000 (14:35 +0100)]
Deactivated URBDRC for mac and windows builds.

4 years agoMerge pull request #5915 from akallabeth/gfx_versions
Martin Fleisz [Wed, 26 Feb 2020 13:48:41 +0000 (14:48 +0100)]
Merge pull request #5915 from akallabeth/gfx_versions

Updated RDPGFX_CAPVERSION_106 according to errata 2018-12-10

4 years agoMerge pull request #5906 from akallabeth/tsmf_disable_for_good
Martin Fleisz [Wed, 26 Feb 2020 13:41:46 +0000 (14:41 +0100)]
Merge pull request #5906 from akallabeth/tsmf_disable_for_good

Made CHANNEL_TSMF optional and deprecated.

4 years agoUpdated RDPGFX_CAPVERSION_106 according to errata 2018-12-10
Armin Novak [Wed, 26 Feb 2020 13:09:53 +0000 (14:09 +0100)]
Updated RDPGFX_CAPVERSION_106 according to errata 2018-12-10

4 years agoegfx: the gfx reset grahics pdu is optional
Norbert Federa [Wed, 26 Feb 2020 11:24:21 +0000 (12:24 +0100)]
egfx: the gfx reset grahics pdu is optional

Since the EGFX Reset Graphics PDU seems to be optional,
the graphicsReset variable (which is updated in that PDU's handler)
should be removed from the rdp_gdi struct with the next change
in public headers (as in freerdp v3).
There are still some clients that expect and check it and therefore
we keep it for now, initialized with TRUE.

sdas

4 years agoMade CHANNEL_TSMF optional and deprecated.
Armin Novak [Tue, 25 Feb 2020 14:21:16 +0000 (15:21 +0100)]
Made CHANNEL_TSMF optional and deprecated.

4 years agoDeactivate USB redirection for IOS and ANDROID by default.
Armin Novak [Wed, 26 Feb 2020 12:53:25 +0000 (13:53 +0100)]
Deactivate USB redirection for IOS and ANDROID by default.

4 years agoDo not advertise /usb in help output if the channel is not built
Ondrej Holy [Wed, 26 Feb 2020 10:12:46 +0000 (11:12 +0100)]
Do not advertise /usb in help output if the channel is not built

The help output advertise an option and an example for usb redirection
regardless of the fact whether the urbdrc channel was built or not.
This is confusing for people. Let's do not show /usb in help if it is
not built.

4 years agoserver: proxy: client: change ClientFree->ContextFree
Kobi Mizrachi [Mon, 3 Feb 2020 08:44:25 +0000 (10:44 +0200)]
server: proxy: client: change ClientFree->ContextFree

4 years agoserver: proxy: support static vc passthrough
Kobi Mizrachi [Sun, 2 Feb 2020 13:15:28 +0000 (15:15 +0200)]
server: proxy: support static vc passthrough

4 years agocore: channels: add API to get channel name/id
Kobi Mizrachi [Sun, 2 Feb 2020 13:01:38 +0000 (15:01 +0200)]
core: channels: add API to get channel name/id

4 years agodrdynvc: reorder filepaths when adding channels
Armin Novak [Tue, 25 Feb 2020 16:36:26 +0000 (17:36 +0100)]
drdynvc: reorder filepaths when adding channels

4 years agoPromoted usb, printer and smartcard dependencies to recommended
Armin Novak [Tue, 25 Feb 2020 15:38:31 +0000 (16:38 +0100)]
Promoted usb, printer and smartcard dependencies to recommended

4 years agoFixed CMake channel dependencies for variables.
Armin Novak [Tue, 25 Feb 2020 15:17:47 +0000 (16:17 +0100)]
Fixed CMake channel dependencies for variables.

4 years agoMerge pull request #5905 from akallabeth/pulse_audin_fix
Martin Fleisz [Tue, 25 Feb 2020 14:56:07 +0000 (15:56 +0100)]
Merge pull request #5905 from akallabeth/pulse_audin_fix

audin pulse log states by name

4 years agoaudin pulse log states by name
Armin Novak [Tue, 25 Feb 2020 10:29:09 +0000 (11:29 +0100)]
audin pulse log states by name

4 years agoMerge pull request #5707 from akallabeth/kbd_codepage
Martin Fleisz [Tue, 25 Feb 2020 13:50:51 +0000 (14:50 +0100)]
Merge pull request #5707 from akallabeth/kbd_codepage

Added KeyboardCodePage option

4 years agoUpdated RDP_KEYBOARD_LAYOUT_TABLE
Armin Novak [Mon, 24 Feb 2020 11:28:11 +0000 (12:28 +0100)]
Updated RDP_KEYBOARD_LAYOUT_TABLE

Regenerated with new fetch_language_identifiers.py, less manual
postprocessing required.

4 years agoFixed keyboard lang struct generation
Armin Novak [Mon, 24 Feb 2020 11:12:26 +0000 (12:12 +0100)]
Fixed keyboard lang struct generation

* Fixed length hex strings
* Fill in missing elements with last valid

4 years agoAdded keyboard language codepages and listing option
Armin Novak [Fri, 8 Nov 2019 14:42:05 +0000 (15:42 +0100)]
Added keyboard language codepages and listing option

4 years agoMerge pull request #5732 from akallabeth/floatbar_button_fix
Martin Fleisz [Fri, 21 Feb 2020 10:36:49 +0000 (11:36 +0100)]
Merge pull request #5732 from akallabeth/floatbar_button_fix

Fixed #5730: Decoupled floatbar button focus from click events.

4 years agoMerge pull request #5901 from nfedera/add_connstate_active_timeout
Martin Fleisz [Fri, 21 Feb 2020 08:05:47 +0000 (09:05 +0100)]
Merge pull request #5901 from nfedera/add_connstate_active_timeout

core: fix endless loops waiting for activation

4 years agocore: fix endless loops waiting for activation
Norbert Federa [Thu, 20 Feb 2020 16:26:27 +0000 (17:26 +0100)]
core: fix endless loops waiting for activation

There are two loops polling the transport pdu receiver in non-blocking mode
when waiting for reaching CONNECTION_STATE_ACTIVE rdp state.

In case of an invalid pdu size in the tpkt header this leaded to an endless
loop, utilizing 100% of a cpu core.

Added a sleep and limited the max loop time to the tcp ack timout value.

4 years agoMerge pull request #5899 from akallabeth/respect_abort_connect
Martin Fleisz [Thu, 20 Feb 2020 07:32:50 +0000 (08:32 +0100)]
Merge pull request #5899 from akallabeth/respect_abort_connect

End connection before user callbacks if aborted.

4 years agoEnd connection before user callbacks if aborted.
Armin Novak [Wed, 19 Feb 2020 15:44:42 +0000 (16:44 +0100)]
End connection before user callbacks if aborted.

If somewhere in freerdp_connect freerdp_abort_connect was called
the user callbacks Authenticate, GatewayAuthenticate and
Verify[Changed|X509]Certificate[Ex] must not be called.

4 years agoMerge pull request #5898 from akallabeth/timezone_update_20200219
Martin Fleisz [Wed, 19 Feb 2020 15:03:54 +0000 (16:03 +0100)]
Merge pull request #5898 from akallabeth/timezone_update_20200219

Updated timezones 2020-02-19

4 years agoUpdated timezones 2020-02-19
Armin Novak [Wed, 19 Feb 2020 14:24:16 +0000 (15:24 +0100)]
Updated timezones 2020-02-19

4 years agoMerge pull request #5896 from akallabeth/cast_warning_fixes
Martin Fleisz [Wed, 19 Feb 2020 09:54:02 +0000 (10:54 +0100)]
Merge pull request #5896 from akallabeth/cast_warning_fixes

Fixed #5895: cast warnings.

4 years agoMerge pull request #5897 from akallabeth/flatpak_update
Martin Fleisz [Wed, 19 Feb 2020 09:50:41 +0000 (10:50 +0100)]
Merge pull request #5897 from akallabeth/flatpak_update

Updated flatpak build manifest

4 years agoUpdated flatpak build manifest
Armin Novak [Wed, 19 Feb 2020 09:28:46 +0000 (10:28 +0100)]
Updated flatpak build manifest

* Use platform 19.08
* Remove shared-modules, no longer required (udev is now part of the
platform)
* Switch PCSC source to github to avoid rate limitations.

4 years agoFixed #5895: cast warnings.
Armin Novak [Wed, 19 Feb 2020 09:09:32 +0000 (10:09 +0100)]
Fixed #5895: cast warnings.

4 years agoFixed #5889: Only add descriptors wanted to select
Armin Novak [Tue, 18 Feb 2020 10:54:28 +0000 (11:54 +0100)]
Fixed #5889: Only add descriptors wanted to select

4 years agoFix markup
Sergey Bronnikov [Tue, 18 Feb 2020 11:52:42 +0000 (14:52 +0300)]
Fix markup

4 years agoMerge pull request #5890 from akallabeth/sample_client_install
Martin Fleisz [Tue, 18 Feb 2020 10:14:58 +0000 (11:14 +0100)]
Merge pull request #5890 from akallabeth/sample_client_install

Install sample client binary.

4 years agoFix channel linking for built in channels
Armin Novak [Tue, 3 Dec 2019 13:51:13 +0000 (14:51 +0100)]
Fix channel linking for built in channels

4 years agoAdded some callbacks to dynamic channel
Armin Novak [Tue, 3 Dec 2019 13:50:07 +0000 (14:50 +0100)]
Added some callbacks to dynamic channel

* Allow listener removal of channel during runtime
* Allow retrieval of channel name

4 years agoworking progressive Original Method DWT
Armin Novak [Mon, 16 Dec 2019 07:34:42 +0000 (08:34 +0100)]
working progressive Original Method DWT

Implemented decoding utilizing Original Method DWT
(See [MS-RDPEGFX] 3.2.8.1.2.2 Reduce-Extrapolate Method)

4 years agoRefactored progressive codec.
Armin Novak [Tue, 10 Dec 2019 15:19:20 +0000 (16:19 +0100)]
Refactored progressive codec.

4 years agoInstall sample client binary.
Armin Novak [Tue, 18 Feb 2020 10:02:43 +0000 (11:02 +0100)]
Install sample client binary.

4 years agoclient: remove unused variable
Sergey Bronnikov [Mon, 17 Feb 2020 11:22:56 +0000 (14:22 +0300)]
client: remove unused variable

4 years agoMerge pull request #5885 from llyzs/rdpsnd_overrun
Martin Fleisz [Sat, 15 Feb 2020 18:25:40 +0000 (19:25 +0100)]
Merge pull request #5885 from llyzs/rdpsnd_overrun

rdpsnd: implement buffer overrun detection.

4 years agordpsnd: implement buffer overrun detection.
Vic Lee [Fri, 14 Feb 2020 12:48:04 +0000 (20:48 +0800)]
rdpsnd: implement buffer overrun detection.

4 years agoMerge pull request #5881 from akallabeth/win_disable_console
David Fort [Thu, 13 Feb 2020 15:12:50 +0000 (16:12 +0100)]
Merge pull request #5881 from akallabeth/win_disable_console

Disable windows console attach.

4 years agoMerge pull request #5882 from akallabeth/sample_auth_only
Bernhard Miklautz [Thu, 13 Feb 2020 14:39:27 +0000 (15:39 +0100)]
Merge pull request #5882 from akallabeth/sample_auth_only

Added /auth-only option to sample client.

4 years agoAdded /auth-only option to samle client.
Armin Novak [Thu, 13 Feb 2020 07:26:21 +0000 (08:26 +0100)]
Added /auth-only option to samle client.

In #5814 the option to use a connection test was expressed.
Adding this option to the sample client allows doing that without
X11 or similar around.

4 years agoDisable windows console attach.
Armin Novak [Wed, 12 Feb 2020 14:45:19 +0000 (15:45 +0100)]
Disable windows console attach.

4 years agoMerge pull request #5857 from akallabeth/scanbuild_fixes
Martin Fleisz [Wed, 12 Feb 2020 09:16:54 +0000 (10:16 +0100)]
Merge pull request #5857 from akallabeth/scanbuild_fixes

Scanbuild fixes

4 years agoMerge pull request #5877 from akallabeth/urbdrc_export_symbol_fix
Martin Fleisz [Tue, 11 Feb 2020 11:58:10 +0000 (12:58 +0100)]
Merge pull request #5877 from akallabeth/urbdrc_export_symbol_fix

Urbdrc export symbol fix

4 years agoExporting URBDRC symbols used by helper library
Armin Novak [Tue, 11 Feb 2020 11:41:07 +0000 (12:41 +0100)]
Exporting URBDRC symbols used by helper library

When building the usb channel with different shared libraries some
necessary symbols were not exported.

4 years agoMerge pull request #5875 from akallabeth/smartcard_missing_null_check
David Fort [Mon, 10 Feb 2020 13:57:46 +0000 (14:57 +0100)]
Merge pull request #5875 from akallabeth/smartcard_missing_null_check

Fix #5847: Missing length check to trace smartcard buffers.

4 years agocore: server: fix a bad free in channel->queue cleanup
Kobi Mizrachi [Tue, 4 Feb 2020 12:51:47 +0000 (14:51 +0200)]
core: server: fix a bad free in channel->queue cleanup

4 years agoFix #5847: Missing length check to trace smartcard buffers.
Armin Novak [Mon, 10 Feb 2020 13:28:38 +0000 (14:28 +0100)]
Fix #5847: Missing length check to trace smartcard buffers.

4 years agoMerge pull request #5865 from akallabeth/write_cancelled_leak
Martin Fleisz [Mon, 10 Feb 2020 11:08:55 +0000 (12:08 +0100)]
Merge pull request #5865 from akallabeth/write_cancelled_leak

Fix #5852: handle CHANNEL_EVENT_WRITE_CANCELLED

4 years agoMerge pull request #5869 from llyzs/winmm_fixes
Martin Fleisz [Mon, 10 Feb 2020 09:40:55 +0000 (10:40 +0100)]
Merge pull request #5869 from llyzs/winmm_fixes

rdpsnd/winmm: fix some memory issues.

4 years agoserver: proxy: improve logs
Kobi Mizrachi [Tue, 28 Jan 2020 13:36:21 +0000 (15:36 +0200)]
server: proxy: improve logs

4 years agoMerge pull request #5830 from akallabeth/smartcard_updates
David Fort [Fri, 7 Feb 2020 13:11:00 +0000 (14:11 +0100)]
Merge pull request #5830 from akallabeth/smartcard_updates

Smartcard updates

4 years agordpsnd/winmm: fix some memory issues.
Vic Lee [Tue, 4 Feb 2020 09:56:07 +0000 (17:56 +0800)]
rdpsnd/winmm: fix some memory issues.

4 years agoFix #5852: handle CHANNEL_EVENT_WRITE_CANCELLED
Armin Novak [Wed, 29 Jan 2020 07:52:25 +0000 (08:52 +0100)]
Fix #5852: handle CHANNEL_EVENT_WRITE_CANCELLED

When channels are cleaned up OpenHandle is most of the time
already 0. Ignore the argument checks for
CHANNEL_EVENT_WRITE_CANCELLED and CHANNEL_EVENT_WRITE_COMPLETE
only check where actually required (CHANNEL_EVENT_DATA_RECEIVED)

4 years agoFreeRDP_WTSVirtualChannelOpen unify channel new/free
Armin Novak [Thu, 16 Jan 2020 10:31:13 +0000 (11:31 +0100)]
FreeRDP_WTSVirtualChannelOpen unify channel new/free

4 years agoserver: make sure all messages in channel->queue are freed when queue is freed
Kobi Mizrachi [Thu, 16 Jan 2020 09:25:43 +0000 (11:25 +0200)]
server: make sure all messages in channel->queue are freed when queue is freed

4 years agoserver: proxy: show indicative log on bind failure.
Kobi Mizrachi [Mon, 27 Jan 2020 06:23:28 +0000 (08:23 +0200)]
server: proxy: show indicative log on bind failure.

4 years agoAdded unified NDR pointer reading.
Armin Novak [Fri, 24 Jan 2020 12:41:27 +0000 (13:41 +0100)]
Added unified NDR pointer reading.

4 years agoFixed missing length checks for smartcard IRP read.
Armin Novak [Fri, 24 Jan 2020 12:23:40 +0000 (13:23 +0100)]
Fixed missing length checks for smartcard IRP read.

4 years agoMerge pull request #5859 from mfleisz/multi_trans_fix
Martin Fleisz [Thu, 23 Jan 2020 14:39:28 +0000 (15:39 +0100)]
Merge pull request #5859 from mfleisz/multi_trans_fix

core: Always send CS_MULTITRANSPORT PDU to server

4 years agocore: Always send CS_MULTITRANSPORT PDU to server
Martin Fleisz [Thu, 23 Jan 2020 14:16:14 +0000 (15:16 +0100)]
core: Always send CS_MULTITRANSPORT PDU to server

This PDU is required by Microsoft servers in order for bandwidth
management to work correctly. Even if we do not support multi-transport
for now we should just send a PDU with flags set to 0 to enable correct
handing of bandwidth measurement PDUs.

4 years agoFixed rdpei unused function warning.
Armin Novak [Thu, 23 Jan 2020 09:50:37 +0000 (10:50 +0100)]
Fixed rdpei unused function warning.

4 years agoFixed smartcard type mismatches.
Armin Novak [Thu, 23 Jan 2020 09:39:43 +0000 (10:39 +0100)]
Fixed smartcard type mismatches.

4 years agoFixed type of index variables.
Armin Novak [Thu, 23 Jan 2020 08:21:22 +0000 (09:21 +0100)]
Fixed type of index variables.

4 years agoFixed type of index variable.
Armin Novak [Thu, 23 Jan 2020 08:21:06 +0000 (09:21 +0100)]
Fixed type of index variable.

4 years agoFixed unused variable warning.
Armin Novak [Thu, 23 Jan 2020 08:20:33 +0000 (09:20 +0100)]
Fixed unused variable warning.

4 years agoFixed copy of opaque data
Armin Novak [Thu, 23 Jan 2020 08:20:08 +0000 (09:20 +0100)]
Fixed copy of opaque data

do not use strcncpy for opaque data.

4 years agoFixed unused argument warnings.
Armin Novak [Thu, 23 Jan 2020 08:19:48 +0000 (09:19 +0100)]
Fixed unused argument warnings.

4 years agoAdded NULL checks to silence clang-scanbuild.
Armin Novak [Thu, 23 Jan 2020 08:09:35 +0000 (09:09 +0100)]
Added NULL checks to silence clang-scanbuild.

4 years agoFixed NULL dereference.
Armin Novak [Thu, 23 Jan 2020 08:06:19 +0000 (09:06 +0100)]
Fixed NULL dereference.

4 years agoFixed NULL dereference.
Armin Novak [Thu, 23 Jan 2020 07:55:47 +0000 (08:55 +0100)]
Fixed NULL dereference.

4 years agoFixed NULL dereference.
Armin Novak [Thu, 23 Jan 2020 07:53:40 +0000 (08:53 +0100)]
Fixed NULL dereference.

4 years agoUnified smartcart multistring conversion.
Armin Novak [Thu, 23 Jan 2020 09:07:54 +0000 (10:07 +0100)]
Unified smartcart multistring conversion.

4 years agoFixed type mismatches on allocation.
Armin Novak [Thu, 23 Jan 2020 08:48:20 +0000 (09:48 +0100)]
Fixed type mismatches on allocation.

4 years agoFixed smartcard_SetAttrib_Decode call type
Armin Novak [Thu, 23 Jan 2020 08:32:34 +0000 (09:32 +0100)]
Fixed smartcard_SetAttrib_Decode call type

4 years agoMerge pull request #5856 from akallabeth/neon_ycocg
Martin Fleisz [Thu, 23 Jan 2020 07:30:11 +0000 (08:30 +0100)]
Merge pull request #5856 from akallabeth/neon_ycocg

Fixed #5855: YCoCg to RGB conversion color order

4 years agoFixed #5855: YCoCg to RGB conversion color order
Armin Novak [Wed, 22 Jan 2020 16:28:22 +0000 (17:28 +0100)]
Fixed #5855: YCoCg to RGB conversion color order

4 years agocore: Fix and extend populate rdp file from settings
Martin Fleisz [Wed, 22 Jan 2020 12:13:51 +0000 (13:13 +0100)]
core: Fix and extend populate rdp file from settings

This PR contains the following changes:
- Get rid of unused SettingsModified array (kept in the settings struct for ABI
compatibility)
- Fix and extend freerdp_client_populate_rdp_file_form_settings (wrote <null> strings to the rdp file, missed a lot of settings)
- Set KeyboardHook default value to 2 (hook in fullscreen) just as mstsc
does

4 years agoserver: proxy: specify which modules to load in config
Kobi Mizrachi [Tue, 21 Jan 2020 12:56:49 +0000 (14:56 +0200)]
server: proxy: specify which modules to load in config

4 years agocmdline: export CommandLineParseCommaSeparatedValues
Kobi Mizrachi [Tue, 21 Jan 2020 12:55:55 +0000 (14:55 +0200)]
cmdline: export CommandLineParseCommaSeparatedValues

4 years agoMerge pull request #5851 from akallabeth/multi_disconnect_crash_fix
Martin Fleisz [Tue, 21 Jan 2020 14:19:10 +0000 (15:19 +0100)]
Merge pull request #5851 from akallabeth/multi_disconnect_crash_fix

Fixed missing NULL set of pointer after free

4 years agoFixed missing NULL set of pointer after free
Armin Novak [Tue, 21 Jan 2020 13:40:33 +0000 (14:40 +0100)]
Fixed missing NULL set of pointer after free

Due to this double free was possible if disconnect_and_clear was
called multiple times.