mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[core,settings] do not check for NULL
TargetNet* values might be NULL on copy, do not assert them.
This commit is contained in:
@@ -1401,8 +1401,6 @@ static BOOL freerdp_settings_int_buffer_copy(rdpSettings* _settings, const rdpSe
|
||||
freerdp_settings_get_pointer_array(settings, FreeRDP_TargetNetAddresses, i);
|
||||
const UINT32* port =
|
||||
freerdp_settings_get_pointer_array(settings, FreeRDP_TargetNetPorts, i);
|
||||
WINPR_ASSERT(address);
|
||||
WINPR_ASSERT(port);
|
||||
|
||||
if (!freerdp_settings_set_pointer_array(_settings, FreeRDP_TargetNetAddresses, i, address))
|
||||
goto out_fail;
|
||||
|
||||
Reference in New Issue
Block a user