FreeBSD Bugzilla – Attachment 53724 Details for
Bug 81267
[MAINTAINER] security/openvpn: plug socket (file descriptor) leak
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
openvpn-2.0_1.patch
openvpn-2.0_1.patch (text/plain), 1.80 KB, created by
Matthias Andree
on 2005-05-19 16:50:06 UTC
(
hide
)
Description:
openvpn-2.0_1.patch
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2005-05-19 16:50:06 UTC
Size:
1.80 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/security/openvpn/Makefile /root/ports/security/openvpn/Makefile >--- /usr/ports/security/openvpn/Makefile Sat Apr 23 11:29:38 2005 >+++ /root/ports/security/openvpn/Makefile Thu May 19 17:18:56 2005 >@@ -7,6 +7,7 @@ > > PORTNAME= openvpn > DISTVERSION= 2.0 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= http://openvpn.net/release/ > >diff -ruN --exclude=CVS /usr/ports/security/openvpn/files/patch-route.c /root/ports/security/openvpn/files/patch-route.c >--- /usr/ports/security/openvpn/files/patch-route.c Thu Jan 1 01:00:00 1970 >+++ /root/ports/security/openvpn/files/patch-route.c Thu May 19 17:14:10 2005 >@@ -0,0 +1,50 @@ >+--- route.c.orig Mon Apr 11 05:43:56 2005 >++++ route.c Mon May 16 21:13:41 2005 >+@@ -1380,6 +1380,7 @@ >+ { >+ warn("writing to routing socket"); >+ gc_free (&gc); >++ close(s); >+ return false; >+ } >+ >+@@ -1387,6 +1388,7 @@ >+ l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg)); >+ } while (l > 0 && (rtm.rtm_seq != seq || rtm.rtm_pid != pid)); >+ >++ close(s); >+ >+ rtm_aux = &rtm; >+ >+@@ -1535,6 +1537,7 @@ >+ { >+ msg (M_WARN, "ROUTE: problem writing to routing socket"); >+ gc_free (&gc); >++ close(s); >+ return false; >+ } >+ >+@@ -1542,6 +1545,7 @@ >+ l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg)); >+ } while (l > 0 && (rtm.rtm_seq != seq || rtm.rtm_pid != pid)); >+ >++ close(s); >+ >+ rtm_aux = &rtm; >+ >+@@ -1690,6 +1694,7 @@ >+ { >+ warn("writing to routing socket"); >+ gc_free (&gc); >++ close(s); >+ return false; >+ } >+ >+@@ -1697,6 +1702,7 @@ >+ l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg)); >+ } while (l > 0 && (rtm.rtm_seq != seq || rtm.rtm_pid != pid)); >+ >++ close(s); >+ >+ rtm_aux = &rtm; >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81267
: 53724