15 lines
495 B
Plaintext
15 lines
495 B
Plaintext
$OpenBSD: patch-ssl_c,v 1.1 2012/01/16 22:58:54 sthen Exp $
|
|
|
|
Fix potential crash when processing libproxy results. 88f79b upstream
|
|
|
|
--- ssl.c.orig Thu Jan 12 09:37:48 2012
|
|
+++ ssl.c Thu Jan 12 09:38:10 2012
|
|
@@ -932,6 +932,7 @@ int openconnect_open_https(struct openconnect_info *vp
|
|
proxies = px_proxy_factory_get_proxies(vpninfo->proxy_factory,
|
|
url);
|
|
|
|
+ i = 0;
|
|
while (proxies && proxies[i]) {
|
|
if (!vpninfo->proxy &&
|
|
(!strncmp(proxies[i], "http://", 7) ||
|