Attention is currently required from: Arne Schwabe.

Hello Arne Schwabe,

I'd like you to do a code review.
Please visit

    https://gerrit.openvpn.net/c/openvpn/+/2104?usp=email

to review the following change.


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]>
---
M src/openvpn/proxy.c
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/04/2104/1

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: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I88ea70e88c3ec133261210e0404f324bbf025d9b
Gerrit-Change-Number: 2104
Gerrit-PatchSet: 1
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to