FreeBSD Bugzilla – Attachment 192558 Details for
Bug 227551
[patch]security/openssh-portable 7.7.p1_1,1 tunnel forwarding broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
openbsd-compat_port-net.patch (text/plain), 1008 bytes, created by
Ivan Rozhuk
on 2018-04-16 13:02:40 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2018-04-16 13:02:40 UTC
Size:
1008 bytes
patch
obsolete
>Index: /usr/ports/security/openssh-portable/files/patch-openbsd-compat_port-net.c >=================================================================== >--- /usr/ports/security/openssh-portable/files/patch-openbsd-compat_port-net.c (nonexistent) >+++ /usr/ports/security/openssh-portable/files/patch-openbsd-compat_port-net.c (working copy) >@@ -0,0 +1,21 @@ >+--- openbsd-compat/port-net.c >++++ openbsd-compat/port-net.c >+@@ -185,7 +185,7 @@ sys_tun_open(int tun, int mode, char **ifname) >+ else >+ debug("%s: %s mode %d fd %d", __func__, ifr.ifr_name, mode, fd); >+ >+- if (ifname != NULL && (*ifname = strdup(ifr.ifr_name))) >++ if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL) >+ goto failed; >+ >+ return (fd); >+@@ -272,7 +272,7 @@ sys_tun_open(int tun, int mode, char **ifname) >+ goto failed; >+ } >+ >+- if (ifname != NULL && (*ifname = strdup(ifr.ifr_name))) >++ if (ifname != NULL && (*ifname = strdup(ifr.ifr_name)) == NULL) >+ goto failed; >+ >+ close(sock); >+
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 227551
: 192558