Gert Doering has submitted this change. ( 
https://gerrit.openvpn.net/c/openvpn/+/2104?usp=email )

Change subject: proxy: free proxy_authenticate in http_proxy_close()
......................................................................

proxy: free proxy_authenticate in http_proxy_close()

The Digest challenge stored by store_proxy_authenticate() was never
freed when the proxy info was released.

Reported-by: hz86 https://github.com/OpenVPN/openvpn/issues/1134

GitHub: closes OpenVPN/openvpn#1134
Change-Id: I88ea70e88c3ec133261210e0404f324bbf025d9b
Signed-off-by: Razvan Cojocaru <[email protected]>
Acked-by: Frank Lichtenheld <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2104
Message-Id: <[email protected]>
URL: 
https://www.mail-archive.com/[email protected]/msg40569.html
Signed-off-by: Gert Doering <[email protected]>
---
M src/openvpn/proxy.c
1 file changed, 4 insertions(+), 0 deletions(-)




diff --git a/src/openvpn/proxy.c b/src/openvpn/proxy.c
index c3ad7de..7b5a289 100644
--- a/src/openvpn/proxy.c
+++ b/src/openvpn/proxy.c
@@ -523,6 +523,10 @@
 void
 http_proxy_close(struct http_proxy_info *hp)
 {
+    if (hp)
+    {
+        free(hp->proxy_authenticate);
+    }
     free(hp);
 }


--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2104?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I88ea70e88c3ec133261210e0404f324bbf025d9b
Gerrit-Change-Number: 2104
Gerrit-PatchSet: 2
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to