]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix socks_proxy_port pointing to invalid data
authorThomas Veerman via Openvpn-devel <openvpn-devel@lists.sourceforge.net>
Fri, 7 Jul 2017 19:59:41 +0000 (21:59 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Tue, 15 Aug 2017 19:58:38 +0000 (21:58 +0200)
commit76a61caa3e46987344fb9a0b3dfbd81582a0ad64
tree1b9e508c20a1e21146270b37540a800cb7d7a2d5
parente3da00918d2dd99c116f6da1a14a2a73b72829f4
Fix socks_proxy_port pointing to invalid data

When setting the SOCKS proxy through the management interface, the
socks_proxy_port pointer would be set to a value that's no longer valid
by the time it's used by do_preresolve_host.

Signed-off-by: Thomas Veerman <thomas.veerman@wanwire.net>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20170707195941.61773-1-thomas.veerman@wanwire.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15018.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
(cherry picked from commit aa9d3a5bdc5a1b395d37fbb8abb3ed6166856a1a)
src/openvpn/init.c