Merge pull request #6658 from akallabeth/proxy_port
Fixed #6656: invalid read of proxy port.
This commit is contained in:
commit
f9693c188f
@ -90,7 +90,7 @@ BOOL proxy_prepare(rdpSettings* settings, const char** lpPeerHostname, UINT16* l
|
||||
if (freerdp_settings_get_uint32(settings, FreeRDP_ProxyType) != PROXY_TYPE_NONE)
|
||||
{
|
||||
*lpPeerHostname = freerdp_settings_get_string(settings, FreeRDP_ProxyHostname);
|
||||
*lpPeerPort = freerdp_settings_get_uint32(settings, FreeRDP_ProxyPort);
|
||||
*lpPeerPort = freerdp_settings_get_uint16(settings, FreeRDP_ProxyPort);
|
||||
*lpProxyUsername = freerdp_settings_get_string(settings, FreeRDP_ProxyUsername);
|
||||
*lpProxyPassword = freerdp_settings_get_string(settings, FreeRDP_ProxyPassword);
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user